Shopify/shopify-app-template-node

Error when confirming a payment in the Shopify API.

Closed this issue · 1 comments

I am encountering the following error:

{
	"data": {
		"paymentSessionResolve": {
			"paymentSession": null,
			"userErrors": [
				{
					"field": [
						"id"
					],
					"message": "Payment session has already been resolved with a different authentication, has already been rejected, or the response to start_payment_session request has not been received."
				}
			]
		}
	},
	"extensions": {
		"cost": {
			"requestedQueryCost": 13,
			"actualQueryCost": 10,
			"throttleStatus": {
				"maximumAvailable": 1092000.0,
				"currentlyAvailable": 1091990,
				"restoreRate": 54600.0
			}
		}
	}
}

I saw that it could involve an issue with online and offline tokens, but I have already validated that my application tokens are offline:

 "isOnline": false,

The next thing I’m investigating is the paymentSession

What should I do in these cases? Any suggestions on how to proceed?

Hi there 👋

This seems like this is an issue with the Shopify API, and not the Node app template.

Could you please create a discussion in the developer community forums? This should get routed to the correct product teams.