https://github.com/imdurgadas/serverless-payment-razorpay
Serverless APIs for RazorPay Integration using Serverless Framework
https://github.com/imdurgadas/serverless-payment-razorpay
aws-secrets-manager lambda lambda-functions razorpay serverless serverless-framework serverless-offline
Last synced: 7 months ago
JSON representation
Serverless APIs for RazorPay Integration using Serverless Framework
- Host: GitHub
- URL: https://github.com/imdurgadas/serverless-payment-razorpay
- Owner: imdurgadas
- License: mit
- Created: 2022-10-22T17:48:29.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-09T10:09:17.000Z (10 months ago)
- Last Synced: 2025-01-16T03:54:57.787Z (9 months ago)
- Topics: aws-secrets-manager, lambda, lambda-functions, razorpay, serverless, serverless-framework, serverless-offline
- Language: JavaScript
- Homepage:
- Size: 309 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Serverless API for RazorPay Integration using Serverless Framework
### RazorPay
- Dashboard: https://dashboard.razorpay.com/
- Documentation (Build): https://razorpay.com/docs/payments/server-integration/nodejs/payment-gateway/build-integration
- Documentation (Test): https://razorpay.com/docs/payments/server-integration/nodejs/payment-gateway/test-integration### Environment Variables
- **RAZORPAY_API_KEY** : RazorPay Client Id
- **RAZORPAY_API_SECRET**: RazorPay Client Secret
- **REDIRECT_URL**: Frontend Redirection URL on Payment Verification.You can replace the values in the `serverless.yml` file. In our example, we are referencing AWS Secrets Manager.
### Deploy to Cloud
`sls deploy`
### Test Locally
`sls offline start`