Hi whenever I try to call the GRAPHQL function to resolve/pending a payment I always receive this error
{
"data": {
"paymentSessionResolve": {
"paymentSession": null,
"userErrors": [
{
"field": [
"id"
],
"message": "Payment session has already been rejected, or the response to start_payment_session request has not been received."
}
]
}
},
"extensions": {
"cost": {
"requestedQueryCost": 13,
"actualQueryCost": 10,
"throttleStatus": {
"maximumAvailable": 546000.0,
"currentlyAvailable": 545990,
"restoreRate": 27300.0
}
}
}
}
any solution to this?
reference : https://shopify.dev/apps/payments/processing-a-payment