Accept a PromptPay payment
Accept payments with PromptPay, an instant funds transfer service in Thailand.
Checkout
Direct API
PromptPay is a single-use payment method where customers pay with PromptPay by scanning the QR code that they see during checkout. Completing the payment redirects customers back to your website.
Depending on how you settle payments, there might be additional notification requirements to be aware of.
Determine compatibility
A Checkout Session must satisfy all of the following conditions to support PromptPay payments:
- Prices for all line items must be in the same currency. If you have line items in different currencies, create separate Checkout Sessions for each currency.
- You can only use one-time line items (PromptPay Checkout Sessions don’t support recurring subscription plans).
Accept a payment
Note
This guide builds on the foundational accept a payment Checkout integration.
Enable PromptPay as a payment method
When creating a new Checkout Session, you need to:
- Enable PromptPay in your Dashboard. Stripe automatically displays PromptPay to eligible customers using dynamic payment methods . If you currently specify payment _ method _ types , see the migration guide .
- Make sure all your line _ items use the same currency.
Command Line
Select a language
cURL
Stripe CLI
Ruby
Python
PHP
Java
Node.js
Go
.NET
No results
Fulfill your orders
After accepting a payment, learn how to fulfill orders.
Test your integration
When testing your Checkout integration, select PromptPay as the payment method and click the Generate QR code button, which creates and renders a QR code.
While testing, you can scan the QR code with a QR code scanning application on your mobile device. The QR code payload contains a URL which brings you to a Stripe-hosted PromptPay test payment page where you can either authorize or fail the test payment.
In live mode, you’ll be able to scan the QR code using a preferred banking app or payment app that supports PromptPay.
