Hello All,
I am implementing a new payment gateway. Here I have to follow 2 steps
1. Create an order via payment gateway API, which will send us the authToken on successful Order creation which is valid for 30 minutes.
2. Now with this AuthToken, I need to launch that payment gateway SDK, for which I need to redirect the user to a new custom view with the response model (containing authToken). The view will contain the required JS file references to launch the payment gateway SDK to complete the payment.
Once that view is opened, the user can able to make a payment. Once payment is done, I will receive a response back with the order Id and transaction response. Then I need to redirect the user to other views with Order details.
I have finished step 1 and received a response back from the payment gateway with authToken. Appreciate your help on how to redirect the user to a new custom view with the token I received.
Thanks,