paypal-adaptive-hoops: Client for a limited part of PayPal's Adaptive Payments API

[ deprecated, library, mit, program, web ] [ Propose Tags ]
Deprecated.

[Skip to Readme]
Versions [faq] 0.5.0.0, 0.5.1.0, 0.5.2.0, 0.5.3.0, 0.6.0.0, 0.7.0.0, 0.8.0.0, 0.9.0.0, 0.10.0.0, 0.10.0.1, 0.10.0.2, 0.11.0.0, 0.11.0.1, 0.11.0.2, 0.13.1.0 (info)
Dependencies aeson (==0.8.*), base (>=4.6 && <5.0), bytestring (==0.10.*), data-default (==0.5.*), errors (==1.4.*), http-client (>=0.4.2 && <0.5), lens (>=4.6 && <4.8), lens-aeson (==1.0.*), paypal-adaptive-hoops, text (>=1.1 && <1.3), time (>=1.4 && <1.6), transformers (==0.4.*), vector (>=0.10.12 && <0.11), wreq (==0.3.*) [details]
License MIT
Author Ian Grant Jeffries
Maintainer ian@housejeffries.com
Category Web
Home page https://github.com/fanjam/paypal-adaptive-hoops
Source repo head: git clone git://github.com/fanjam/paypal-adaptive-hoops.git
Uploaded by fanjam at Sun Feb 15 04:40:47 UTC 2015
Distributions NixOS:0.13.1.0
Executables example
Downloads 4680 total (130 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2015-02-15 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for paypal-adaptive-hoops-0.8.0.0

[back to package description]

Intro

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.

PayPal Credentials

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.

Local Tests

cabal test local

Integration Tests

Requires an internet connection, a PayPal sandbox app account, and a PayPal sandbox test user account. The test accounts must each have at least a penny in them.

  1. cp sandbox-template.json sandbox.json

  2. Fill out sandbox.json with your credentials.

  3. cabal test remote