This is a TypeScript rewrite of the original zarinpal-checkout package. It provides a simple interface for interacting with the ZarinPal payment gateway.
-
This package uses
gotinstead ofrequest-promisedue to the deprecation of the latter package. -
I removed the
TokenBeautifiermethod from the package, which resulted in a major version update to1.0.0.
To install zarinpal-checkout-ts, run:
npm install zarinpal-checkout-tsPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.