HTML Tutorial 3: How to add a paypal button ** can not use on googleplay must use other appstores**

Hi guys here is another tutorial this time on how to add a paypal button to your app. Note you cannot use this in google play store so you have to use another marketplace. Ok lets begin open your text editor and type this

<!DOCTYPE html>
<head>

<meta name="viewport" content="width=device=width,user-scalable=no">

</head>
<body>
</body>
</html>

Now go to paypal and sign in if you dont have the donate or shopping cart code. Now go and click this link to make a donate button

https://www.paypal.com/cgi-bin/webscr?cmd=_flow&SESSION=GWc5vrnOPbkcvA14ovL_m7QRizzU-IcGglCGEYFQ2pmIJ3AxLUpLpEZb8qm&dispatch=5885d80a13c0db1f8e263663d3faee8def8934b92a630e40b7fef61ab7e9fe63


It should take you to a page to create your button. Now if you want a shopping cart click this link

https://www.paypal.com/cgi-bin/webscr?cmd=_flow&SESSION=OkrmoMSP5g2HPDSNi_0iLiaqYn_EUlMGXyDHgrEFuqAvMtbX6t_3h2Xi_fy&dispatch=5885d80a13c0db1f8e263663d3faee8def8934b92a630e40b7fef61ab7e9fe63


Ok after you have finished paypal will give you a javascript code select all and copy. Now go back to your text editor and place the code in the body of your page.

<!DOCTYPE html>
<head>

<meta name="viewport" content="width=device=width,user-scalable=no">
</head>
<body>
<h1> Please select your item to buy or donate </h1>

paste your paypal code here!!

</body>
</html>

That's it !! Its time consuming but it's really simple to do. Here is a demo of it download on your computer and click on it.

http://sourceforge.net/projects/pfbw/files/IAP.html/download


Any question on this feel free to ask.

Comments

  • edited December 2013
    If you haven't already do all the tutorials because tutorial 5 is going to be a big one. Tutorial 5 we will be making a How to Guide but it will be more professional looking than normal how to guides. We will cover
    1) How to make bullet points
    2) How to position images to exact locations
    3) The structure of the page that makes people want to use it more than other guides.
    4) How to set up a small table.
    5) Put the date and time on the page to make it more interactive.

    Ok till next time take care and I hope you learned something. Next up is tutorial 4 where we will cover how to add Leadbolt to your apps and how to make a table. Then afterwards comes the big one tutorial 5 !!
Sign In or Register to comment.