PaymentError

This object encapsulates the attributes of a payment error.

Will be returned as a parameter to callbackOnFailure for any applicable payment function.


Supported Platform(s)

- BlackBerry 10
View Supported Platform Table
APIBB5.0BB6.0BB7.0PB1.0PB2.0BB10Ripple
errorID           Y 
errorText           Y 

Configuration Document Settings

To use all of the API described for this object, you must ensure the following settings are in your configuration document:

You must declare the feature element(s) below in your configuration document:

Feature IDBB5.0BB6.0BB7.0PB1.0PB2.0BB10Ripple
<feature id="blackberry.payment" />           Y 

Permission Elements (PlayBook and BlackBerry 10+)
This API does not require a <permission> element to be declared in the configuration document of your BlackBerry WebWorks Application.

Properties

Number errorID
String errorText

Properties

Number errorID


The reference number associated with the specific error in corresponding to the following values.

  • Unexpected Application Error = -1
  • User Cancelled = 1
  • Payment System Busy = 2
  • General Payment System Error = 3
  • Digital Good not Found = 4
  • Illegal Application Error = 5 [BlackBerry OS 5.0+ only]


Supported Platforms
 - BlackBerry 10

String errorText


The message for the particular error. In addition to descriptive text, error code may appear at the end of the message.


Supported Platforms
 - BlackBerry 10

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Feb 11 2013 14:51:08 GMT-0500 (EST)