11-12-2011 11:50 AM
We have asked this question on other forums and asked a BlackBery employee but nobody can answer it and we are getting close to a deadline.
Here it is:
We have an application where the license type of the application has been set to a 30-day subscription. However, we will need to check whether the subscription is still valid inside the application since AppWorld will not remove the application when the subscription stops or is cancelled. And here comes the problem...
We havn't found a way to check the status of the subscription. A lot of people, including the BlackBerry employee, mention to use the Payement sdk. Though, that does not work since the payment sdk is for in-app purchases (or in-app subscription purchases). We don't do that, the subscription of our app starts when the users downloads it from appworld and agrees to the subscription.
We did try to use the payment sdk and uploaded a draft to appworld. After that we used the AppWorld sandbox method to install the application (on AppWorld is shows nicely with a subscription icon), however, when we request information using the SKU or ID of the application and the payment sdk, no purchases are found....
So we really have no idea how to check this and appreciate all the help we can get.
11-13-2011 07:08 AM
To summarize, I need help with how we can check the subscription status of the application. The application will be downloaded as a subscription app from AppWorld and the Payment API only allows you to check purchases made inside the application->so we can't use the payment api to check the subscription.
It would be great if someone could point us in the correct direction or maybe show part of an example. Thanks
11-16-2011 07:51 AM
Well, since the sandbox testing always crashed we released the app shortly in the market and bought it with another appworld account:
All the requests to the payment API result in false or null, so apprently the payment api doesn't have access to the purchase information of the main application (it only has access to the purchase information of digital goods purchased within the main application).
So how can we check whether a subscription is still valid when it's not a digital good?? Could somebody from the BlackBerry team please respond? We are quite disappointed that there is no information on this...
11-30-2011 08:40 AM
12-04-2011 10:42 AM
Thanks for the help, though we have our own license system, and the question has nothing to do about a license system.
We are still waiting for replies. Did anyone have success implementing the subscription license type? All the purchase objects we read inside the app for the subscription license return null... Even when we use in-app subscription...
So it looks like something is broken...