📜 ⬆️ ⬇️

Billing in a tiny project. 10 lines of HTML code

I just read about billing in large projects and I want to share the billing experience for tiny projects.

Basis - PayPal. It is quite widespread + if you don’t have a PayPal account, you can pay with a regular credit card. Search on Habra revealed already one manual , but it is really terrible. We will go the easy way!

We will use HTTP integration. On this link you can get full documentation :
')
This simple HTML code allows us to receive money on your PayPal:

<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value=" PayPAL email"> <input type="hidden" name="amount" value="0.99"> <input type="hidden" name="handling" value="0.20"> <input type="hidden" name="currency_code" value="EUR"> <input type="hidden" name="notify_url" value="http:// ,    ?client=XXX"> <input type="hidden" name="item_name" value=" "> <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_buynowCC_LG.gif" border="0" alt="PayPal - The safer, easier way to pay online!"> </form> 


Let's sort it out by lines

- PayPal'

- , PayPal ""

- email/login PayPal.

- /

- , .

-

- url , PayPal . url get , , . ( ) , , PayPal . , PayPal .

- ,

- .

( webview)

- . - .

Source: https://habr.com/ru/post/195180/


All Articles