External Payment Capture and Order Status

Highlighted
New Member
1 0 0

I am working on a Shopify build for a client who needs the ability to capture payments at the time of shipment.


In our scenario, the payment would be authorized by Shopify, and that authorization (along with an invoice for the order) would be sent to ACUMEN Book. When the order has shipped, ACUMEN would handle the actual payment capture, and then push an update back to Shopify to mark the order as paid.

Based on the documentation for the Transaction API, it seemed that sending a PUT request to the following would be the way to go:

https://my-site.myshopify.com/admin/api/2019-07/orders/{{order_id}}/transactions.json

That said, it's a little unclear what that request body should look like because we're not getting the Authorization transaction through the API, so I'm not sure how to get the authorization_key.

Are there any apps/working examples out there that have similar functionality to what we're trying to accomplish?
 

0 Likes