Fix success page for $0 free orders

When free=1 is in the URL, verify order status via API instead of
looking for a Stripe session. Checks payment_status=paid on the
server side — no security hole since the server already validated
the discount code before marking the order paid.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
justin 2026-05-22 01:01:02 -05:00
parent ae5dc4745e
commit 316d4a4912

File diff suppressed because one or more lines are too long