https://github.com/rizki36/xendit-integration
https://github.com/rizki36/xendit-integration
express prisma-orm xendit
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rizki36/xendit-integration
- Owner: Rizki36
- Created: 2023-05-08T17:04:31.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-09T15:17:05.000Z (about 2 years ago)
- Last Synced: 2025-01-30T09:41:54.037Z (4 months ago)
- Topics: express, prisma-orm, xendit
- Language: TypeScript
- Homepage:
- Size: 76.2 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Xendit Integration
Simple payment integration with xendit
### Prerequisites
- Xendit account
- Ngrok### How To Run
- `yarn install`
- copy `.env.example` to `.env`
- `npx prisma migrate dev`
- `yarn dev`### Xendit Configuration
- Signup to Xendit
- Go to settings#### Setup Secret Key
- Click on Api keys![]()
- Generate secret key![]()
- Copy secret key to .env#### Setup Callback
- Run ngrok `ngrok http 3000`
- Copy ngrok url
- Go to Callback Url- FVA paid : replace_with_ngrok_url/v1/payment/va/callback-paid
- FVA created : replace_with_ngrok_url/v1/payment/va/callback-created