Transaction API Multiple Captures

Solved
sublet
Shopify Partner
8 0 0

If I am reading the transactions API correctly, it's telling me we can only capture once.

 

"You can capture a payment only once for an order, and the payment can't be more than the order's authorized amount. This means that your customers can't add to an existing order. If they want to add more products after an order has been placed, then they need to make a new order."

 

Is there any way to capture for partial payment, when one part of an order goes out, and then the second part goes out a few days later?  What is the point of partial payments if this isn't the case.

Accepted Solution (1)

Accepted Solutions
Shayne
Shopify Staff
Shopify Staff
208 9 47

This is an accepted solution.

Correct, Shopify payments only allows a single capture.

If you attempt to do a partial capture (even through the Admin) you'll notice the following message in orange :

-hurpr-5x27s

Some gateways do allow multiple captures, but Shopify Payments is not one of them.

Shayne | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 7 (7)
Shayne
Shopify Staff
Shopify Staff
208 9 47

Hey Sublet,

You can do multiple partial captures if the gateway supports it, but once the full amount is captured, that's it.

The docs could probably be a little clearer on that, I'll look into it. Thanks!

Shayne | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

sublet
Shopify Partner
8 0 0

Is Shopify Payments one of those? Anytime I do a partial capture it closes it out and issues a refund for the remainder.

sublet
Shopify Partner
8 0 0

Shayne?

Shayne
Shopify Staff
Shopify Staff
208 9 47

This is an accepted solution.

Correct, Shopify payments only allows a single capture.

If you attempt to do a partial capture (even through the Admin) you'll notice the following message in orange :

-hurpr-5x27s

Some gateways do allow multiple captures, but Shopify Payments is not one of them.

Shayne | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

jeansu_can
New Member
1 0 0

Hi Shayne,

My team is using hosted payment gateway for hooking up capture feature with capture api.
My understanding is that once "Capture" button is clicked for an order on Shopify order dashboard, the capture API will be invoked and response will have x_transaction_type = 'capture'.

Then the "Capture" button will be disabled for that order even though only partial amount was captured.
Can you please provide more guidance on how we other payment gateways could conduct multiple capture actions from Shopify order dashboard?

 

Thanks,

Jean

greg_b
New Member
5 0 0

Hi @Shayne -- Can you help point me to the documentation for how a Gateway built using the Shopify Hosted Payment SDK can allow multiple captures? Thanks!

WebMonkey
Tourist
7 0 9

Hi @Shayne,

Maybe you can answer this. Why, when I capture a partial payment, does my order timeline show a dollar amount closer to the original order amount added to my payout followed by a refund of a lesser amount? It's the same on the payouts screen. It shows a refund, but I didn't refund anything. Essentially, I voided the additional authorized charges.

Also, it looks like Shopify payments is basing my processing fees on the authorized amount, rather the captured amount. Is that correct?