GitHub

DaffPaypalExpressPaymentData

import { DaffPaypalExpressPaymentData } from '@daffodil/paypal'

The data needed to apply a paypal express payment to the user's current cart. Because token generation is done in an earlier step, apply payment response data is identical to request data; the token is simply passed to the cart.

interface DaffPaypalExpressPaymentData {
  token: string
  payerId: string
}

Properties

token
string

The token for the paypal express session.

payerId
string

The customer ID returned by paypal.