Good day, I was able to setup a payment gateway using an API call. But now i am struggling with getting the confirmation that payment has gone through from user, which would then create an order document.
The API doc from the payment gateway provided me with the parameter option 'successUrl', I tried placing a page on the app on the successUrl so that on the same page, I can create a 'on load' action to create an order. However, upon testing the redirect to that page, i am getting 'page not found', in one instance, where I used a 'https' link of the page ( from web browser), the user would be logged out from the app on redirect, and the document wouldn't 'create'.
Could you please suggest a solution with this?