NOTE: This field is now deprecated. Please use FulfillmentOption instead.
Use an object based on ShippingOption
to represent each shipping option that appears in the payment sheet when the customer interacts with Meta Pay.
When PaymentShippingType
is PICKUP
, use ShippingOption
to pass in pickup location.
ShippingOption
provides data for PaymentDetails.
Property | Type | Description | Required |
---|---|---|---|
| The cost of the shipping option. | Yes | |
| string | The unique identifier for the shipping option. | Yes |
| string | Information about the shipping option that appears to the customer. | Yes |
| string | Additional information about the shipping option that appears to the customer. | No |
| boolean | When true this option should appear selected in the user interface unless the customer changes it. | No |