Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

Cancel_Url issue on Payment App - backend API call not happening

Cancel_Url issue on Payment App - backend API call not happening

znelson
Shopify Partner
2 0 0

Upon redirecting a customer to the cancel_url, Shopify is no longer making the backend API call to establish a new  payment session. Did this change recently? We are not calling paymentSessionReject which would cause this problem and we haven't seen this behavior before.

Reply 1 (1)

znelson
Shopify Partner
2 0 0

Looks like the ShopifyTransaction.ShopifyPaymentRequest.PaymentMethod.Data.CancelUrl.AbsoluteUri differs between all Shops we've used for testing including our Prod Shop, and our customer's Prod Shop. The latter has a CancelUrl with a different format and it looks like just the cart url itself, not an actual cancellation url, e.g. it doesn't contain "cn" and "/processing", etc. So the backend system doesn't know there's a cancellation and never calls our backend for a new processing URL and SessionId. 

 

No idea why this is or how to resolve. And we're Live in Production.