Fiuu Seamless Integration for RMS Indonesia (non PCI) - FiuuPayment/Integration-Fiuu_JavaScript_Seamless_Integration GitHub Wiki

Seamless Integration

This page will include latest seamless version released by Razer Merchant Services Technical.

Important

Please do not generate your vcode in JS as this will disclose the merchant verify key.

Getting started

Register your domain by email to our support : [email protected]

Include below javascript library in your web.

 <!-- jQuery (necessary for Razer Merchant Services Seamless JavaScript plugins) -->
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
 <script src="https://pg.e2pay.co.id/RMS/API/seamless/latest/js/MOLPay_seamless.deco.js"></script>
 <!-- jQuery (necessary for Razer Merchant Services Seamless JavaScript plugins) -->
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
 <script src="https://pg-uat.e2pay.co.id/RMS/API/seamless/latest/js/MOLPay_seamless.deco.js"></script>

Example 1

payment-e2Pay_DANA

<!-- Button trigger Razer Merchant Services Seamless -->
<button type="button" id="myPay" class="btn btn-primary btn-lg" data-toggle="molpayseamless" data-mpsmerchantid="molpaymerchant" data-mpschannel="e2Pay_DANA" data-mpsamount="100" data-mpsorderid="TEST202308281715" data-mpsbill_name="RMS Technical" >Pay by DANA</button>

Example 2

New input UI for card payment is available from latest version or version 3.28 and above.

image

Download our Demo version.

Example 3 (Payment Timer Enable)

New input UI for card payment is available from latest version or version 3.28 and above.

image

Download our Demo version.

Usage

The Razer Merchant Services seamless plugin process your button, via data attributes or JavaScript.

Via data attributes

Activate a Razer Merchant Services seamless without writing JavaScript. Set data-toggle="molpayseamless" on a controller element, like a button, along with a data-mpsamount="10000" to set value.

<button type="button" data-toggle="molpayseamless">Pay by DANA</button> 

Via JavaScript

Call a Razer Merchant Services seamless with id myPay with a single line of JavaScript:

$( document ).ready(function() {
     var options = { 
                    mpsmerchantid:"rmsmerchant",
                    mpschannel:"e2Pay_DANA", 
                    mpsamount:"100", 
                    mpsorderid:"TEST202308281657", 
                    mpsbill_name:"RMS Technical", 
                    ...
                   }; 
                    
     $('#myPay').MOLPaySeamless(options)
});
                        

Options

Options can be passed via data attributes or JavaScript. For data attributes, append the option name to data-, as in data-mpsamount="".

Name Data Type (size) M/O Description
mpsmerchantid an{1..32} M Merchant login username provided by Razer Merchant Services.
mpschannel an{3..32} M Refer to Appendix C for more channel code.
mpsamount ns{10,2} M The transaction amount in one bill. Integer or up to 2 decimal points numeric value. Min accepted amount : 1.01
mpsorderid an{1..32} M Bill / Invoice no. provided by merchant.
mpsbill_name a{1..128} M Buyer name. (Please do not pass in dummy data if you want to use the saved cards feature, as this info will be used to identify the ownership of the card’s token. If you need to use dummy data, kindly refer to mpsguestcheckout.)
mpsbill_email ans{1..128} M Buyer email. (Please do not pass in dummy data if you want to use the saved cards feature, as this info will be used to identify the ownership of the card’s token. If you need to use dummy data, kindly refer to mpsguestcheckout.)
mpsbill_mobile n{1..128} M Buyer mobile contact number. (Please do not pass in dummy data if you want to use the saved cards feature, as this info will be used to identify the ownership of the card’s token. If you need to use dummy data, kindly refer to mpsguestcheckout.)
mpsbill_desc an{1..200} M Bill / Description provided by merchant / buyer.
mpscountry a{2} O Buyer country.
mpsbill_add an{1..200} C Buyer address, mandatory for Buy Now Pay Later channel.
mpsbill_zip n{5} C Buyer postcode, mandatory for Buy Now Pay Later channel.
mpsvcode an{32} C This is the data integrity protection hash string provided by merchant.
mpscurrency a{3} M Payment currency, E.g. MYR, SGD, USD & etc.
mpslangcode a{2} O Default language, E.g. 'en' for default
mpsreturnurl ans{1..200} O Used for multiple return URL. All URLs must be registered beforehand with Razer Merchant Services.
mpsnotifyurl ans{1..200} O Used for multiple notification URL. All URLs must be registered beforehand with Razer Merchant Services.
mpscallbackurl ans{1..200} O Used for multiple callback URL. All URLs must be registered beforehand with Razer Merchant Services.
mpstimer n O Duration of payment. Value in minutes. Set 0 to disable this feature, append this to the pre-hashing vcode string if mpstimer is in used
mpstimerbox ans C Element id or class name to show the timer. Mandatory when timer is enable. E.g. #timercounter, .timercounter
mpscancelurl ans{1..200} C URL to redirect when the payment is time out. Mandatory when timer is enable. All payment request parameter will be return. Merchant is advice to implement requery at this page.
mpstokenstatus n[0/1] O To tokenized the transaction.
mpstcctype a{4} O Available value is SALS = Capture Transaction (Default)
mpsguestcheckout n[0/1] O Used to indicate that this checkout does not belong to a registered user. Equal to 0 by default and 1 if the merchant does not hold the customer’s bill_name, bill_email or bill_mobile. Saved card payment will disabled if set as 1.
non_3ds n[0/1] O Available value is 0 = Process Transaction with 3DS (Default), 1 = Process Transaction with Non 3DS
mpsextra a{8..65535} O Format:
NumOfMer#merA : amtA | merB : amtB | merC : amtC (without space) E.g:3#samsung:30.10|doorstep:120.00|senQ:15.99
mpsplitinfo ans O Used for “Alipay Split Payment”. Values with pipe ( | ) as data delimiter and comma ( , ) as recipient separator as the format shown below without ‘<’ and ‘>’ :-
<Alipay_userID>|<amount>|<currency>|<description>,
<Alipay_userID>|<amount>|<currency>|<description>
mpsinstallmonth n C Total month of installment. Mandatory for installment payment. E.g: 0, 3, 6, 12, 24
mpsis_DDA n{1} C Indicator for DirectDebit e-Mandate transaction.
Valid values are:-
0 : Normal transaction (default)
1 : DirectDebit enrollment transaction (e-Mandate or DDA)
2 : DirectDebit modification transaction (e-Mandate or DDA)
3 : DirectDebit termination transaction (e-Mandate or DDA)
Token upon successful enrollment is expected to be available on next working day, usually after 1000HRS via Callback URL.Please send in the maximum authorized amount for future debit instruction during enrollment via TxnAmount
mpsbuyerid_number an{20} C Buyer ID number (i.e. NRIC/Passport number) without special character. Please send together with BuyerIDType. Mandatory for DirectDebit e-Mandate (DDA or the enrollment transaction)
mpsbuyerid_type n{1} C ID identifier type of a buyer (i.e. NRIC/Passport No) or organization. Mandatory for DirectDebit e-Mandate (DDA or the enrollment transaction).
Valid values are:-
1 : New IC Number
2 : Old IC Number
3 : Passport Number
4 : Business Registration

Appendix A: Data Type Details

No Code Description
1. a Letters, A-Za-z
2. n Numbers, 0-9
3. s Symbols, .:
4. {x} Fixed length x
5. {y..x} Length range: y – x
6. {y,x} Number range: 0-9. 0-9

Appendix B: M/O Details

No Code Description
1. M Mandatory field.
2. O Optional field, value can be empty.
3. C Conditional

Appendix C: Channel details (mpschannel)

No Code Description Type Currency
1 credit21 CIMB_NIAGA Credit Card IDR
2 credit22 CIMB_NIAGA_MPGS Credit Card IDR
3 credit23 BCA Credit Card IDR
4 DK_PERMATA_VA PERMATA_VA OTC IDR
5 DK_ALFA DK_ALFA OTC IDR
6 DK_Indomaret DK_Indomaret OTC IDR
7 DK_Danamon_VA DK_Danamon_VA OTC IDR
8 DK_Mandiri_VA DK_Mandiri_VA OTC IDR
9 DK_CIMBNiaga_VA DK_CIMBNiaga_VA OTC IDR
10 DK_BCA_VA DK_BCA_VA OTC IDR
11 DK_BRI_VA DK_BRI_VA OTC IDR
12 DK_BNI_VA DK_BNI_VA OTC IDR
13 DK_Maybank_VA DK_Maybank_VA OTC IDR
14 DK_Artajasa_VA DK_Artajasa_VA OTC IDR
15 DK_BRI_IB DK_BRI_IB Internet Banking IDR
16 DK_BCA_IB DK_BCA_IB Internet Banking IDR
17 DK_Danamon_IB DK_Danamon_IB Internet Banking IDR
18 DK_CIMBClicks_IB DK_CIMBClicks_IB Internet Banking IDR
19 DK_PermataNet_IB DK_PermataNet_IB Internet Banking IDR
20 DK_Muamalat_IB DK_Muamalat_IB Internet Banking IDR
21 DK_Kredivo_IB DK_Kredivo_IB BNPL IDR
22 e2Pay_DANA e2Pay_DANA e-Wallet IDR
23 e2Pay_LINKAJA_APPLINK e2Pay_LINKAJA_APPLINK e-Wallet IDR
24 e2Pay_CIMB_OCTO_MOBILE e2Pay_CIMB_OCTO_MOBILE e-Wallet IDR
25 e2Pay_SHOPEEPAY_JUMPAPP e2Pay_SHOPEEPAY_JUMPAPP e-Wallet IDR
26 e2Pay_OVO e2Pay_OVO e-Wallet IDR
27 e2Pay_NUCash e2Pay_NUCash e-Wallet IDR
28 e2Pay_CIMBOctoClicks_IB e2Pay_CIMBOctoClicks_IB Internet Banking IDR
29 e2Pay_Kredivo_FN e2Pay_Kredivo_FN BNPL IDR
30 CIMB_NIAGA CIMB_NIAGA Credit Card IDR
31 CIMB_NIAGA_MPGS CIMB_NIAGA_MPGS Credit Card IDR
32 BCA BCA Credit Card IDR
33 e2Pay_CIMB_OctoPay e2Pay_CIMB_OctoPay e-Wallet IDR
34 e2Pay_PERMATA_VA e2Pay_PERMATA_VA OTC IDR
35 e2Pay_BNI_VA e2Pay_BNI_VA OTC IDR
36 e2Pay_CIMB_VA e2Pay_CIMB_VA OTC IDR
37 e2Pay_BCA_VA e2Pay_BCA_VA OTC IDR
38 e2Pay_BRI_VA e2Pay_BRI_VA OTC IDR
39 e2Pay_BSI_VA e2Pay_BSI_VA OTC IDR
40 e2Pay_MANDIRI_VA e2Pay_MANDIRI_VA OTC IDR
41 e2Pay_LINKAJA_QRIS e2Pay_LINKAJA_QRIS e-Wallet IDR
42 e2Pay_LINKAJA_WCO e2Pay_LINKAJA_WCO e-Wallet IDR
43 e2Pay_CIMB_QRIS e2Pay_CIMB_QRIS e-Wallet IDR
44 e2Pay_SHOPEEPAY_QRIS e2Pay_SHOPEEPAY_QRIS e-Wallet IDR
45 e2Pay_MBayar_Auth e2Pay_MBayar_Auth e-Wallet IDR
46 e2Pay_MBayar_QR e2Pay_MBayar_QR e-Wallet IDR
47 e2Pay_Indomaret e2Pay_Indomaret OTC IDR
48 e2Pay_Alfamart e2Pay_Alfamart e-Wallet IDR
49 e2Pay_GOPAY e2Pay_GOPAY e-Wallet IDR
50 e2Pay_DBankPro_IB e2Pay_DBankPro_IB Internet Banking IDR
51 e2Pay_Indodana_FN e2Pay_Indodana_FN BNPL IDR
52 e2Pay_Jenius e2Pay_Jenius e-Wallet IDR
53 e2Pay_WeChatPay_QR e2Pay_e2Pay_WeChatPay_QR e-Wallet IDR

Revision History

Update 2023/08/28

  • Added Seamless Integration for RMS Indonesia (non-PCI)

Support

Merchant Technical Support / Customer Care : [email protected]
Sales/Reseller Enquiry : [email protected]
Marketing Campaign : [email protected]
Channel/Partner Enquiry : [email protected]
Media Contact : [email protected]
R&D and Tech-related Suggestion : [email protected]
Abuse Reporting : [email protected]

⚠️ **GitHub.com Fallback** ⚠️