paypal-api-0.1: PayPal API, currently supporting "ButtonManager"

Network.PayPal.NVP

Contents

Synopsis

High-level interface

data Service Source

A PayPal service.

sandbox :: ServiceSource

PayPal sandbox.

live :: ServiceSource

PayPal live system.

submit :: (Failure HttpException m, MonadIO m, PayPalRequest req) => Service -> Credentials -> req -> m (Either Response (Status (PayPalResponse req)))Source

Submit a request to PayPal.

Low-level interface

prepareRequest :: (Monad m, PayPalRequest req) => Service -> Credentials -> req -> Request mSource

Construct an HTTP request for the specified PayPal request.