-
Notifications
You must be signed in to change notification settings - Fork 16
Latest Razer Merchant Services Seamless Integration (non PCI)
This page will include latest seamless version released by Razer Merchant Services Technical.
Please do not generate your vcode in JS as this will disclose the merchant verify key.
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.molpay.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.molpay.com/MOLPay/API/seamless/latest/js/MOLPay_seamless.deco.js"></script>
<!-- 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>
The Razer Merchant Services seamless plugin process your button, via data attributes or JavaScript.
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>
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)
});
See: Channel List Seamless v3.18
Merchant Technical Support / Customer Care : support-sa@razer.com
Sales/Reseller Enquiry : sales@molpay.com
Marketing Campaign : marketing@molpay.com
Channel/Partner Enquiry : channel@molpay.com
Media Contact : media@molpay.com
R&D and Tech-related Suggestion : technical@molpay.com
Abuse Reporting : abuse@molpay.com