DaffPaypalExpressPaymentData
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.
import { DaffPaypalExpressPaymentData } from '@daffodil/paypal'
interface DaffPaypalExpressPaymentData {
token: string
payerId: string
}
Properties
Name | Type | Description |
---|---|---|
token | string | The token for the paypal express session. |
payerId | string | The customer ID returned by paypal. |