IppoPay
  • Introduction
  • Client Side Integration
  • Javascript Integration
  • React JS
  • Angular JS
  • PHP Integration
  • Server Side Integrations
    • REST API
    • PHP Client
    • Node JS SDK
  • eCommerce Integrations
    • WooCommerce
    • Opencart
    • PrestaShop
    • Magento
  • Mobile SDK Integrations
  • Android SDK
  • iOS SDK
  • Flutter
  • UPI Intent (Self Hosted)
  • Payouts
    • Account
    • Beneficiary
    • Transfers
Powered by GitBook
On this page
  • Ippopay Node SDK
  • Installation
  • Documentation
  • Author
  • License

Was this helpful?

  1. Server Side Integrations

Node JS SDK

The Ippopay Payments plugin allows you to accept credit card, UPI, Netbanking and debit card payments via Ippopay payment gateway.

PreviousPHP ClientNextWooCommerce

Last updated 4 years ago

Was this helpful?

Ippopay Node SDK

Official nodejs library for .

Check this link for detailed information to inteagrate Ippopay Node JS SDK:

Installation

npm i node-ippopay

Documentation

Documentation of Ippopay's API is available at

Basic Usage

Initiate the Ippopay instance with public_key & secret_key. You can get the keys from the merchant dashboard ()

const Ippopay = require("node-ippopay");

var ippopay_instance = new Ippopay({
  public_key: 'YOUR_PUBLIC_KEY',
  secret_key: 'YOUR_SECRET_KEY',
});

Create an Order

ippopay_instance.createOrder({
    amount: 10.00, 
    currency: 'INR',
    payment_modes: "cc,dc,nb,upi",
    customer: {
        name: "Test",
        email: "test@gmail.com",
        phone: {
            country_code: "91",
            national_number: "9876543210"
        }
    }
}, function (err, data){
   console.log(data);
});

Get Transaction Details of Order

ippopay_instance.orderTransactionDetails({
    orderId: 'ORDER_ID'
}, function (err, data){
   console.log(data);
});

Author

License

This component is written by .

IppoPay 2021 © All Rights Reserved.

IppoPay
IppoPay
Ippopay API
https://docs.ippopay.com/node-js-sdk
https://docs.ippopay.com/node-js-sdk
https://app.ippopay.com/settings/api
npm