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

Payment Service

Reply
Contributor
Posts: 14
Registered: ‎10-12-2013
My Device: BB10
My Carrier: idea

in-app purchase in sand box testing problem

Hi!

 

A month ago I was able to test successfully an in-app purchase in my app (production mode, being in sandbox, installed from BB World in dev mode). But now I can't anymore.

 

If I use test mode, it works fine.

Method requestPurchase  and  onPurchaseFinished is never called now .

 

 

Please any one help me in this.

Contributor
Posts: 14
Registered: ‎10-12-2013
My Device: BB10
My Carrier: idea

Re: in-app purchase in sand box testing problem

Please help on this as soon as possible for  native SDK blackberry 10.

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: in-app purchase in sand box testing problem

Have you made any changes to your app at all? The service is still working properly, so my suspicion is an issue with how your app or how it is configured in the vendor portal.

 

How did you install the app to your device? 

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 14
Registered: ‎10-12-2013
My Device: BB10
My Carrier: idea

Re: in-app purchase in sand box testing problem

Hi

 

 

i  changed the home page now and several changes i made in the code .But the  calling payment class and rest of the functions remains same.Its working fine in the local mode.

 

 

Then i ported just like i did before .First i created the product ,then uploaded the build  ,after that created the virtual goods .then from the blackberry app world ->settings->development mode->content id,after giving the correct content id ,i downloaded it to my device.

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: in-app purchase in sand box testing problem

If you debug this version of the app, what happens? I would expect error messages to be displayed.

 

Also, from which folder are you grabbing the signed BAR file being uploaded to BlackBerry World? Have you checked the timestamp to make sure it;s the right one?

Garett
@garettBeuk
--
Goodbye everybody!
Contributor
Posts: 14
Registered: ‎10-12-2013
My Device: BB10
My Carrier: idea

Re: in-app purchase in sand box testing problem

when i debug the app ,i am not getting any error actually.when i click on the custom 'BUY' button ,it invokes the payment class in the code ,and rest of the functions will be called one by one.

 

I took the bar file from o.le-v7-g folder and i have checked the timestamp also.Right one  i uploaded for testing.

 

I am very confused why it works fine in local mode and in sand box testing ,the requestpurchase is not invoked .
Till that function ,everything works fine.But this function is not invoking in my code while doing sand box testing.

 

 

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: in-app purchase in sand box testing problem


sajana wrote:

when i debug the app ,i am not getting any error actually.when i click on the custom 'BUY' button ,it invokes the payment class in the code ,and rest of the functions will be called one by one.

 

 


Are you testing in Local or Production mode? Does the purchase complete without returning any sort of error (in the logic or via a dialog)?

Garett
@garettBeuk
--
Goodbye everybody!
Developer
Posts: 849
Registered: ‎03-03-2011
My Device: Z10

Re: in-app purchase in sand box testing problem

Are you purchasing from a card?
--------------------------------------------------------------------------------------
Leader of Ljubljana BlackBerry Developer Group
BlackBerry Certified Builder for Native Application Development
Contributor
Posts: 14
Registered: ‎10-12-2013
My Device: BB10
My Carrier: idea

Re: in-app purchase in sand box testing problem

i am  trying to purchase  from card.......

also doing the testing in production mode(sand box)....the purchase is not complete and not returning any error.

when i click the buy button ,nothing is happening

..

Retired
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: in-app purchase in sand box testing problem


sajana wrote:

i am  trying to purchase  from card.......

..


There's the relevant info! Another poster tried the same thing:

http://supportforums.blackberry.com/t5/Payment-Service/Production-in-app-purchase-from-sandbox-probl...

 

Please check that thread for more info

Garett
@garettBeuk
--
Goodbye everybody!