Skip to content

Latest commit

 

History

History
93 lines (53 loc) · 2.16 KB

ExecutePaymentMethodCheckoutOptions.md

File metadata and controls

93 lines (53 loc) · 2.16 KB

@bigcommerce/checkout-sdk / ExecutePaymentMethodCheckoutOptions

Interface: ExecutePaymentMethodCheckoutOptions

A set of options that are required to pass the customer step of the current checkout flow.

Some payment methods have specific suggestion for customer to pass the customer step. For example, Bolt suggests the customer to use their custom checkout with prefilled form values. As a result, you may need to provide additional information, error handler or callback to execution method.

Hierarchy

Table of contents

Properties

Methods

Properties

methodId

Optional methodId: string

Inherited from

CustomerRequestOptions.methodId


params

Optional params: Object

The parameters of the request, if required.

Inherited from

CustomerRequestOptions.params


timeout

Optional timeout: default

Provide this option if you want to cancel or time out the request. If the timeout object completes before the request, the request will be cancelled.

Inherited from

CustomerRequestOptions.timeout

Methods

checkoutPaymentMethodExecuted

Optional checkoutPaymentMethodExecuted(data?): void

Parameters

Name Type
data? CheckoutPaymentMethodExecutedOptions

Returns

void


continueWithCheckoutCallback

Optional continueWithCheckoutCallback(): void

Returns

void