I have a productive payments app installed in about 1000 stores and i'm having a weird issue on the mutation to resolve the order as paid. On some random orders, the paymentSessionResolve is not working as expected, ill try to explain it below;
On some random orders, when i do the graphql request to resolve the payment, i get a success response with success status code and body, but the order is still "pending payment" on the merchant store. For example;
I've tried to 'fix' it sending that mutation two times for each payment, with 0.75S of delay, but im still having the same problem,
but if i wait some time and i do another retry with the SAME request, it works..
So, i think is not a problem of the request, because it works on the 90% of the orders and even when i retry the same request it works..
Also, since the request has a success status code and body and payment apps dont have a scope to read the order status, i cant identify that cases to do an automatic retry, i need to wait for every merchant to send me a ticket with that issue and take manual actions