paypal-refund-by-ip

1.0.0 • Public • Published

A simple bulk refund tool for the PayPal REST API. Use at your own risk.

npm install -g paypal-bulk-refund

PAYPAL_CLIENT_ID=xxx PAYPAL_CLIENT_SECRET=yyy PAYPAL_MODE=live paypal-bulk-refund my-transaction-ids.txt

PAYPAL_MODE defaults to live. You can also set it to sandbox.

See the PayPal documentation for more information about obtaining a client ID and secret for use with the REST API.

my-transaction-ids.txt can be any file containing one PayPal transaction ID per line, and nothing else.

If errors occur for some transactions the tool will continue, and print a summary at the end.

To obtain transaction IDs in bulk, use the export feature of the PayPal website.

Hope you find it helpful!

Readme

Keywords

Package Sidebar

Install

npm i paypal-refund-by-ip

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

4.44 kB

Total Files

5

Last publish

Collaborators

  • boutell