Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 871 Bytes

AmazonPayV2CustomerInitializeOptions.md

File metadata and controls

38 lines (26 loc) · 871 Bytes

@bigcommerce/checkout-sdk / AmazonPayV2CustomerInitializeOptions

Interface: AmazonPayV2CustomerInitializeOptions

A set of options that are required to initialize the customer step of checkout in order to support AmazonPayV2.

When AmazonPayV2 is initialized, a sign-in button will be inserted into the DOM. When the customer clicks on it, they will be redirected to Amazon to sign in.

<!-- This is where the Amazon Pay button will be inserted -->
<div id="signInButton"></div>
service.initializeCustomer({
    methodId: 'amazonpay',
    amazonpay: {
        container: 'signInButton',
    },
});

Table of contents

Properties

Properties

container

container: string

The ID of a container which the sign-in button should insert into.