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

Akhil_Thakur
New Member
2 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.

Reply 1 (1)
rushi-kamble
New Member
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.