@bigcommerce/checkout-sdk / ShippingInitializeOptions
A set of options that are required to initialize the shipping step of the current checkout flow.
Some payment methods have specific requirements for setting the shipping details for checkout. For example, Amazon Pay requires the customer to enter their shipping address using their address book widget. As a result, you may need to provide additional information in order to initialize the shipping step of checkout.
Name | Type |
---|---|
T |
{} |
-
↳
ShippingInitializeOptions
• Optional
amazonpay: AmazonPayV2ShippingInitializeOptions
The options that are required to initialize the shipping step of checkout when using AmazonPayV2.
• Optional
methodId: string
ShippingRequestOptions.methodId
• Optional
params: T
The parameters of the request, if required.
• Optional
stripeupe: StripeUPEShippingInitializeOptions
The options that are required to initialize the shipping step of checkout when using Stripe Upe Link.
• 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.