IppoPay
Search…
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
Node JS SDK
The Ippopay Payments plugin allows you to accept credit card, UPI, Netbanking and debit card payments via Ippopay payment gateway.
Ippopay Node SDK
Official nodejs library for
Ippopay API
.
Check this link for detailed information to inteagrate Ippopay Node JS SDK:
https://docs.ippopay.com/node-js-sdk
Installation
1
npm
i node-ippopay
Copied!
Documentation
Documentation of Ippopay's API is available at
https://docs.ippopay.com/node-js-sdk
Basic Usage
Initiate the Ippopay instance with
public_key
&
secret_key
. You can get the keys from the merchant dashboard (
https://app.ippopay.com/settings/api
)
1
const
Ippopay
=
require
(
"node-ippopay"
);
2
3
var
ippopay_instance
=
new
Ippopay
({
4
public_key
:
'YOUR_PUBLIC_KEY'
,
5
secret_key
:
'YOUR_SECRET_KEY'
,
6
});
Copied!
Create an Order
1
ippopay_instance
.
createOrder
({
2
amount
:
10.00
,
3
currency
:
'INR'
,
4
payment_modes
:
"cc,dc,nb,upi"
,
5
customer
:
{
6
name
:
"Test"
,
7
email
:
"
[email protected]
"
,
8
phone
:
{
9
country_code
:
"91"
,
10
national_number
:
"9876543210"
11
}
12
}
13
},
function
(
err
,
data
){
14
console
.
log
(
data
);
15
});
Copied!
Get Transaction Details of Order
1
ippopay_instance
.
orderTransactionDetails
({
2
orderId
:
'ORDER_ID'
3
},
function
(
err
,
data
){
4
console
.
log
(
data
);
5
});
Copied!
Author
This component is written by
IppoPay
.
License
IppoPay 2021 © All Rights Reserved.
IppoPay
Server Side Integrations - Previous
PHP Client
Next - eCommerce Integrations
WooCommerce
Last modified
1yr ago
Copy link
Contents
Ippopay Node SDK
Installation
Documentation
Author
License