Files
tomsjavajive/api
myron 2550ec5695 Fix duplicate order confirmation email on Stripe Checkout
When using Stripe Checkout, both checkout.session.completed and
payment_intent.succeeded fire for the same payment. After the stripe.php
change propagated order_id into PI metadata, the PI handler also found
an order_id and sent a second confirmation email.

Fix: fetch the order first in payment_intent.succeeded and skip if
already confirmed. Also records stripe_payment_intent in this path
for direct PI flows that bypass checkout.session.completed.
2026-06-03 03:41:30 +00:00
..
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00
2026-05-22 12:52:44 +00:00