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.

inside custom component

Adobe AIR Development

Reply
New Contributor
carloslimajr
Posts: 3
Registered: ‎05-25-2013
My Device: Playbook
My Carrier: Developfer

Purchase Error 3: Unable to access Payment Service on this device

I implemented the Payment System in my app and I am getting the message in the subject.

 

My PlayBook device has the lastest update.

I used the lastest BlackBerry PlayBook SDK.

 

The code to purchase is:

 

paymentSystem.purchase (null , digitalGoodSKU , null , null , null , null);

 

What could be wrong?

Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Purchase Error 3: Unable to access Payment Service on this device

Is this a debug version on the device?
Please use plain text.
New Contributor
carloslimajr
Posts: 3
Registered: ‎05-25-2013
My Device: Playbook
My Carrier: Developfer

Re: Purchase Error 3: Unable to access Payment Service on this device

No, is the version available in AppWorld.
Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Purchase Error 3: Unable to access Payment Service on this device

What do you have setConnectionMode set to?
Please use plain text.
New Contributor
carloslimajr
Posts: 3
Registered: ‎05-25-2013
My Device: Playbook
My Carrier: Developfer

Re: Purchase Error 3: Unable to access Payment Service on this device

[ Edited ]

My code:

 

paymentSystem = new PaymentSystem();
if (CONFIG::debug) {
paymentSystem.setConnectionMode(PaymentSystem.CONNECTION_MODE_LOCAL);
} else {
paymentSystem.setConnectionMode(PaymentSystem.CONNECTION_MODE_NETWORK);
}

 

It seems that the code is ok.

 

My suspicious is over the device and/or OS because I have another problem that I think is related with this. 

 

Steps I made:

1) opened BlackBerry World App
2) accessed Payment Options
3) selected PayPal
4) entered account and password
5) pressed ok
6) No dialog messages are raised, just return to the BlackBerry World app.

After that, when I access Payment Options again, nothing happens, no dialog box asking payment method. It seems that an error happened, but no messages are showed.

It changes just when I reset the device or turn off/on.

I followed the same steps made before, just changing the payment method to Credit Card. At the end I got the message: "Payment method has been successfully changed"

When I try to buy any app I always got the same message:

Error
There were problems completing this purchase. Please try again or visit BlackBerry World Support for more information. (Error id: 11400)

I tried to buy different apps and virtual goods (in app purchases) but I always get the same error.

Please I appreciate any help.

Thanks.

Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Purchase Error 3: Unable to access Payment Service on this device

So buying any app in app world is causing problems? Then it is probably not your in-app purchase. I would contact App World (as suggested) to see if they can see why this is occuring.
Please use plain text.