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

Java Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Developer
Posts: 81
Registered: ‎03-22-2013
My Device: 9900,9930,9790,9780,9330
My Carrier: Blackberry

Re: UserCancelException while implementing In App purchase

[ Edited ]

Hii Peter

 

I have tested my app on devices having OS support 6 and 7. and now it works

 

I performed security wipe on the phone and then reset the my BB ID credentials on the same and due to this it works.

I have supported 7 days subscription for my app. Now my concern is that:

 

1) How to allow user for single time purchse.

 

2) How to get  details such as valid subscription period, subscription end date, subscription renew date and end date.

 

I got the purchase date using getDate() inbuilt method of purchase . But getStartDate() and getEndDate() returns null. I think i have to calculate valid subscription period manually using getDate(). (Correct  me if i am wrong.)

 

Please rply its urgent

Thanks in advance.

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

Re: UserCancelException while implementing In App purchase

Subscription testing will not be 100% accurate if testing using a sandbox account. For real world testing you would need to test using a non-sandbox account.

Garett
@garettBeuk
--
Goodbye everybody!
Highlighted
New Developer
Posts: 81
Registered: ‎03-22-2013
My Device: 9900,9930,9790,9780,9330
My Carrier: Blackberry

Re: UserCancelException while implementing In App purchase

Hii Garett,

 

I will test my app on non sandbox account But my concern is that how  to get details about valid subscription period.

 Because currently in my test app it allow to purchase good multiple times. So can you please tell me how to know about  good is already purchased , valid subscription period,subscription end date  etc.

 

Please reply.