#mindsetinmeta
1 messages · Page 1 of 1 (latest)
Yes you can do a partial capture
And you will still receive a checkout.session.completed webhook when you customer has completed the checkout flow.
say we are pre-authing $10 but Stripe found that there is only a $5 quota on customer's card, what would Stripe do? pre-auth the $5 or consider it as a failure?
The checkout session won't be completed in this case if the customer's card has insufficient fund
so when I receive a PI.amount_capturable_amount_updated event, I can safely assume that it is equal to the amount_total requested when creating a Checkout Session. I do not have to verify that. Is this correct?
The amount_capturable will be equal or less than the amount_total
ok
even if it's less than amount_total, we can still receive a checkout.session.completed event, right?
Yes
So you'll receive a checkout.session.completed event when the customer has completed the checkout
and you will subsequently receive payment_intent.amount_capturable_amount_updated event when you capture the payment_intent
No problem!