Skip to content

Latest commit

 

History

History
38 lines (20 loc) · 828 Bytes

ApplePayButtonInitializeOptions.md

File metadata and controls

38 lines (20 loc) · 828 Bytes

@bigcommerce/checkout-sdk / ApplePayButtonInitializeOptions

Interface: ApplePayButtonInitializeOptions

A set of options that are required to initialize ApplePay in cart.

When ApplePay is initialized, an ApplePay button will be inserted into the DOM. When a customer clicks on it, it will trigger Apple sheet.

Table of contents

Properties

Methods

Properties

buttonClassName

Optional buttonClassName: string

The class name of the ApplePay button style.

Methods

onPaymentAuthorize

onPaymentAuthorize(): void

A callback that gets called when a payment is successfully completed.

Returns

void