The paypal-api package

[ Tags: bsd3, library, network ] [ Propose Tags ]

This package is a moderately successful attempt to tame the confusingness of PayPal's API using Haskell types. Currently only the ButtonManager API is supported.

Type families are used extensively to encode PayPal's validation rules, so they can be checked at compile time. Haddock doesn't get all the type family stuff across, so you may find it easier to read the source code. Because PayPal's documents leave you to guessing, it will take trial and error to get the logic in this package correct, so please contribute your fixes. Code changes to this package are likely to break your code, so please depend on a specific version.

Take a look at example.hs.

The benefits of using PayPal:

The drawbacks of using PayPal:


Versions 0.1, 0.2
Dependencies base (==4.*), bytestring (>= && <0.10), conduit (==0.5.*), containers (>=0.2), failure (>=0.1), http-conduit (==1.5.*), http-types (>=0.6.0 && <0.8.0), mtl, old-locale, text, time, wai (==1.3.*) [details]
License BSD3
Copyright Copyright (C) 2011 by Stephen Blackheath
Author Stephen Blackheath
Category Network
Home page
Source repo head: darcs get
Uploaded Mon Jul 23 19:24:25 UTC 2012 by StephenBlackheath
Distributions NixOS:0.2
Downloads 772 total (13 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees