In App Purchases for HTML5?

Get help using Construct 2

Post » Wed Sep 12, 2012 9:46 pm

Is there a way to create In-App purchases for HTML5?
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Wed Sep 12, 2012 11:31 pm

The easiest, and most convenient way I know of for doing this is with the Clay.io Plugin. If you go to there Scirra Construct 2 - Developer Docs page, and scroll down to were it says "Payments" it will explain how to integrate their payments API with Construct 2. Wink2012-09-12 23:33:35
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Wed Sep 12, 2012 11:37 pm

[QUOTE=Wink] The easiest, and most convenient way I know of for doing this is with the Clay.io Plugin. If you go to there Scirra Construct 2 - Developer Docs page, and scroll down to were it says "Payments" it will explain how to integrate their payments API with Construct 2. [/QUOTE]

Yes, i tought Clay.io is an election, i was thinking if we integrate HTML divs with Donate Button Via Paypal.
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Thu Sep 13, 2012 12:31 am

@Joannesalfa if you just want a donation button in game you don't even need to integrate <div></div>. All you have to do is:

1. Get or make a donate button image, and place it in your game.

2. Give your game the "Browser" object, then the mouse, and or touch object.

3. Go back to your paypal account, an create a new donation button.

4. Then click on your paypal buttons view code tab, and copy the email code.

5. In Construct 2 go to your event sheet, and add:

      +mouse -> on object clicked (donate button image)
          -browser-> Open URL in new window

   Then just paste in your email code.



And you should get something like this:

Example Feel free to donate   

Here is a .capxWink2012-09-13 00:49:00
B
50
S
11
G
8
Posts: 479
Reputation: 9,911

Post » Thu Sep 13, 2012 12:44 am

@Wink, Thanks for your help! :D
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Thu Sep 13, 2012 12:45 am

It's always been possible to set up your own payment system using your website, some custom server-side scripts, and the AJAX plugin (or preferably a custom plugin). However it doesn't seem to have been a popular option, probably because we attract non-programmer users and this requires server programming and setting up a payment system like Paypal, which you absolutely have to get right (or you could get hacked and lose money). Still, if you have a friend who's good with web technology, you could try setting something up together.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Thu Sep 13, 2012 12:48 am

[QUOTE=Ashley] It's always been possible to set up your own payment system using your website, some custom server-side scripts, and the AJAX plugin (or preferably a custom plugin). However it doesn't seem to have been a popular option, probably because we attract non-programmer users and this requires server programming and setting up a payment system like Paypal, which you absolutely have to get right (or you could get hacked and lose money). Still, if you have a friend who's good with web technology, you could try setting something up together.[/QUOTE]

Thanks for your info, there are payment systems with PHP in Codecanyon :)
B
96
S
25
G
20
Posts: 3,055
Reputation: 22,644

Post » Fri May 03, 2013 6:57 am

I am Making Tower Defense Game & want to add In Game Purchase Like, But 1000 Coins for 1$, Is it possible with Paypal?? Are there other Plugins like Clay.io??
B
14
S
2
G
4
Posts: 43
Reputation: 3,170


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 18 guests