01-29-2013 12:21 PM
I built an app with in-app purchases, and in debug mode and CONNECTION_MODE_LOCAL all worked fine.
But now, when the app is in Vendor portal and Digital Goods are approved for sale, I can test real purchase process and now I got a few problems.
1. Payment pop-up does not always open. Meaning sometimes it's opened, sometimes not... I found, that after some delay (minute or more), all works fine too. Then debugged located the source: it's caused by purchases check process started on app start, which fails with exception like "The app must be installed from App World to use payment system".
Question - can the Payment System be configured to work simultaneously and start new purchase not waiting for other purchases check?
2. Another issue - after purchase done (or rather - payment failed), I got a message "Invalid parent application for digital good.". I'm trying to buy the digital good by ID registered in the app with same App.ID (but now - new signing keys and so - new Package ID).
Q1: Can this be caused by Package ID flushed after the digital goods approved? Any other reason?
Q2: Is there a way to refresh Digital Goods without changing ID's?
Any help highly apretiated,
Solved! Go to Solution.
01-29-2013 01:19 PM
For #1 - No, Payment interactions can only occur one at a time in sequence currently.
For #2 - This error is not related to Pckage ID, it usually means that the app was side-loaded to the device. To test your purchases you need to download via the BlackBerry World sandbox.
01-29-2013 01:57 PM
Thanks for reply. Your clarification was very helpful.
1. OK, I got it, will try to handle this some way.
2. I installed an app from App World via Development Mode and it allowed me to sucessfully comlplete the payment.
More good news - Payment System looks to be much better responding in "release" mode, so I almost can't see a delay with payments check.
Let's consider this closed.
01-30-2013 04:14 AM
01-30-2013 07:50 AM
01-30-2013 08:21 AM
01-30-2013 08:29 AM
Hopefully someday the sandbox mode can be application specific as well and not have to open up all the apps to this mode.
Would that be for opening up to Beta testers before publishing? Or distributing free copies of the app? Or both?
01-30-2013 08:48 AM
01-30-2013 01:42 PM