01-04-2013 06:07 AM
Hi, I recently run my android project with inapp purchase in BB10 device. In blackberry developer portal, they cleary mentioned, we can use the same android inapp payment procedures. I had a doubt, json response which come android market and Blackberry app world are same or different?. Is the terminology change like "ItemId" reflect in json Response? Is i need to change any code part to incorporate inapp purchase?
Response Coming from Android market look like,
{ "nonce" : 1836535032137741465,
"orders" :
[{ "notificationId" : "android.test.purchased",
"orderId" : "transactionId.android.test.purchased",
"packageName" : "com.example.dungeons",
"productId" : "android.test.purchased",
"developerPayload" : "bGoa+V7g/yqDXvKRqq+JTFn4uQZbPiQJo4pf9RzJ",
"purchaseTime" : 1290114783411,
"purchaseState" : 0,
"purchaseToken" : "rojeslcdyyiapnqcynkjyyjh" }]
}Can anybody reply, how the blackberry response will be?
Thanks
Solved! Go to Solution.
01-05-2013 12:36 PM
Support. Anyone tried Blackberry in-app in Android runtime?
01-07-2013 05:27 AM
Bump!
I am interested in this as well
01-08-2013 04:59 PM
Hey everyone,
Here is the information on In App Payments: http://developer.blackberry.com/android/apisupport
Hopefully that provides the details on what you are looking for.
Cheers,
01-08-2013 10:13 PM
Actually I already tried to port my app and nothing happen when I press purchase button. Is that because of response coming from Android market are different from blackberry?
01-08-2013 10:21 PM
Yes. You would have to have your application in App World with your in app purchases registered in the vendor portal. There is a sandbox you can test the purchases with. This information should be in the link I provided.
Hopefully that will help you out.
Cheers,
01-09-2013 12:32 AM
Thanks for reply, My question is, how the response will be? Json response is same as android or any terminology ((i.e) itemId) difference in the response. I just want to change the code and test in sandbox mode.
Please help. Thanks in advance.
01-09-2013 12:02 PM
The response should be the same. From the client side the only thing you should need to be aware of is that the response will not be signed, so if you check for this you will need to disregard when testing on a BlackBerry device:
http://developer.blackberry.com/android/apisupport
01-10-2013 01:00 AM - edited 01-10-2013 05:07 AM
Thanks for reply, I uploaded the draft application, added inapp item and downloaded app from app world using tester account. In code i removed signature verfication part, but nothing happen when click on buy button. Inapp purchase is working fine with android market. My inapp purchase code is same as inapp purchase sample application in android developer site and i'm using android inapp billing Version 2. Now the current inapp billing version is 3, Which version i need to use? Any sample code is there?
Thanks.
01-10-2013 07:08 AM
Hey I got the same!
nothing happen when I click purchase button.