Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.39 KB

GooglePayButtonInitializeOptions.md

File metadata and controls

40 lines (24 loc) · 1.39 KB

@bigcommerce/checkout-sdk / GooglePayButtonInitializeOptions

Interface: GooglePayButtonInitializeOptions

Table of contents

Properties

Properties

buttonColor

Optional buttonColor: Default | Black | White

The color of the GooglePay button that will be inserted. black (default): a black button suitable for use on white or light backgrounds. white: a white button suitable for use on colorful backgrounds.


buttonType

Optional buttonType: Long | Short

The size of the GooglePay button that will be inserted. long: "Buy with Google Pay" button (default). A translated button label may appear if a language specified in the viewer's browser matches an available language. short: Google Pay payment button without the "Buy with" text.


buyNowInitializeOptions

Optional buyNowInitializeOptions: GooglePayBuyNowInitializeOptions

The options that are required to initialize Buy Now functionality.