Skip to content

Latest Razer Merchant Services Seamless Integration (non PCI)

Tan Khee Chieng edited this page Jun 23, 2021 · 26 revisions

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 : support-sa@razer.com

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://www.onlinepayment.com.my/MOLPay/API/seamless/latest/js/MOLPay_seamless.deco.js"></script>

Update: 21/01/2018 - Notes for sandbox account: please use sandbox url (https://sandbox.merchant.razer.com)

 <!-- 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://sandbox.merchant.razer.com/MOLPay/API/seamless/latest/js/MOLPay_seamless.deco.js"></script>

Example 1

alt text

<!-- 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="maybank2u" data-mpsamount="1.20" data-mpsorderid="TEST1139669863" data-mpsbill_name="MOLPay Technical" >Pay by Maybank2u</button>

Example 2

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

image

View our demo(production), demo(sandbox) or download.

Example 3 (Payment Timer Enable)

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

image

View our demo(production), demo(sandbox) or download.

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="1.01" to set value.

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

Via JavaScript

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

$( document ).ready(function() {
     var options = { 
                    mpsmerchantid:"molpaymerchant",
                    mpschannel:"maybank2u", 
                    mpsamount:"1.20", 
                    mpsorderid:"TEST728638391", 
                    mpsbill_name:"MOLPay Technical", 
                    ...
                   }; 
                    
     $('#myPay').MOLPaySeamless(options)
});
                        

Options

See: Options Seamless v3.20

Channel List

See: Channel List Seamless v3.20

Support

Merchant Technical Support / Customer Care : support-sa@razer.com
Sales/Reseller Enquiry : sales-sa@razer.com
Marketing Campaign : marketing-sa@razer.com
Channel/Partner Enquiry : channel-sa@razer.com
Media Contact : media-sa@razer.com
R&D and Tech-related Suggestion : technical-sa@razer.com
Abuse Reporting : abuse-sa@razer.com

Clone this wiki locally