https://github.com/cloudipsp/node-js-sdk
Fondy node SDK
https://github.com/cloudipsp/node-js-sdk
fondy js nodejs payment payment-gateway payment-integration sdk
Last synced: about 1 year ago
JSON representation
Fondy node SDK
- Host: GitHub
- URL: https://github.com/cloudipsp/node-js-sdk
- Owner: cloudipsp
- License: gpl-3.0
- Created: 2019-10-18T12:02:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T08:48:43.000Z (about 3 years ago)
- Last Synced: 2025-03-25T12:51:17.330Z (about 1 year ago)
- Topics: fondy, js, nodejs, payment, payment-gateway, payment-integration, sdk
- Language: JavaScript
- Size: 28.3 KB
- Stars: 9
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IPSP NODEJS-SDK (beta)
## Payment service provider
A payment service provider (PSP) offers shops online services for accepting electronic payments by a variety of payment methods including credit card, bank-based payments such as direct debit, bank transfer, and real-time bank transfer based on online banking. Typically, they use a software as a service model and form a single payment gateway for their clients (merchants) to multiple payment methods.
[read more](https://en.wikipedia.org/wiki/Payment_service_provider)
## Installation
```cmd
npm install cloudipsp-node-js-sdk
```
#### Manual installation
```cmd
git clone -b master https://github.com/cloudipsp/node-js-sdk.git
```
## Required
```
node >= 7
```
## Simple Start
```javascript
const CloudIpsp = require('cloudipsp-node-js-sdk')
const fondy = new CloudIpsp(
{
merchantId: 1396424,
secretKey: 'test'
}
)
const requestData = {
order_id: 'Your Order Id',
order_desc: 'test order',
currency: 'USD',
amount: '1000'
}
fondy.Checkout(requestData).then(data => {
console.log(data)
}).catch((error) => {
console.log(error)
})
```
### Notice
```merchant_data``` must be string.
Example:
```
const merchant_data = JSON.stringify([{
email: 'test@fondy.eu',
comment: 'Some comment'
}])
```
# Api
See [docs](https://docs.fondy.eu/)
## Examples
[Checkout examples](https://github.com/cloudipsp/node-js-sdk/tree/master/examples)