Including DigitalRiverCheckout.js

Learn how to load DigitalRiverCheckout.js on your checkout page

To leverage the functionality included in DigitalRiverCheckout.js, add a script with a src attribute that specifies the library's location.

<script defer="defer" src="https://checkout.digitalriverws.com/v1/DigitalRiverCheckout.js"></script>

We recommend loading DigitalRiverCheckout.js using the async or defer attribute. This won't block DOM rendering during script loading and, as result, can improve your site's user experience. However, with asynchronous loading, make sure you don't make any API calls until after the script finishes executing.

Last updated