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 |
| Required | Specifies your Digital River public API key. |
| Optional | Specifies the language to be used in localization. If not provided, the browser language is used. |
| Required | Displays the logo displayed within the experience. |
| Optional | Supports "modal" or "fullPage". Defaults to "fullPage". Modal:
|
| 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. |
| Optional | Indicates the page where the user experience is redirected after completing an order. |
Last updated