In app purchase Error (Solved)
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- Posts: 25
- Joined: Mon Feb 25, 2013 4:00 am
In app purchase Error (Solved)
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.
-
- Posts: 25
- Joined: Mon Feb 25, 2013 4:00 am
Re: In app purchase Error
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.
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.
-
- Posts: 25
- Joined: Mon Feb 25, 2013 4:00 am
Re: In app purchase Error (Solved)
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
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