0 Favourites

In App Purchases for HTML5?

  • Is there a way to create In-App purchases for HTML5?

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

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

    Yes, i tought Clay.io is an election, i was thinking if we integrate HTML divs with Donate Button Via Paypal.

  • 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   <img src="smileys/smiley4.gif" border="0" align="middle">

    Here is a .capx

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • Wink, Thanks for your help! :D

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

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

    Thanks for your info, there are payment systems with PHP in Codecanyon :)

  • 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??

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)
Similar Topics Posts Views Last Post
Unread hot topic
112 12,472
Pode's avatar
Pode
Unread hot topic
110 9,327
Ashley's avatar
Ashley Construct Team Founder
Unread hot topic Locked topic
115 17,203
Kyatric's avatar
Kyatric Construct Team Support