Seamless Integration

Integrate your website with seamless integration to stop redirecting buyers to MOLPay payment page. Your buyer will use the snippet to popup the bank login page, authorize payment and then you'll get the payment results on your site (using the return URL, if set).

Implement via data attributes

Activate a MOLPay 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>

Implement via JavaScript

Call a MOLPay seamless with id "myPay" with a single line of JavaScript:

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

Step By Step Guide

Step 1

Download and copy the snippet from here.

Step 2

You should know how to generate the vcode and pass these parameters if you are already a MOLPay merchant.

Step 3

Apply the snippet to your blog shop or facebook product page.

Step 4

Test and see whether it works.

Step 5

Your online transaction is done.