Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 736 Bytes

PaypalExpressPaymentInitializeOptions.md

File metadata and controls

36 lines (25 loc) · 736 Bytes

@bigcommerce/checkout-sdk / PaypalExpressPaymentInitializeOptions

Interface: 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,
    },
});

Table of contents

Properties

Properties

useRedirectFlow

Optional useRedirectFlow: boolean