paypal-api: PayPal API, currently supporting "ButtonManager"
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:
You can accept credit cards on your website priced for low transaction volumes.
The drawbacks of using PayPal:
PayPal tries to harvest your customers, by annoying them into becoming PayPal members.
If you are outside the USA, you can't have different shipping rates by country, which is... beyond pathetic.
Downloads
- paypal-api-0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1, 0.2 |
---|---|
Dependencies | base (>=4 && <5), bytestring (>=0.9.1.4 && <0.10), conduit (>=0.5 && <0.6), containers (>=0.2), failure (>=0.1), http-conduit (>=1.5 && <1.6), http-types (>=0.6.0 && <0.8.0), mtl, old-locale, text, time, wai (>=1.3 && <1.4) [details] |
License | BSD-3-Clause |
Copyright | Copyright (C) 2011 by Stephen Blackheath |
Author | Stephen Blackheath |
Maintainer | http://blacksapphire.com/antispam/ |
Category | Network |
Home page | http://projects.haskell.org/paypal-api/ |
Source repo | head: darcs get http://code.haskell.org/paypal-api/ |
Uploaded | by StephenBlackheath at 2012-07-23T19:24:25Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 1647 total (6 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |