Initializing DigitalRiver.js
Learn how to use the Digital River publishable API key.
Last updated
Was this helpful?
Learn how to use the Digital River publishable API key.
Last updated
Was this helpful?
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.
The following example translates the various display and error strings within DigitalRiver.js into Italian by assigning it
to locale
.