1.0.0 • Published 1 year ago

zarinpal-checkout-ts v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

zarinpal-checkout-ts

This is a TypeScript rewrite of the original zarinpal-checkout package. It provides a simple interface for interacting with the ZarinPal payment gateway.

Differences from the original package

  • This package uses got instead of request-promise due to the deprecation of the latter package.

  • I removed the TokenBeautifier method from the package, which resulted in a major version update to 1.0.0.

Installation

To install zarinpal-checkout-ts, run:

npm install zarinpal-checkout-ts

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT