Skip to content

Instantly share code, notes, and snippets.

@CanRau
Forked from mw-ferretti/README.md
Created October 16, 2018 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CanRau/2f303b59eca12680b0fce2aef5d3decd to your computer and use it in GitHub Desktop.
Save CanRau/2f303b59eca12680b0fce2aef5d3decd to your computer and use it in GitHub Desktop.
Paypal button on markdown github

###Steps:

<!-- Sample of code generated --> 
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="RGQ8NSYPA59FL">
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/pt_BR/i/scr/pixel.gif" width="1" height="1">
</form>
  • Find your "hosted_button_id", "cmd" and "input image" in the form.

  • Create markdown code using your variables:

[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RGQ8NSYPA59FL)

###Result: paypal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment