#mindsetinmeta

1 messages · Page 1 of 1 (latest)

bleak shoreBOT
marsh wagon
#

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.

hoary smelt
#

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?

marsh wagon
#

The checkout session won't be completed in this case if the customer's card has insufficient fund

hoary smelt
#

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?

marsh wagon
#

The amount_capturable will be equal or less than the amount_total

hoary smelt
#

ok

#

even if it's less than amount_total, we can still receive a checkout.session.completed event, right?

marsh wagon
#

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

hoary smelt
#

thanks Jack

#

appreciate your help

marsh wagon
#

No problem!