WooCommerce + Thailand Payment Gateway Setup Guide
WooCommerce + Thailand Payment Gateway Setup Guide
I. Introduction of mainstream payment gateways in Thailand
To start an e-commerce business in Thailand, you need to consider the following major payment methods:
-
Bank transfer/Internet banking payments
- SCB Easy Pay (Siam Commercial Bank)
- Bangkok Bank (Bangkok Bank)
- KTB NetBank (Thai-King Bank)
- Kasikorn Bank (Kasikorn Bank)
-
electronic wallet (e.g. for money)
- TrueMoney Wallet
- Rabbit LINE Pay
- ShopeePay
-
Credit/debit cards
- Visa/Mastercard Local Processing Solutions
-
Convenience store cash payments
Payment at the counter of convenience stores such as 7-Eleven, FamilyMart, etc. -
QR code payment
PromptPay system (scanning via mobile banking app)
Second, WooCommerce integration steps
A. Selection of a suitable plug-in programme
-
Omise
Supports a wide range of local Thai payment methods, including credit cards and PromptPay. -
2C2P
Extensive coverage of Southeast Asian markets with support for all major Thai banks -
ThaiEPay
Specialised solutions for the Thai market -
Stripe Thailand
Localised versions of international solutions
B. Omise plugin installation configuration (recommended)
- Install the plug-in:
- WordPress Backend → Plugins → Add New → Search for "Omise".
- Or download and upload the installer from WordPress.org
- API key configuration:
Settings → Payments → Omise →
Enter Public Key and Secret Key (obtained from Omise merchant back office)
- Enable the required payment method:
- Credit Card
- Internet Banking (SCB, Kbank, BBL, etc.)
- Alipay/Touch'n Go (for China/Malaysia customers, if any)
C. Kasikorn Bank (KBank) direct integration approach
If you have a KBank merchant account:
- KBank Provides Official WooCommerce Extension Module
- API endpoints are set to:
https://online.kasikornbankgroup.com/KPayment
- Merchant ID and Secret Hash should be obtained by contacting KBank.
III. Testing and Go-live Considerations
A. Elements of sandbox environment testing
Demo trading check item:
✅Successful transaction process
✅ Failed transaction processing
✅Refund operation verification
✅ Multi-currency settlement test (THB-based)
Special attention:
⚠️ SMS OTP verification process is working properly
⚠️ mobile page adaptation
B. Pre-launch checklist
sports event | Completion of confirmation |
---|---|
PCI DSS Compliance Certification | □ |
TLS 1.+ encryption support | □ |
-BNPL service contract (if required) | □ |
IV. Frequently Asked Questions (Q&A)
Q:Why can't customers see the PromptPay option?
A:Please check → Currency Setting for THB + Open QR Code Permission
Q:How can I reduce the rejection rate?
A:Suggestion→Enable 3D Secure+Add Detailed Return Policy Page
Pro Tip: According to Statista data, the share of code-swiping pivots in Thailand's e-commerce transactions has reached 37% in 202, making sure to optimise the QR code pivot experience.
Need a more detailed configuration guide for a specific gateway? You can tell me the name of the provider you have chosen.
WooCommerce + Thailand Payment Gateway Setup Advanced Guide
V. Deep configuration and optimisation techniques
A. Multi-gateway parallel configuration programme
Scene: Use Omise (credit card) + KBank (internet banking) at the same time.
-
Install Payment Plugins for Stripe WooCommerce Plugin
- Supports coexistence of multiple payment gateways
- Settings → Payments → Enable "Multi Gateway Mode"
-
Example of smart routing rule setup:
add_filter('woocommerce_available_payment_gateways', 'thai_payment_gateway_rules');
function thai_payment_gateway_rules($gateways){
if(WC()->customer->get_billing_country() === 'TH'){
unset($gateways['paypal']); //对泰国客户隐藏PayPal
}
$cart_total = WC()->cart->total;
if($cart_total > 5000){ //大额订单只显示银行转账
return ['kbank_transfer' => $gateways['kbank_transfer']];
}
return $gateways;
}
B. PromptPay QR Code Advanced Integration
-
Dynamic QR code generation programme:
- Real-time generation of Bank of Thailand-compliant QR codes using ThaiQR PHP library
composer require scb-api/thai-qr-promptpay
-
Front-end display optimisation code:
// checkout.js to add it:
jQuery(document).ready(function($){
$('#promptpay-qr-container').qrCode({
text: "00020101021129370016A00000067701011101130066"+merchantID+"53037645802TH6304",
width: 200,
height: 200,
colourDark : "#000000",
colourLight : "#ffffff"
});
// QR code auto refresh (every 2 minutes)
setInterval(refreshPromptPayQR, 120000).
});
VI. Localisation Compliance Requirements in Detail
A. Required elements of the Thai Electronic Transactions Act
-
The order page must be included:
- 🇹🇭 ธุรกิจอิเล็กทรออนิกส์เลขที่ (e-commerce registration number)
- VAT invoice button (if applicable)
- PDPA Privacy Policy Acknowledgement Checkbox
-
Recommended shortcode blocks to add:
[thai_compliance]
[business_registration number="0123456789012"]
[vat_invoice_button]
[/thai_compliance]
B. Proposed fee structure (2023 update)
payment method | Typical rates | settlement cycle |
---|---|---|
Credit card (Visa/MC) | 3-3.%+10฿ | T+3 |
SCB Easy Pay | ฿8/pen fixed fee | <24 hours |
TrueMoney Wallet. | % (no minimum fee) | imminent |
Note: Preferential rates can be applied for monthly transaction volume over 10,000 baht
VII. Performance Monitoring and Security Hardening
A. Recommended supplementary plug-ins
1. Security
- Wordfence (firewall)
- ThaiCERT SSL Enhancer
2. Performance
- RabbitLoader CDN (Thailand Local Acceleration)
- Cache Enabler with APO
B. Key monitoring indicator thresholds
warning value | hazard value | |
---|---|---|
Payment failure rate | >15% | >25% |
Average processing time | >8 seconds | >15 seconds |
VIII. Emerging Payment Methods Ahead
2024 Trend Forecast Preparation Checklist
🔲 [ ] Line Pay deep integration
🔲 [ ] Crypto Payment Pilot (SEC Licensed Merchant)
🔲 [ ] SCB Smart Checkout Biometrics
Would you like me to provide a code example of how to implement a specific feature? For example:
1) TrueMoney Wallet Balance Check API Integration
maybe
) 7-Eleven Counter Payment Voucher Validation System