Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Payment Service

Reply
Contributor
radwon
Posts: 11
Registered: ‎09-28-2012
Accepted Solution

Payment service error codes

I'm using the native/cascades PaymentManager in test connection mode, and all the different errors have the same code (4). Is this because it is in test mode or will the result be the same on a live connection?

Also is there a list of the error codes for the payment service? I've looked but couldn't find any in the documentation. At the moment the only way I can differentiate between the errors is via the errorText but is this text fixed or likely to change in the future?

Thanks for any help.

Please use plain text.
BlackBerry Development Advisor
gbeukeboom
Posts: 1,841
Registered: ‎10-16-2009
My Carrier: Bell

Re: Payment service error codes

The error code being returned is a bug which I reported a while back but has yet to be resolved. More error codes have also been requested to help handle a wider variety of error responses.

 

A list of error codes can be found here:

http://developer.blackberry.com/native/reference/bb10/com.qnx.doc.bps.lib_ref/com.qnx.doc.bps.lib_re...

 

These codes should get added to the Cascades docs shortly as well.

Garett Beukeboom
BlackBerry Development Advisor
Developer Zone
@garettbeukeboom

--
Think of a great new feature? Find a bug?
Log and track them using the Developer Issue Tracker
Please use plain text.
Contributor
radwon
Posts: 11
Registered: ‎09-28-2012

Re: Payment service error codes

Thanks for the error code list.

Is there a link to the JIRA issue, or an ETA on the fix?

Please use plain text.
BlackBerry Development Advisor
gbeukeboom
Posts: 1,841
Registered: ‎10-16-2009
My Carrier: Bell

Re: Payment service error codes

The bug should only be for local testing mode and is already fixed in an internal OS build, so the next drop should include the fix.

Garett Beukeboom
BlackBerry Development Advisor
Developer Zone
@garettbeukeboom

--
Think of a great new feature? Find a bug?
Log and track them using the Developer Issue Tracker
Please use plain text.