paymentservice_error_t

Possible Payment Service errors.

Synopsis:

#include <bps/paymentservice.h>
 
typedef enum {
      PAYMENTSERVICE_ERROR_USER_CANCELLED = 1   
      PAYMENTSERVICE_ERROR_SYSTEM_BUSY = 2   
      PAYMENTSERVICE_ERROR_PAYMENTSERVICE_FAILED = 3   
      PAYMENTSERVICE_ERROR_NO_NETWORK = 8   
} paymentservice_error_t;

Since:

BlackBerry 10.2.0

Data:

PAYMENTSERVICE_ERROR_USER_CANCELLED
This error occurs when a user cancels the request.

paymentservice_event_get_error_info() will not contain any additional information to diagnose the problem.

PAYMENTSERVICE_ERROR_SYSTEM_BUSY
This error occurs when a user attempts to purchase more than one item at a time.

paymentservice_event_get_error_info() will not contain any additional information to diagnose the problem.

PAYMENTSERVICE_ERROR_PAYMENTSERVICE_FAILED
Payment Service failed.

See paymentservice_event_get_error_text() and paymentservice_event_get_error_info() for more detail.

PAYMENTSERVICE_ERROR_NO_NETWORK
No network connectivity on device.

The request cannot be completed until the device connects to a network. paymentservice_event_get_error_info() will not contain any additional information to diagnose the problem.

Library:

libbps (For the qcc command, use the -l bps option to link against this library)

Description:

This enumeration defines the Payment Service errors.

Last modified: 2014-09-30



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

comments powered by Disqus