09-28-2011 03:14 PM
I updated my Payment SDK from 1.0 to 1.5 (which was recently released here http://us.blackberry.com/developers/platform/payme
Whenever I try to test the Payment SDK out on an actual device, I get the following exception
IllegalApplicationException: In-app purchases can only be made by applications installed via BlackBerry App World. Please ensure this application was installed with BlackBerry App World, and then refresh your application list by launching App World, logging in to My World, and clicking the Refresh List menu item.
My question is, how do I test everything out to make sure its working before deploying it pubicly? It is telling me the application needs to be installed from App World in order to work..... Any help would be greatly appreciated!
09-28-2011 04:39 PM
I havn't actually tried this but theoretically,
You can upload your app to AppWorld, but not submit it for release, and then with a sandbox account download the app from appWorld.
An alternative way that I have done,
is to use the local mode of the in-app purchaseing. This isn't 100% but is good enought for most local testing. (You will need to take this line out before releasing your App through)
09-29-2011 08:22 AM
In the newest version 1.5, do you see a way to do local testing? In the old version you could do it by using the following code:
However, in the newest one I do not see anywhere how you can do some local testing??? Is there something Im missing?
09-29-2011 08:35 AM
Ebscer, you also mentioned uploading the app to AppWorld, not submitting it for release and then creating a sandbox account. How can the sandboxed user find the app to download if it is not 'posted for sale' ?
10-22-2011 02:46 PM
You can find it by holding alt + pressing "TST" then entering in your SKU for the app.
Also, for payment SDK 1.5, I believe the CONNECTION_MODE_LOCAL does not exist anymore.. so the only way to test it is to use sandbox account. Can someone from RIM confirm this?
11-10-2011 09:06 AM
Seriously? No way of testing locally in the Payment SDK 1.5?
Can anyone confirm this? It seems bizarre that the functionality was there in a previous version of the SDK and now it'sbeen removed.
11-10-2011 09:51 AM
11-24-2011 04:27 AM
To my knowledge
Local Testing not available but live testing with sandbox is avaliable.
02-23-2012 12:00 PM
The issue i am facing is with Payment api jar 1.5 On OS5 it gives below error when i called PaymentEngine.purchase()
IllegalArgumentException: classname does not exist in the current application package
Now as per documentation it says that with Payment Api 1.5 they support >= OS5.0 but payment api 1.5 works fine with OS6 same jar has above issue on OS5.0 can you help me here I am bit trouble now due to this.
Need Payment service SDK 1.0 . Please help urgent.