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

Safe HaskellNone
LanguageHaskell2010

PayPal.Adaptive.Internal

Synopsis

Documentation

parseErrId :: Value -> Parser Int Source

Exported by PayPal.Adaptive.Internal

requestEnvelope :: Value Source

"en_US" is hardcoded because it's the only supported error language.

getPayInfo :: PayResp -> Either AdaptiveErr PayInfo Source

TODO: this makes the assumption that an empty PayInfo list means the transaction is pending. Is this always right?