Skip to main content

Simple payment

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.

Simple payment

Parameters

The parameters used to connect to the e-Payment system comprise two types of parameters: 'key parameters' and 'additional parameters'. 'Key parameters' are mandatory for connecting to the e-Payment system, while 'additional parameters' are optional and provide enhanced functionality for the merchant's payment system. Merchants have the flexibility to choose whether or not to utilize these additional parameters.

NameData TypeMaximum LengthDescription
merchantidstring8Merchant ID No.
refnostring12Reference No.
customeremailstring100E-mail of customer
productdetailstring255Details of product
totalstringNot over 9,999,999Total amount
lang optionalstring2Language
cc optionalstring2Currency unit

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:

NameDescription
merchantThe merchant ID number, which is sent to the merchant via email upon service registration, is of numeric data type and consists of 8 characters.
refnoA 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.
customeremailThe 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.
productdetailA 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.
totalThe total value of the product, represented as a numeric data type. This parameter can include decimal values, for instance, 199.50.

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:

NameDescription
lang optionalThe '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 optionalThe '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 ValueCurrency Unit
00Baht
01USD
02Yen
03Singapore Dollar
04Hongkong Dollar
05Eur Dollar
06GBP (Pound)
07Australian Dollar
08Swiss Franc

Example

payment.html
<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">
<br>
<br>
<input type="submit" name="Submit" value="Comfirm Order">
</form>
</body>
</html>

Preview

Simple payment