The paypal-api package

[Tags: bsd3, library]

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:


Properties

Versions0.1, 0.2
Dependenciesbase (==4.*), bytestring, containers, enumerator, failure, http-enumerator, http-types, monads-fd, old-locale, text, time, wai, web-encodings
LicenseBSD3
CopyrightCopyright (C) 2011 by Stephen Blackheath
AuthorStephen Blackheath
Maintainerhttp://blacksapphire.com/antispam/
Stabilityalpha
CategoryNetwork
Home pagehttp://code.haskell.org/paypal-api/
Upload dateTue Aug 30 11:26:23 UTC 2011
Uploaded byStephenBlackheath
Downloads191 total (23 in last 30 days)

Modules

[Index]

Downloads

Maintainers' corner

For package maintainers and hackage trustees