Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

@KacperStachowski

This comment has been minimized.

Copy link

@KacperStachowski KacperStachowski commented Sep 20, 2018

Thanks, I needed that

@deadlydog

This comment has been minimized.

Copy link

@deadlydog deadlydog commented Dec 14, 2018

👍

@TomasRoj

This comment has been minimized.

Copy link

@TomasRoj TomasRoj commented Apr 20, 2019

Thanks for help. I really like it

@rafatieppo

This comment has been minimized.

Copy link

@rafatieppo rafatieppo commented Jun 13, 2019

Thanks!

@cal3432

This comment has been minimized.

Copy link

@cal3432 cal3432 commented Jun 18, 2020

I made some edits for BBCODE and steam:

BBCODE (steam)

[url=DONATIONURLHERE][img]https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif[/img][/url]
@VTechJm

This comment has been minimized.

Copy link

@VTechJm VTechJm commented Jun 28, 2020

Thanks alot man really helped

@edcasillas

This comment has been minimized.

Copy link

@edcasillas edcasillas commented Aug 21, 2020

So helpful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.