@bigcommerce/checkout-sdk / PaypalExpressPaymentInitializeOptions
A set of options that are required to initialize the PayPal Express payment method.
service.initializePayment({
methodId: 'paypalexpress',
});
An additional flag can be passed in to always start the payment flow through a redirect rather than a popup.
service.initializePayment({
methodId: 'paypalexpress',
paypalexpress: {
useRedirectFlow: true,
},
});
• Optional
useRedirectFlow: boolean