Seamless Integration APIs
Introduction
PG seamless plugin is a browser-side JavaScript library that allows merchants to display available payment options and accept payment on website frontend without needing to redirect to payment gateway or any server-side processing on merchant end.
Getting Started
Include below javascript library in your web.
Production
Sandbox
Usage
The PG seamless plugin processes your button, via data attributes or JavaScript.
Via data attributes
Activate a PG 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.
Via JavaScript
Call a PG seamless with id myPay with a single line of JavaScript:
Example
Last updated