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
got
instead ofrequest-promise
due to the deprecation of the latter package. -
I removed the
TokenBeautifier
method from the package, which resulted in a major version update to1.0.0
.
To install zarinpal-checkout-ts
, run:
npm install zarinpal-checkout-ts
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.