Payment Flow
Explore two flexible payment options - one-time and recurring, helping businesses optimize experience and automate payment collection processes
One-time Payment
The one-time payment flow allows customers to pay immediately for a specific order.
Payment Processing Sequence
Rendering diagram...
Detailed steps:
- Customer selects product: Add to cart and click "Checkout"
- Website creates order: Save order information to database
- Create checkout form: Prepare data and create HMAC-SHA256 signature
- Send request to SePay: POST form to endpoint
/v1/checkout/init - Validate signature: SePay checks the validity of the signature
- Redirect customer: To SePay payment page
- Select payment method: Card, QR Banking, QR NAPAS
- Process payment: SePay communicates with bank/card
- Receive result: From banking system
- Callback to website: Call corresponding callback URLs
- IPN notification: Notify payment result via IPN
- Redirect customer: Back to result page on website
- Display result: Success/error/cancel page
Recurring Payment
Coming Soon
Recurring payment is currently being finalized and will be released soon. Please follow SePay updates for official launch timing.