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.
To install the payment-templates
CLI tool globally, use the following command:
- Install ts-node globally:
npm install -g ts-node
npm install -g payment-templates
After installation, you can use the payment-templates
command to add payment method templates to your Backend project. The basic syntax is:
npx payment-templates add <method>
add <method>
: Adds a payment method template for the specified project.
Stripe
: Adds a Stripe payment method template.RazorPay
: Adds a Razorpay payment method template.
To add a Stripe payment method template for a project, run:
npx payment-templates add Stripe
To add a Razorpay payment method template for a project, run:
npx payment-templates add RazorPay
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 repository.
This project is licensed under the ISC License.
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
For questions or feedback, reach out to us at [email protected].