paypal-api-0.1: paypal-api.cabal
name: paypal-api
version: 0.1
cabal-version: >=1.6
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: Copyright (C) 2011 by Stephen Blackheath
maintainer: http://blacksapphire.com/antispam/
stability: alpha
homepage: http://code.haskell.org/paypal-api/
package-url:
bug-reports:
synopsis: PayPal API, currently supporting "ButtonManager"
description: 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.
category: Network
author: Stephen Blackheath
Extra-Source-Files:
example.hs
library
exposed-modules:
Network.PayPal.ButtonManager
Network.PayPal.NVP
Network.PayPal.Types
exposed: True
buildable: True
build-depends: base >=4 && <5, bytestring -any, containers -any,
enumerator -any, failure -any, http-enumerator -any,
http-types -any, monads-fd -any, old-locale -any, text -any,
time -any, wai -any, web-encodings -any
ghc-options:
-fwarn-unused-binds
-fwarn-incomplete-patterns
-fwarn-overlapping-patterns
-fwarn-missing-fields