Cross Domain Payment Gateway Transaction
Hi Everyone !! I thought to rephrase the above issue to make it easier to understand
Transaction Flow REQUEST
Step 1 When user performs payment transaction, User is directed from Merchant site (Domain 1) to Payment Gateway Site (Domain 2).
Step 2 At payment gateway site user selects Bank for making payments. User is then directed to Bank POP-UP Window (Domain 3) The current Payment Gateway page refreshes to verify if transaction is complete via direct channel.
Step 3 Once user authorizes transaction at Bank Window (Domain 3). Bank window sends payment response via browser redirection to Payment Gateway.
[RESPONSE] Step 4 Payment gateway is expected to process instruction and display status on the same tab window on which it is showing refresh status to customer
Step 5 Payment gateway displays transaction status on the Payment Gateway refresh page
ISSUE During request cycle Payment Gateway Page opens on top of Merchant Page and in a same tab as it should. The refresh page also is displayed in the same tab window. But the response (say R) from Bank (Domain 3) after being processed by Payment Channel (Domain 2) is displayed in a new tab instead on top of Refresh page.
Hence the user ends up seeing 2 pages 1. Transaction refresh page 2. Payment Gateway response page
instead of only Payment Gateway response page
On other browsers like IE and Google Chrome the user sees only one response page i.e Payment Gateway Response page.