Client for a limited part of PayPal's Adaptive Payments API https://github.com/fanjam/paypal-adaptive-hoops
|Latest on Hackage:||0.13.1.0|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
A Haskell client for a limited part of PayPal's Adaptive Payments API.
Covers only sending, receiving, and looking up payments. Only supports handling a single payment per request, and doesn't cover sending payments that involve more than two parties.
PayPal has other APIs like the PayPal REST API, but the PayPal REST API doesn't support sending payments.
Getting production approval for the Adaptive Payments API takes some time. You should start the process well before you actually need to go into production. Detailed instructions for doing so are out of the scope of this project, but you can get started here.
Only supports USD. More currencies would be a nice-to-have.
cabal test local
Requires an internet connection, a PayPal sandbox app account, and a PayPal sandbox test user account. The test accounts should have balances between a few dollars and a million dollars (they send pennies around, but expect million dollar transaction attempts to fail from lack of funds).
cp sandbox-template.json sandbox.json
sandbox.jsonwith your credentials.
cabal test remote