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
<!DOCTYPE html>
<html>
<head>
<!-- jQuery (necessary for Fiuu Seamless JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://pg.e2pay.co.id/RMS/API/seamless/latest/js/MOLPay_seamless.deco.js"></script>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:
The required request parameters are provided in the Seamless integration Request Parameters section.
Example
Last updated