Hi all,
I'm developing a Gateway for payment with credit card (I modified the AspDotNetStorefrontGateways class adding the new class for the new Gateway).
This Gateway uses the POST method and when is called opens several pages asking for the credit card data of the customer. When finishes the transaction OK reply to a defined URL with the response data.
All works fine, from the ProcessCard function my class opens the pages of the bank and the payment operation works ok.
But the problem is that the transaction in the store doesn't finishes and the products are not sold.
We tried to redirect as OK URL to the http://www.ourcustomer.com/Tienda/Checkout/tabid/85/screen/orderconfirmation/ordernumber/" & OrderNumber & "/paymentmethod/CREDITCARD/Default.aspx"
But we are retrieving the error that the order number doesn't exists.
I presume that when the ProcessCard function opens the bank page, the nomal execution flow of the store is truncated and doesn't finishes the operation. Is possible?
We used the System.Web.HttpContext.Current.Response.End() to send the html POST to the bank. It opens the page of the bank but after that we can't return to the store and finish the transaction.
Any help please?