Page 1 of 1

Make a PayPal button

Posted: Thu Mar 07, 2013 11:19 am
by David Fung

If I want to create a paypal button via the below html code, is it possible?

< form action="https://www.paypal.com/cgi-bin/webscr" method="post"
< input type="hidden" name="cmd" value="_s-xclick"
...
...
...
< /form


Make a PayPal button

Posted: Thu Mar 07, 2013 11:24 am
by Maryna Brodina

Hello! You can use PayPay as long PayPay exposes REST API to do that. Or another option is to embed an HTML widget if they provide one.


Make a PayPal button

Posted: Thu Mar 07, 2013 11:44 am
by David Fung

Thanks! Finally, I found that the html code is equal to the below web link.

https://www.paypal.com/cgi-bin/webscr...

Code: Select all

i.e. I put the web link into a click event of a button.