Payment Gateway
  • Home
    • Welcome
      • Cheatsheet
      • Contact Us
      • QRIS
      • Virtual Account
      • E-Wallet
      • Debit & Credit Card
      • Internet Banking
      • Convinient Store
      • Buy Now, Pay Later
  • API Documentation
    • Technical Doc of Fiuu ID
      • Payment Flow Overview
      • Online Payment / Transaction Process
      • Payment Status Flow
      • Security & Data Integrity
        • Verify Key [Confidential]
        • Secret Key [Top Secret]
        • vcode
        • skey
      • Developer Account
      • Hosted Integration APIs
      • Seamless Integration APIs
      • Direct Server Integration APIs
      • Payment Request Parameters
        • Hosted Integration
          • Request Parameters
          • Channel Lists
          • Examples
        • Seamless Integration
          • Request Parameters
          • Channel Details (mpschannel)
        • Direct Server Integration
          • Request Parameters
          • API Response
          • Channel Details (TxnChannel)
      • Payment Response Parameter
        • Payment Status Notification (Merchant Webhook or the 3 Endpoints)
          • Return URL with IPN (Instant Payment Notification)
          • Notify URL with IPN
          • Callback URL with IPN
      • TL; DR?
      • Comparison Chart
      • Merchant Request APIs
      • Error Codes
      • Resources
Powered by GitBook
On this page
  • Introduction
  • Getting Started
  • Production
  • Sandbox
  • Usage
  • Via data attributes
  • Via JavaScript
  • Example
  1. API Documentation
  2. Technical Doc of Fiuu ID

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

<!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-sandbox.e2pay.co.id/RMS/API/seamless/latest/js/MOLPay_seamless.deco.js"></script>

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.

<button type="button” data-toggle="molpayseamless">Pay by CIMBClicks</button>

Via JavaScript

Call a PG seamless with id myPay with a single line of JavaScript:

$(document).ready(function() {
     var options = { 
                    mpsmerchantid:"e2paypaymerchant",
                    mpschannel:"CIMB_NIAGA", 
                    mpsamount:"10000.00", 
                    mpsorderid:"TEST728638391", 
                    mpsbill_name:"MOLPay Technical", 
                    ...
                   }; 
     $('#myPay').MOLPaySeamless(options)
});

Example

Last updated 1 month ago

The required request parameters are provided in the .

Seamless integration Request Parameters section