#thomas-d

1 messages ยท Page 1 of 1 (latest)

cold hornetBOT
tired spear
#

๐Ÿ‘‹ happy to help

#

yes you can do this

timid umbra
#

sorry but I don't see. For example i capture all payment like this : const paymentIntent = await stripe.paymentIntents.capture(copyId)

#

It's amount_to_capture ?

tired spear
#

you need to first create the checkout session with a payment_intent_data.capture_method set to manual

timid umbra
#

yes i do that

tired spear
#

then once you receive the checkout.session.completed event, you can take the PaymentIntent ID from the Checkout Session and perform the partial capture the same way you do on any other Payment Intent