David Lazar
David Lazar

Reputation: 11427

How to change Pending status to Paid status

I have a shop that accumulates many orders that are accepted without credit cards by using other payment methods. Hence they are recorded as Open, Pending orders. With the API I need to be able to create a new transaction that will change the status from Pending to Paid.

When I create a new transaction against a pending order with the kind set to 'capture' the API returns 403 forbidden, which kind of makes sense since it is meant to capture an authorized payment from a credit card.

Can you please add a transaction kind to the API allowing a change in status from pending to paid.

Thanks

Upvotes: 1

Views: 591

Answers (1)

DenisOdorcic
DenisOdorcic

Reputation: 346

A 403 Forbidden should only be returned if you try to use another kind other than capture, or if you're actually not authorized to create Transactions. Double check the permissions on the app to make sure you have write_orders permissions. If you do, shoot Shopify an email with the app details for us to investigate further.

Upvotes: 2

Related Questions