https://github.com/ekoindia/aeps-gateway-lib
A small Javascript library to integrate Eko's AePS Gateway (Cashout) solution into any website.
https://github.com/ekoindia/aeps-gateway-lib
aeps aeps-gateway-lib cashout eko javascript-library npci
Last synced: about 1 month ago
JSON representation
A small Javascript library to integrate Eko's AePS Gateway (Cashout) solution into any website.
- Host: GitHub
- URL: https://github.com/ekoindia/aeps-gateway-lib
- Owner: ekoindia
- License: mit
- Created: 2020-04-01T16:11:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-12-24T07:28:57.000Z (5 months ago)
- Last Synced: 2025-04-16T00:07:57.848Z (about 1 month ago)
- Topics: aeps, aeps-gateway-lib, cashout, eko, javascript-library, npci
- Language: JavaScript
- Homepage: https://developers.eko.in/docs/aeps
- Size: 828 KB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Eko AePS Gateway Javascript Library
Javascript library to easily integrate Eko's AePS Gateway solution into a website[](https://github.com/ekoindia/aeps-gateway-lib/issues) [](https://www.npmjs.com/package/@ekoindia/aeps-gateway-lib) [](https://github.com/ekoindia/aeps-gateway-lib)  [](https://github.com/ekoindia/aeps-gateway-lib/blob/master/LICENSE)
![]()

---
## Installation
`npm install -S @ekoindia/aeps-gateway-lib`
## Usage
### 1. Include Library
```html```
### 2. Setup AePS on page load
```htmlconst aeps = new EkoAEPSGateway();
// Configure your developer API details...
aeps.config({
partner_name: "Example Company INC",
initiator_logo_url: "https://example.com/my-logo.png",
initiator_id: "9962981729",
developer_key: "becbbce45f79c6f5109f848acd540567",
secret_key: "y4aNr2cuSuaX2fCsfXMVopqvaZtx9MKHCcsF73fHxvc=",
secret_key_timestamp: "1585999782835",
user_code: "20810200",
environment: "uat"
});// Configure callback URL for transaction-confirmation and for getting final result...
aeps.setCallbackURL('https://example.com/aeps/callback');```
### 3. Open AePS Popup whenever needed (ex: on a button click)
```javascript
aeps.open();
```## Code Examples
1. [Basic Example](/example/basic_example.html)