[@bigcommerce/checkout-sdk](../README.md) / BraintreePaypalCustomerInitializeOptions

# Interface: BraintreePaypalCustomerInitializeOptions

## Table of contents

### Properties

- [buttonHeight](BraintreePaypalCustomerInitializeOptions.md#buttonheight)
- [container](BraintreePaypalCustomerInitializeOptions.md#container)

### Methods

- [onClick](BraintreePaypalCustomerInitializeOptions.md#onclick)
- [onError](BraintreePaypalCustomerInitializeOptions.md#onerror)

## Properties

### buttonHeight

• `Optional` **buttonHeight**: `number`

___

### container

• **container**: `string`

The ID of a container which the checkout button should be inserted into.

## Methods

### onClick

▸ **onClick**(): `void`

A callback that gets called when wallet button clicked

#### Returns

`void`

___

### onError

▸ **onError**(`error`): `void`

A callback that gets called on any error instead of submit payment or authorization errors.

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `error` | `default` \| `BraintreeError` | The error object describing the failure. |

#### Returns

`void`
