Copy link to clipboard
Copied
I am trying to add in app purchase features in my iOS app. i use fresh planet nativeExtension
(AirInAppPurchase.ane).while i compiling, it traces "in app purchase is not supported"...
Things i used.
1. Adobe Flash pro CS6(AS3).
2. Adobe AIR SDK 17.
3. Window 7.
i correctly link nativeExtension(AirInAppPurchase.ane) in my project
i correctly configured my iOS-app for in-app purchase in iTunes connection.
i got the freshPlanet native extension from"https://github.com/freshplanet/ANE-In-App-Purchase"
i think i made mistake in documentation...
Things I want to know
1. Where to put my product id in my project(as3 classs).
2. What is the use of
Capabilities.manufacturer.indexOf('iOS') > -1 || Capabilities.manufacturer.indexOf('Android') > -1;"
which is in InAppPurchase.as.
3. What is the use of ExtensionContext.createExtensionContext("com.freshplanet.AirInAppPurchase", null);
4. what is the clear documentation for in-app purchase for iOS-app.
please help me.... For this reason i am struggling. i couldn`t go further step..
contact fresh planet for help with their extension.
Copy link to clipboard
Copied
contact fresh planet for help with their extension.
Copy link to clipboard
Copied
Transaction is not finished in my app that contains in app purchase, how do I debugg? I have been in contact with the apple support and the script in Actionscript 3.0 worked perfectly until I added four more items as in app purchase.
Apple tell me:
I’m not seeing the application make the finishTransaction call. If this call is not made, the transaction is incomplete. The next time the user attempts to make a purchase, they will see the alert - “You’ve areleady purchased this item and you can download it for free”.
You state that only three lines of code were changed. That may be but maybe the existing portion of code is encountering a new situation that it didn’t expect. This is what debugging is all about. You may need to engage the services to help debug this issue.
Please guide me to solve this problem. I work in Flash Professional and compile to AIR 16.
Best regards
Copy link to clipboard
Copied
hello brother,has been fix the problem? I'm having a lot of troubles to use the extension! iam use flash to; can you send me a FLA or at least the code you used!? thank you!!
Copy link to clipboard
Copied
Hi,
sorry I did not get the solution but maybe you can find it here.
Copy link to clipboard
Copied
Thankx! anybody who use flash and, can use this extension!?... an fla working please!! jejejee i cant upload my app...When I test the app, its say.. "In app Purchase is Suported"... and then stop there... dead... please some help!