How do I do IAP (In app purchases)

Get help using Construct 2

Post » Sat Aug 01, 2015 2:10 am

I've done so much learning today, getting a developer account, learning phonegap build, figuring out how to get a keystore thingy whatcha call it... now IAP, the one thing that has stumped me today. All the forum posts I read are talking about Cocoon which isn't used here anymore, and the basic tutorial here https://www.scirra.com/manual/173/iap is good and all but useless when it comes to actually doing much.

I did exactly what it said, I put the things at layout start, I tried infusing things with buttons, I have my product and developer account set up, I just.. I can't

All I am trying to do is set up a couple in-app purchases. I understand how the "Has product" stuff works to detect if the user has purchased said items and how I am going to incorporate that into my existing code. I just have no idea how to get the store to pop-up and be like "Hey buy this!"

Thanks in advance for any replies. Let me know if you need more info
B
13
S
7
G
1
Posts: 31
Reputation: 1,866

Post » Sun Aug 02, 2015 9:42 am

I'm not sure if bumping is allowed.. But it's been a day and a bit. Does anyone know?
B
13
S
7
G
1
Posts: 31
Reputation: 1,866

Post » Sun Aug 02, 2015 4:28 pm

Throw in some "Buy"-buttons etc. and add a click event that if the user clicks the button, then buy product X. The plugin you've installed will take care of the rest.
Image
B
14
S
4
Posts: 145
Reputation: 1,943

Post » Sun Aug 02, 2015 4:41 pm

If you're using the PhoneGap IAP plugin, it won't work in regular preview mode. You would have to test it in Intel XDK or whatever you are using to export.
B
12
S
3
Posts: 129
Reputation: 1,131


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 5 guests