Payment Flow
Explore two flexible payment methods — one-time and recurring — to help businesses optimize user experience and automate revenue collection.
One-time Payment
The one-time payment flow allows customers to pay immediately for a specific order.
Detailed steps:
- Customer selects product: Adds to cart and clicks “Checkout”
- Website creates order: Stores order details in the database
- Generate checkout form: Prepare data and create HMAC-SHA256 signature
- Send request to SePay: POST form to
/v1/checkout/initendpoint - Validate signature: SePay verifies the signature validity
- Redirect customer: To SePay’s payment page
- Choose payment method: Card, QR Banking, or QR NAPAS
- Process payment: SePay communicates with the bank/card system
- Receive result: From the banking system
- Callback to website: Trigger corresponding callback URLs
- IPN notification: Notify payment result via IPN
- Redirect customer: Back to result page on your website
- Display result: Success / Failure / Canceled page
Recurring Payment
Coming Soon
Recurring payments are currently under development and will be released in the near future.
Please stay tuned for official updates from SePay regarding the launch schedule.