Error types, codes, and objects
Learn about error types, codes, and objects.
Change event error object
When DigitalRiver.js detects a problem with an element, its change event returns an error
contains a type
, code
, and message
.
Create source error object
If a problem occurs during the tokenization request, the createSource
method and on source
event returns an error with a type
and an array of errors[]
, each containing a detailed message
.
Error types
The following table contains a list of DigitalRiver.js error types.
Error codes
The following table contains a list of DigitalRiver.js error codes.
You must only indicate that the payment has been declined, and you must not share the code or descriptions below with the customer.
Last updated