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:
parent
ae5dc4745e
commit
316d4a4912
1 changed files with 1 additions and 1 deletions
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue