Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/avik-creator/payment-templates-package
It is Package which will help you to add RazorPay and Stripe Templates to your Backend Project.
https://github.com/avik-creator/payment-templates-package
razorpay razorpay-payment razorpay-payment-gateway stipe-payment stripe stripe-checkout stripe-payment typescript
Last synced: about 18 hours ago
JSON representation
It is Package which will help you to add RazorPay and Stripe Templates to your Backend Project.
- Host: GitHub
- URL: https://github.com/avik-creator/payment-templates-package
- Owner: Avik-creator
- Created: 2024-08-18T08:18:24.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-15T17:30:38.000Z (about 2 months ago)
- Last Synced: 2024-09-16T17:42:34.546Z (about 2 months ago)
- Topics: razorpay, razorpay-payment, razorpay-payment-gateway, stipe-payment, stripe, stripe-checkout, stripe-payment, typescript
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/payment-templates
- Size: 43 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Payment Templates CLI
`payment-templates` is a CLI tool for adding payment method templates to your project. It supports various payment methods and allows you to quickly integrate them into your project.
## Installation
To install the `payment-templates` CLI tool globally, use the following command:
1. Install ts-node globally:
```bash
npm install -g ts-node
``````bash
npm install -g payment-templates
```## Usage
After installation, you can use the `payment-templates` command to add payment method templates to your Backend project. The basic syntax is:
```bash
npx payment-templates add
```### Commands
- `add `: Adds a payment method template for the specified project.
### Available Methods
- `Stripe`: Adds a Stripe payment method template.
- `RazorPay`: Adds a Razorpay payment method template.## Examples
### Adding Stripe Template
To add a Stripe payment method template for a project, run:
```bash
npx payment-templates add Stripe
```### Adding Razorpay Template
To add a Razorpay payment method template for a project, run:
```bash
npx payment-templates add RazorPay
```### After Running the Command:
```bash
npx payment-templates add RazorPay
```- The CLI tool includes authentication setup files to help you configure secure payment processing. For more details on how to use these files, refer to the [auth-typescript-template-package](https://github.com/Avik-creator/auth-typescript-template-package) repository.
## License
This project is licensed under the [ISC License](https://opensource.org/licenses/ISC).
## Contributions
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
## Contact
For questions or feedback, reach out to us at [email protected].