From 9cd56a05a66a02d0ebb404ea0b935727f470c243 Mon Sep 17 00:00:00 2001 From: senke Date: Sun, 22 Feb 2026 14:42:44 +0100 Subject: [PATCH] docs: update PAYMENTS_SETUP for checkout complete URL --- docs/PAYMENTS_SETUP.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/PAYMENTS_SETUP.md b/docs/PAYMENTS_SETUP.md index 2545b5244..a0d1a77a0 100644 --- a/docs/PAYMENTS_SETUP.md +++ b/docs/PAYMENTS_SETUP.md @@ -67,8 +67,9 @@ HYPERSWITCH_URL=http://localhost:18081 HYPERSWITCH_API_KEY=your_api_key_from_control_center HYPERSWITCH_WEBHOOK_SECRET=whsec_xxx -# Checkout success redirect (used in return_url) -CHECKOUT_SUCCESS_URL=http://localhost:5173/purchases +# Checkout complete redirect (base URL; backend appends ?order_id=xxx) +# v0.402: Use /checkout/complete for success/error page (order status determines display) +CHECKOUT_SUCCESS_URL=http://localhost:5173/checkout/complete ``` For Docker, use `http://hyperswitch:8080` as `HYPERSWITCH_URL`. @@ -102,7 +103,7 @@ The webhook is **public** (no auth). Signature verification is done via `HYPERSW 6. Hyperswitch payment form appears 7. Use Mollie test card or iDEAL 8. On success, webhook updates order and creates licenses -9. User is redirected to `/purchases` +9. User is redirected to `/checkout/complete?order_id=xxx` (success or error based on order status) ## 8. Simulated Payments (No Hyperswitch)