How it work.
payment.html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Page Title</title>
</head>
<body>
<button
merchantid="31817563"
msecretkey="xxxxxxx"
prdrefno="202309220958"
prddet="Product Detail"
prdtotal="1.00"
prdcc="00"
prdlang="EN"
prdcustemail="customer@email.com"
prdpburl="https://www.merchantpostback.com/"
prdrturl="https://www.paysolutions.asia"
prdcusttel="0825652223"
merlogo="https://s3-payso-images.s3.ap-southeast-1.amazonaws.com/merchant-logo/17563/17563.jpg"
mername="Illidan Shop"
id="pspayment"
name="pspayment"
paychannel="FULL,AMEX,CUP,INS,PP,BILL,IB,WC,AL,TW"
></button>
<div class="ps-form-popup" id="ps-myForm"></div>
</body>
<script type="text/javascript" src="https://cdn.paysolutions.io/payso-sdk.js"></script>
</html>
Attribute | Description |
---|---|
merchantid | Merchant ID No. |
msecretkey | Merchant secret key. |
prdrefno | Reference No. |
prddet | Details of product |
prdtotal | The total value of the product. There is a numeric data type. |
prdcc | Currency unit |
prdlang | Language |
prdcustemail | E-mail of customer |
prdpburl | Return URL webhook <\GET> mode after complete. |
prdrturl | Return URL after the process completes. |
prdcusttel | Telephone number of customer. |
merlogo | URL of shop logo or interface. |
mername | Merchant shop name. |
id | Default value, do not change. |
name | Default value, do not change. |
paychannel | Channel of Payment |
List of Channel Parameter
Channel value | Channel Unit |
---|---|
FULL | Full Payment |
AMEX | Full Payment American Express |
CUP | Full Payment Union Pay |
INS | Installment |
PP | PromptPay |
BILL | Bill |
IB | Internet Banking |
WC | WeChat pay |
AL | Alipay |
TW | True Money Wallet |