What is the idiomatic way to ensure a Stripe::Checkout session has been fully paid for/captured? #1139
Unanswered
TrevorHinesley
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The default Pay webhook handlers sync any Stripe Charges that occur via webhooks, but
status
of individual charges/payment intents are not stored anywhere on thePay::Charge
in thesync
method nor do the default database columns includestatus
. In addition, before I go patching things, I'm not sure what the best practice is for determining if a Checkout session was not only completed, but that the session's total has been fully captured as well without getting into summing captured amounts across successful charges, which seems brittle.What's the ideal course of action here?
Beta Was this translation helpful? Give feedback.
All reactions