Hi. Can you please assist us. We are currently experiencing the following error when a user cancels checkout on the payments app page and decides to retry completing the order.
Screen Recording of the issue: https://www.loom.com/share/188fc43e54da4e2fac6858ff9c2925bd
When the user cancels we are redirecting the user back to the cancel_url provided in the original payments initiation request based on this documentation https://shopify.dev/apps/payments/processing-a-payment. With our HPSDK implementation the customer can still complete the order even after initially cancelling it.
We would like to know if what we are experiencing the new expected behaviour for payment apps?
We have tested our old version of shopify and a post is sent if you try checkout again, so this new behaviour is different.
Hey, I am facing a similar issue. After redirection to cancel_url, I was hoping User will be be allowed to reinitiate the payment with our app. But Shopify doesn't make another `transaction/initiation` call.
Any solutions to this @ShopifyTeam
We implemented cancel based on the above link. And after redirecting to Cancel_url & if we retry the payment, shopify is not initiating new payment request. Due to this we are not able to proceed with payment after the cancel.
Ensure that you are not calling any graphQl endpoint to either resolve/reject. Due to a bug we were rejecting the transaction before calling cancel_url. We fixed that and after that on redirecting to cancel_url User was taken back to checkout page with no errors shown to user. Once User clicks on our payment mode again, the same response is used by Shopify Server that they received in initial transaction/initiate call. So Idempotency is also maintained.
Thank you for the response will try to handle the same.
Do you have any input on MTLS configuration for payment app? If yes, please share the steps.
It would be of great help.