Populate shipping methods in Checkout
Learn how to populate shipping methods in Checkout.
Last updated
Learn how to populate shipping methods in Checkout.
Last updated
You can populate the default shipping methods in the Digital River Dashboard. You can also do this by listening to and responding to a shipping callout once a user adds a shipping address within the checkout experience.
You can set default shipping methods in the Digital River Dashboard by creating them in the Logistics section of the settings page.
On the Digital River Dashboard, under Settings, click Prebuilt Checkout. The Prebuilt Checkout page appears.
Find the Logistics section of the page.
In the Default shipping methods subsection of Logistics, .
Click Save.
Use the shipping callout function by completing the following tasks:
Configure the shipping callout URL.
Configure the ability to listen to and respond to a shipping callout.
To configure the shipping callout URL:
On the Digital River Dashboard, under Settings, click Prebuilt Checkout. The Prebuilt Checkout page appears.
Find the Shipping webhook URL subsection of the Webhooks section of the page.
.
Click Save.
When the customer enters an address, your endpoint receives a POST request with the checkout details and the entered shipping address. The sessionId
is the Digital River Checkout Session ID. The sessionUpstreamId
is the BigCommerce Cart Identifier.
The following shows an example:
Your system should provide shipment details and shipping methods for display. The following example shows how to provide the shipping methods and details:
After responding to the shipping callout, the user interface will show these shipping methods.