Not able to set the order mark as paid

Solved
Highlighted
Tourist
3 1 0

we are authorizing the payment using Stripe on Shopify and we are capturing the amount directly in stripe.

 

when i try to update the order payment status as paid using below getting "Order cannot be marked as paid". any reason?

graphql Querygraphql Query

 

0 Likes
Highlighted
Tourist
3 1 0

since the payment is already captured. i need to POST the below on the transaction  API first and then call the GrapghQL API to mark them as Paid.

shopify capture.png

 

0 Likes
Highlighted
Tourist
3 1 0

This is an accepted solution.

it was fixed after sending the details as below to the transaction api for the order.,
 
{
    "transaction": {
    "kind":"capture",
        "gateway": "manual",
        "status": "success",
        "source":"external"
    }
}
0 Likes