I have integrated My newly created Payment App with One test store, facing issue in cancel Order scenario,
-
Customer selects Payflex as an Payment option at store
-
For payment processing customer is redirected from Shopify store to Payment Processing Site
-
Now at payflex ( payment provider ) portals customer cancels the payment and redirected back to Shopify
-
Now customer is trying to make payment again without updating the cart,
-
Now instead of placing a new order Shopify Redirects USER to old redirect URL
same URL which was provided first time
no mater how many times customer cancels the order
it will redirect URL to same URL not pa]lacing new order and no new URL generated
redirect URL is generated after initiating a payment
but after cancelation, payment URL is not called and customer redirected to the same URL till he updates the cart
https://shopify.dev/apps/payments/processing-a-payment#initiate-the-payment-flow
I am taking abt this step