12-19-2011 05:29 PM
The package of classes that implements Payment Service SDK 1.0 is net.rimlib.blackberry.api.payment. The package of classes that implements Payment Service SDK 1.5 is net.rimlib.blackberry.api.paymentsdk.
Now, I understand evolving an API, but changing the name of the package that classes reside in is pretty drastic. What floored me, however, was not seeing the move until I was in the midst of coding, after having spent a while thinking about how to implement my use of the API. I looked pretty closely at the 1.5 Development Guide and was unable to find mention of this change; the examples changed but this important change is not listed in the document revision history. Sheesh. Then I went back to the 1.5 Release Notes and again: not a word about the package move. How could this have possibly not been included in release notes? This is such a glaring omission I'm tempted to wonder whether it was intentionally buried.
I hope this information saves some other soul some of the time that I lost in discovering it. I will go get a glass of water and take a deep breath now.
02-23-2012 11:55 AM
As the package change is done also ther is no way we can get 1.0 payment service api jar i searched for it every where but not able to find it.
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 die to this.
02-25-2012 02:29 PM
I can't find the download link either, although the documentation still seems to be around. They seem to have withdrawn it. I'd recommend contacting BlackBerry or hoping that they read this thread.
02-27-2012 08:43 AM
The issue not reproduced if the same code executed as part of UI Application,
But for MIDlet type of application we find this issue.
Please help, we are in critical stage.
Somebody from Blackberry.Please help urgently.
02-28-2012 09:13 AM
I am also facing same issue as himansupatel.
My application is a MIDlet application. This issue is arising in OS5 device only, in OS6 and OS7 device it is working properly. Seems that some issue is coming in paymentapi.jar while using the Registry api. (I have tried using both version of paymentapi.jar - 1.0 as well as 1.5 but the issue remains same.)
Debug information is as follows:
Registry.getRegistry(String) line: 304
MyScreen.fieldChanged(Field, int) line:65
The message in IllegalArgumentException is : "classname does not exist in current application package."
Supporting OS5 devices are very important to us so if anyone has any idea related to this issue then please reply, its urgent.
If not anyone than I hope Blackberry Development Team has some answer to this issue.
Thanks in advance.