Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 828 Bytes

MasterpassPaymentInitializeOptions.md

File metadata and controls

35 lines (24 loc) · 828 Bytes

@bigcommerce/checkout-sdk / MasterpassPaymentInitializeOptions

Interface: MasterpassPaymentInitializeOptions

A set of options that are required to initialize the Masterpass payment method.

<!-- This is where the Masterpass button will be inserted -->
<div id="wallet-button"></div>
service.initializePayment({
    methodId: 'masterpass',
    masterpass: {
        walletButton: 'wallet-button'
    },
});

Table of contents

Properties

Properties

walletButton

Optional walletButton: string

This walletButton is used to set an event listener, provide an element ID if you want users to be able to launch the ChasePay wallet modal by clicking on a button. It should be an HTML element.