You can integrate MOLPay payment channel to stop redirecting your buyer to MOLPay payment page using seamless integration. 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).


Here's the 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 it and see whether it works

Step 5: Your online transaction is done


Easy to implements

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>

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)
});

Seamless button test run