New Shopify Certification now available: Liquid Storefronts for Theme Developers

Error "Payment session doesn't exist." for Payments App Mutations

Shopify Partner
3 0 0

Receiving "Payment session doesn't exist." for some random cases when paymentSessionResolve and paymentSessionReject mutations are invoked in Payments apps api. The sessions are valid and received while testing a new payment app implementation.

Doing payments on a Development store using test mode. Attaching an example for both scenario.

If someone has encountered this issue and has a solution it'll be very helpful if you can share.

Replies 2 (2)
2 0 0

@Akhil_Thakur please check the graphql URL that use from shopify to request for the `paymentSessionResolve` or `paymentsAppConfigure`.

I too faced this issue and I changed the URL as mentioned in the document for the payment sessions.
The URL you can watch is in this link paymentSessionResolve .

Attaching a picture with URL highlighted as well.

Shopify Partner
3 0 0


Thank you for your reply Rushi, i am using that url only. And getting this error for some random cases not for all sessions.