payment-templates
v1.1.1
Published
A CLI tool for adding payment method templates to your Backend express Project.
Maintainers
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:
- Install ts-node globally:
npm install -g ts-nodenpm install -g payment-templatesUsage
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>Commands
add <method>: 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:
npx payment-templates add StripeAdding Razorpay Template
To add a Razorpay payment method template for a project, run:
npx payment-templates add RazorPayAfter Running the Command:
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.
License
This project is licensed under the ISC License.
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].
