mirror of
https://github.com/myronblair/tomsjavajive
synced 2026-06-30 17:50:32 -05:00
62dd05780a
Mirrors the checkout.session.completed case which checks payment_status === paid before acting. Now checks data.status === succeeded on the PaymentIntent object, consistent with how Stripe structures the event and defensive against any future edge case where the event fires in a non-final state.