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:

  1. Customer selects product: Add to cart and click "Checkout"
  2. Website creates order: Save order information to database
  3. Create checkout form: Prepare data and create HMAC-SHA256 signature
  4. Send request to SePay: POST form to endpoint /v1/checkout/init
  5. Validate signature: SePay checks the validity of the signature
  6. Redirect customer: To SePay payment page
  7. Select payment method: Card, QR Banking, QR NAPAS
  8. Process payment: SePay communicates with bank/card
  9. Receive result: From banking system
  10. Callback to website: Call corresponding callback URLs
  11. IPN notification: Notify payment result via IPN
  12. Redirect customer: Back to result page on website
  13. 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.