In app purchase Error (Solved)

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
sincipient820
Posts: 25
Joined: Mon Feb 25, 2013 4:00 am

In app purchase Error (Solved)

Post by sincipient820 » Thu Aug 22, 2013 12:28 am

The LC lesson http://lessons.runrev.com/s/lessons/m/4 ... n-livecode is for iOS and requires iTunes Connect. I'm looking to implement on Android and expect some differences in coding as well as the required settings in the Android developer account. Any help?
Last edited by sincipient820 on Fri Sep 06, 2013 7:27 pm, edited 1 time in total.

sincipient820
Posts: 25
Joined: Mon Feb 25, 2013 4:00 am

Re: In app purchase Error

Post by sincipient820 » Sun Sep 01, 2013 5:33 pm

update...

I've been able to set up the item in the android developer account and it is activated and published. However, after following the iOS lesson it can not find the product. The error message "The item you were attempting to purchase could not be found" is returned. Following the lesson there seems to only be 2 thing I need to alter to the code 1. productID and 2. com.runrev.purchasetest.consumable. I've double checked my productID and it appears to match and I've change the com. to match the apk I have published in google play. Do I need the .consumable or does Android use a different method? I think this may be the where the problem lies.

sincipient820
Posts: 25
Joined: Mon Feb 25, 2013 4:00 am

Re: In app purchase Error (Solved)

Post by sincipient820 » Fri Sep 06, 2013 9:42 pm

solved the 2 errors i had....

1. the identifier is shown as com.yourCo.yourApp.consumable in the LC lesson, however, i just needed com.yourCo.yourApp
2. the mobilePurchaseCreate was shown with the identifier in the LC lessson, however, the productID was required

after these two changes the in-app purchases worked great

Post Reply