In App Purchases for HTML5?

0 favourites
  • 8 posts
From the Asset Store
The internet is bombarded daily with new apps (app is the short term for application)
  • 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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 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

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