This feature connects pricing in the UI to real transactions in the backend. It covers checkout, order pages, subscription management, and payment provider webhooks.
What this feature includes
/checkout/order/[id]/dashboard/billingPOST /api/paymentsPOST /api/subscriptionPOST /api/webhooks/midtransPOST /api/webhooks/doku
Related routes and endpoints
Main dependencies
Main files and configuration
What teams usually customize
- plan names and benefits,
- pricing,
- upgrade CTA paths,
- checkout copy,
- success and failure messaging,
- cancel and resume behavior,
- order page messaging.
When this feature is disabled
Payments are usually turned off when:- the product does not sell access publicly,
- the product is only a private member portal,
- launch is still focused on waitlist or early validation.
- checkout pricing,
- upgrade CTA copy,
- any public promise about subscriptions,
- dashboard billing entry points that are no longer relevant.
Verification checklist
- One sandbox payment can be created successfully.
- The order page shows the correct state.
- Webhooks arrive at the correct route.
- Subscription state changes correctly.
- Cancel and resume work in a test account.
- Admin users can see the relevant payment and event data.