Install and configure the Digital River script
Install the Digital River script in order to use Prebuilt Checkout.
Next, you install the Digital River script in the BigCommerce Script Manager. Doing this overrides the native BigCommerce checkout with the Digital River global checkout. Use the following steps:
Click Storefront in the app menu on the left and then click Script Manager. The Script Manager page appears.
Click Create a Script.
Enter
Digital River Checkout
in the Name of script and Description fields.Select the Footer option for Location on page.
Select the All pages option for Select pages where script will be added.
Select the Essential option for the Script category.
Select the Script option for the Script type.
Copy the script your Digital River Project Manager provided and paste it into the Script contents field.
Configure the Digital River Script
The following script shows an example of a Digital River Script configured for Prebuilt Checkout:
Use the attributes provided below to provide Prebuilt Checkout configuration attributes to this script:
Attribute
Required/Optional
Description
data-dr-apiKey
Required
Specifies your Digital River public API key.
data-dr-language
Optional
Specifies the language to be used in localization. If not provided, the browser language is used.
data-dr-logo
Required
Displays the logo displayed within the experience.
data-dr-display-mode
Optional
Supports "modal" or "fullPage". Defaults to "fullPage".
Modal:
data-dr-checkout-style
Optional
Indicates the style overrides for the user experience. If not provided, the library will attempt to determine the appropriate colors from the website's CSS.
data-dr-thank-you-page
Optional
Indicates the page where the user experience is redirected after completing an order.
Last updated