#thomas-d
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
yes you can do this
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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 ?
you need to first create the checkout session with a payment_intent_data.capture_method set to manual
yes i do that
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