PaymentErrorCode

Since: BlackBerry 10.2.0

#include <bb/platform/PaymentErrorCode>

To link against this class, add the following line to your .pro file: LIBS += -lbbplatform

The errors that can be returned by the Payment Service.


Overview

Public Types Index

enum Type

None 0, Canceled 1, Busy 2, Failed 3, NoNetwork 8

Public Types

Type

The possible PaymentReply::errorCode() values returned from the Payment Service.

None 0

No error occurred.

Canceled 1

User canceled the request.

PaymentReply::errorInfo() will not be populated.

Since:

BlackBerry 10.2.0

Busy 2

The Payment Service is busy.

Only one transaction can occur at a time. PaymentReply::errorInfo() will not be populated.

Since:

BlackBerry 10.2.0

Failed 3

Payment Service failed.

See PaymentReply::errorInfo() and PaymentReply::errorText() for more detail.

Since:

BlackBerry 10.2.0

NoNetwork 8

No network connection on the device.

Direct the user to Settings > Network Connections to enable a Wi-Fi or mobile connection. PaymentReply::errorInfo() will not be populated.

Since:

BlackBerry 10.2.0

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus