Shipping choice extension point
Learn how to configure the shipping choice extension point
The Digital River app provides an extension point for setting additional details for the shipping choice element such as serviceLevel
and description
based on the client’s business requirements. The checkout request sends this information, if provided, to Digital River.
Important: It is required that you configure the shipping choice extension point if you are selling physical products.
The Digital River app provides a configuration called Shipping Choice Info - Provider Name.
If this configuration is empty (default setting), the application will not send serviceLevel
and description
information in the shipping choice element of the checkout request.
You can implement an Apex interface that Digital River Application delivers as part of the DRB2B_ShippingChoiceProvider
package.
You can specify the Apex class that implements this interface as a provider of Shipping Choice information for the checkout flow.
An example of such a class is customShippingChoiceProvider
.
The following example provides sample code for this class:
If the value for either serviceLevel
or description
is missing for a specific Delivery Method, the checkout request will omit the field.
Last updated