Payment with Channel Selection
The e-Payment system offers a streamlined payment process for merchants. Merchants can utilize a dedicated web page for selecting payment types, including credit cards, credit card installments, QR payments, internet banking, bill payments, and more. Merchants submit essential information like product value and merchant identification numbers for processing. Merchants with established product and customer databases can immediately access payment services through the e-Payment system.
Parameters
The parameters used to connect to the e-Payment system consist of two types of parameters i.g. the " key parameter " that must be specified every time to connect to the e-Payment system and "additional parameters" to complement the merchant's payment system. Even more The merchant can choose to specify whether or not to use this additional parameter. The details of both types of parameters are as follows.
Name | Data Type | Maximum Length | Description |
---|---|---|---|
merchantid | string | 8 | Merchant ID No. |
refno | string | 12 | Reference No. |
customeremail | string | 100 | E-mail of customer |
productdetail | string | 255 | Details of product |
total | string | Not over 9,999,999 | Total amount |
lang optional | string | 2 | Language |
cc optional | string | 2 | Currency unit |
channel | string | - | Channel of Payment |
Main Parameters
Merchants are required to submit all 5 main parameters, which are detailed below, by sending a POST to the website:
https://payments.paysolutions.asia/payment
Details are as the followings:
Name | Description |
---|---|
merchant | The merchant ID number, which is sent to the merchant via email upon service registration, is of numeric data type and consists of 8 characters. |
refno | A reference number used by merchants to identify an order within the ePayment system. This parameter requires a unique number for each order to prevent order overlaps. This parameter is of numeric data type and has a maximum length of 12 characters. |
customeremail | The email address of the customer associated with the merchant's transaction. This email address is used by the system to send payment confirmation emails when credit card payments are successfully completed. This parameter is of alphanumeric data type and has a maximum length of 100 characters. |
productdetail | A brief product description that summarizes the product or service being purchased, allowing customers to understand what they are paying for. This parameter is of alphanumeric data type and has a maximum length of 255 characters. Note: HTML special characters are not permitted. |
total | The total value of the product, represented as a numeric data type. This parameter can include decimal values, for instance, 199.50. |
channel | Channel of Payment. |
List of Channel Parameter
Channel value | Channel Unit |
---|---|
full | Full Payment VISA Mastercard |
amex | Full Payment American Express |
cup | Full Payment Union Pay |
installment | Installment |
bill | Bill |
promptpay | PromptPay |
alipay | Alipay |
wechat | WeChat pay |
truewallet | True Money Wallet |
ibanking | Not select specific internet banking |
ibanking_kbank | Internet Banking - Kasikorn Bank |
ibanking_scb | Internet Banking - SCB Bank |
ibanking_ktb | Internet Banking - Krungthai Bank |
ibanking_bay | Internet Banking - Krungsri Bank |
ibanking_bbl | Internet Banking - Bangkok Bank |
ibanking_ttb | Internet Banking - TTB Bank |
** All ibanking - minimum value is 15 THB. If the value is less than 15 THB ibanking’s is not processed.
** Installment - minimum installment 3000 THB
Additional Parameters
Additional parameters are optional for merchants. Merchants have the flexibility to choose whether or not to utilize these parameters. These parameters are designed to provide merchants with enhanced functionality and customization options for their payment system.
The additional parameters are as follows:
Name | Description |
---|---|
lang optional | The 'lang' parameter specifies the language for the web page, either English or Thai. The default language is determined by the merchant's settings in the admin system. However, if the 'lang' parameter is specified, the system will override the default setting and display the selected language. Specify 'lang = TH' for Thai or 'lang = EN' for English. This parameter caters to merchants with websites that support both Thai and English, providing them with flexibility in customizing the language for additional parameters. |
cc optional | The 'cc' parameter defines the currency code for the transaction. Similar to the 'lang' parameter, the default currency is determined by the merchant's settings in the admin system. However, if the 'cc' parameter is specified, the system will override the default setting and use the specified currency code. This parameter caters to merchants who deal with multiple currencies, providing them with flexibility in adjusting the currency code as needed. |
CC Parameters
CC Value | Currency Unit |
---|---|
00 | Baht |
01 | USD |
02 | Yen |
03 | Singapore Dollar |
04 | Hongkong Dollar |
05 | Eur Dollar |
06 | GBP (Pound) |
07 | Australian Dollar |
08 | Swiss Franc |
Example
<html>
<head>
<title>Paysolutoins Payment</title>
</head>
<body>
<form method="post" action="https://payments.paysolutions.asia/payment">
Customer E-mail:
<input type="text" name="customeremail" value="customer@email.com">
<br> Product Detail:
<input type="text" name="productdetail" value="product detail">
<br>
<!-- refno unique number 12 digit -->
Reference No.:
<input type="text" name="refno" value="123456789012">
<br>
<!-- merchantid 8 digit -->
Merchant ID:
<input type="text" name="merchantid" value="12345678">
<br>
<!-- currency code -->
Currency Code:
<input type="text" name="cc" value="00">
<br> Total:
<input type="text" name="total" value="1">
<br> Lang:
<input type="text" name="lang" value="TH">
<!-- Channel Value
-full (ช่องทาง creditcard จ่ายเต็มจำนวน)
-installment (ช่องทางผ่อน)
-ibanking (ช่องทาง internet banking)
-bill
-promptpay
-alipay
-wechat
-truewallet
replace in value <input type="hidden" name="channel" value="full" >
-->
<br> Channel:
<select name="channel">
<option value="full"> Full Payment </option>
<option value="amex"> Full Payment American Express </option>
<option value="cup"> Full Payment Union Pay </option>
<option value="installment"> Installment </option>
<option value="bill"> Bill </option>
<option value="promptpay"> PromptPay </option>
<option value="alipay"> Alipay </option>
<option value="wechat"> WeChat pay </option>
<option value="truewallet"> True Money Wallet </option>
<!-- not select specific bank --->
<option value="ibanking"> iBanking </option>
<!-- select specific bank --->
<option value="ibanking_kbank"> iBanking - Kbank </option>
<option value="ibanking_scb"> iBanking - SCB </option>
<option value="ibanking_ktb"> iBanking - KTC </option>
<option value="ibanking_bay"> iBanking - BAY </option>
<option value="ibanking_bbl"> iBanking - BBL </option>
<option value="ibanking_ttb"> iBanking - TTB </option>
</select>
<input type="submit" name="Submit" value="Comfirm Order">
</form>
</body>
</html>