Skip to content

Installation Guidance

Fadhil Rozaidi edited this page Feb 9, 2022 · 1 revision

Installation

  1. Go to your playstore/appstore
  2. Search "molpay vt" and install it.

Prepare the Payment detail object base on your framework

Key Sample value Description
mp_url_scheme yourappurl Your app url to return data
mp_amount 1.10 Payment amount from merchant
mp_merchant_ID yourmerchantID MOLPay merchant ID
mp_verification_key 123456abcd Values obtained from MOLPay
mp_order_ID order123 Order ID from merchant
mp_channel alipayspot Channel
mp_bill_description test payment Billing description (Optional)
mp_bill_name nick Billing name (Optional)
mp_bill_email nick@email.com Billing email (Optional)
mp_bill_mobile 0111111111 Billing mobile phone no (Optional)

Start payment by calling url

Note : URL is recommended convert to safe url to escape special character

molpayvt://mp_url_scheme=yourappurl&mp_amount=1.10&mp_merchant_ID=yourmerchantID&mp_verification_key=123456abcd&mp_order_ID=order123&mp_channel=alipayspot&mp_bill_description=test payment&mp_bill_name=nick&mp_bill_email=nick@email.com&mp_bill_mobile=0111111111

Sample Result

=========================================
Sample transaction result:
=========================================

yourappurl://amount=1.10&orderid=1928364&tranid=20422775&domain=molpaymerchant&status=00&appcode=&error_code=null&error_desc=null&skey=921820ca098a57444413bd577e7fc0bf&currency=MYR&channel=Alipay-Spot&paydate=2017-09-11%2016:40:37

Parameter and meaning:

"status" - "00" for Success, "11" for Failed, "22" for *Pending. 
"amount" - The transaction amount
"paydate" - The transaction date
"orderid" - The transaction order id
"channel" - The transaction channel description
"tranID" - The transaction id generated by MOLPay

* Notes: You may ignore other parameters and values not stated above

=====================================
* Sample error result:
=====================================

yourappurl://Error=No%20order%20id%20found!

Procedure

  1. VT app's must be login state (VT app's can be put in background mode).
  2. Start payment by calling the url.

Channel list

Channel name mp_channel Remarks
Credit / Debit Card paynow
Razer Pay one2pay
Ali Pay alipayspot
WeChat Pay wechatpay
Boost boost
TNG eWallet touchngo
Maybank QR Pay maybankqrpay
Grab Pay grabpay
E-mail email Payment link
SMS sms Payment link
QR Code qrcode Payment link
Share Link sharelink Payment link