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

BlackBerry® World™ Development

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

Re: Testing app in DRAFT mode on DevAlpha

Previous purchases never worked for me in DRAFT mode for the PlayBook. I wish the payment sandbox could just create dummy account so you can exercise actual transactions to test. Have a mode called "dummy" or something that maps to an account the developer defines that retains actual information on the transaction server. If RIM wants developers to use in-app purchases more often, then they should provide better ways to test this.
Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Testing app in DRAFT mode on DevAlpha

I have to agree with you John, and that is great feedback. Definitely something being investigated as a go-forward.

 

In BlackBerry 10 the previous purchases do get returned when made within the same app session, which is a pleasant surprise.

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Developer
mzex
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C
My Carrier: Telenor, Mobitel

Re: Testing app in DRAFT mode on DevAlpha

I am developing in Cascades, so i cant rely on Playbook.  I have logic for in app payments when app is starting, and i need to determine, if user has made previous purchases or not, and i realy cant test that in same session. So, for my case, it is essential that i can test app in draft mode. Right now, because of tight deadlines for submitting apps which should be eligible for B4BB i actually submitted my app for review, but i can only hope that it will work as intended, because i was unable to test it properly.

Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Testing app in DRAFT mode on DevAlpha

You could always force the call a bit later in the app lifecycle after a few mock purchases are made. The purchases will be returned in the same manner whether requested at the start of the app or during the run of the app so it should at least validate your code.

 

Not ideal, but for the moment that's what's available...

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Developer
StevenKader
Posts: 635
Registered: ‎02-03-2010
My Device: Z10 LE
My Carrier: Rogers

Re: Testing app in DRAFT mode on DevAlpha

I am also getting Network Error when trying to download from draft mode.  Is it just me or is this the same problem that has been broken for a few weeks now?


Steven Kader at JaredCo
   Follow me on Twitter    |     Mipixi.com :  Web App for Photo Sharing
Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: Testing app in DRAFT mode on DevAlpha

Same issue.
Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.
Developer
mzex
Posts: 368
Registered: ‎06-30-2012
My Device: Playbook, Z10LE, DevAlpha C
My Carrier: Telenor, Mobitel

Re: Testing app in DRAFT mode on DevAlpha

No, we all have same problem, i am getting network error too.

Please use plain text.
Developer
cycletronic
Posts: 113
Registered: ‎03-23-2011
My Device: Playbook, Z10
My Carrier: Platinumtel

After updating to OS 10.0.9.2320, I was able to test in d...

After updating to OS 10.0.9.2320, I was able to test in draft mode successfully, although it had an error on the first attempt and the first install.  Second try everything worked just great, including the payment service!

----------------
WIP game: Melodaeum
My graphically bland but very useful Morse Code trainer: Speed CW
My graphically attractive but boring game: The Rainstorm
Please use plain text.
Developer
willyyr
Posts: 229
Registered: ‎08-14-2009
My Device: Bold 9900, DevAlpha A
My Carrier: Vodafone DE

Re: After updating to OS 10.0.9.2320, I was able to test in d...

I can confirm it's working with the latest update. I had to try a few times but eventually it downloaded correctly.

Willy R.
-
If my post solved your problem, make it easier for others to find by Accepting it as a solution or provide a Kudo if it was helpful for you. Thanks.
Please use plain text.
BlackBerry Development Advisor (Retired)
gbeukeboom
Posts: 2,559
Registered: ‎10-16-2009
My Device: BlackBerry Z10
My Carrier: Bell

Re: After updating to OS 10.0.9.2320, I was able to test in d...

You guys are awesome! I have a blog going live today explaining that the sandbox is back in this build :smileyhappy:

 

It does have a few rough edges though as you have already noticed, downloads and installs may take a few tries and requesting goods purchased in the past does not work currently (fix being worked on).

Garett
@garettBeuk
--
Goodbye everybody!
Please use plain text.