Initializing DigitalRiver.js
Learn how to use your public API key to initialize DigitalRiver.js
Last updated
Learn how to use your public API key to initialize DigitalRiver.js
Last updated
Use DigitalRiver(publishableAPIKey)
to create an instance of the DigitalRiver
object. The function requires a .
It also accepts options
(optional) using the following format: DigitalRiver(publishableApiKey[, options])
In options
, you can specify a locale
to localize the library.
For a list of accepted values, refer to .
The following example translates the various display and error strings within DigitalRiver.js into Italian by assigning it
to locale
.