• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

In-app Purchase not work

New Here ,
Apr 08, 2015 Apr 08, 2015

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..

TOPICS
ActionScript

Views

1.4K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 09, 2015 Apr 09, 2015

contact fresh planet for help with their extension.

Votes

Translate

Translate
Community Expert ,
Apr 09, 2015 Apr 09, 2015

Copy link to clipboard

Copied

contact fresh planet for help with their extension.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Apr 16, 2015 Apr 16, 2015

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



Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 12, 2016 Feb 12, 2016

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!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 14, 2016 Feb 14, 2016

Copy link to clipboard

Copied

Hi,

sorry I did not get the solution but maybe you can find it here.

https://github.com/freshplanet/ANE-In-App-Purchase

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 18, 2016 Feb 18, 2016

Copy link to clipboard

Copied

LATEST

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines