SOLVED-Can't get IAP working for iOS in CocoonJS.

Get help using Construct 2

Post » Mon Jul 14, 2014 5:44 pm

IAP works fine for google play, but isn't working for iOS using the cocoonjs plugin.

Anybody have any ideas?
Last edited by TheWyrm on Mon Jul 14, 2014 7:58 pm, edited 1 time in total.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Mon Jul 14, 2014 7:48 pm

So I downloaded the capx found here -> http://support.ludei.com/hc/en-us/artic ... -2-project

Then configured the product id to match my own. Built it and that also doesnt work.

So I assume I have to do something with apple? I have put my secret id into cocoonjs, In-App Purchase has been added to my app id, but is there anything else? Do I need a test user?

Please help.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Mon Jul 14, 2014 7:57 pm

Nevermind... I am a tard. The tickbox for apple store services wasnt ticked. Arghhhhhhh....
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Wed Aug 20, 2014 8:16 pm

May I ask which product type do you choose on Google Play? Can people purchase your product multiple times? Thanks.
B
8
S
2
Posts: 22
Reputation: 571

Post » Wed Aug 20, 2014 8:26 pm

@Wai There are three types.

Managed products - Managed items that can be purchased only once per user account on Google Play. Google play permanently stores the transaction information for each item on a per-user basis.
Unmanaged products - Unmanaged products are not managed by Google Play. You are responsible for managing the transaction information and cannot query Google Play to retrieve transaction information.
Subscription - Subscriptions let you sell content, services, or features in your app with automated, recurring billing.

I have a 'managed product', so it can only be bought once. So you would need an unmanaged product to sell it multiple times.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542

Post » Wed Aug 20, 2014 8:37 pm

@TheWyrm Thanks for your reply. I read something like Google is changing unmanaged product to consumable managed product, do you know how this will affect us? I have tried to list a product as unmanaged product, did the purchase(Google charged my credit card), but the "On product purchased complete" event did not trigger... Managed product seems to work fine, but I did not try purchasing it multiple times. BTW, even when sandbox mode is enabled, Google is still charging me for purchasing the product...
B
8
S
2
Posts: 22
Reputation: 571

Post » Wed Aug 20, 2014 8:43 pm

@Wai I don't know how it will affect us, but as a guess they are just changing the term to match Apples terminology. I haven't tried using unmanaged yet. I also think I was charged during my test.
ImageImageImageImageImage
B
19
S
5
G
1
Posts: 614
Reputation: 2,542


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 14 guests