We did custom payment gateway integration in our Snipcart integration. After successful payment we are receiving the URL with payment-session id and it redirected to order detail page.
In this whole process, don’t know how to get the OrderId. As we have to show our custom order detail page (we don’t want to redirect to snipcart order detail page) with other captured information for which we need the OrderId.
Is there any way to get the OrderId in custom payment gateway integration process?