Skip to content

Latest commit

 

History

History
63 lines (35 loc) · 1.55 KB

BraintreeVenmoButtonInitializeOptions.md

File metadata and controls

63 lines (35 loc) · 1.55 KB

@bigcommerce/checkout-sdk / BraintreeVenmoButtonInitializeOptions

Interface: BraintreeVenmoButtonInitializeOptions

Table of contents

Properties

Methods

Properties

buyNowInitializeOptions

Optional buyNowInitializeOptions: Object

The options that are required to initialize Buy Now functionality.

Type declaration

Name Type
getBuyNowCartRequestBody? () => void | BuyNowCartRequestBody

currencyCode

Optional currencyCode: string

The option that used to initialize a PayPal script with provided currency code.


style

Optional style: Pick<PaypalStyleOptions, "color" | "layout" | "size" | "label" | "shape" | "tagline" | "fundingicons" | "height">

A set of styling options for the checkout button.

Methods

onError

Optional onError(error): void

A callback that gets called on any error.

Parameters

Name Type Description
error BraintreeError | StandardError The error object describing the failure.

Returns

void