Skip to content

Instantly share code, notes, and snippets.

@IskenHuang
Last active December 10, 2015 06:39
Show Gist options
  • Save IskenHuang/4396046 to your computer and use it in GitHub Desktop.
Save IskenHuang/4396046 to your computer and use it in GitHub Desktop.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<!-- Identify your business so that you can collect the payments. -->
<input type="hidden" name="business" value="YOUR_PAYPAL_ACCOUNT">
<!-- code -->
<input type="hidden" name="charset" value="utf-8">
<!-- Specify a Buy Now button. -->
<input type="hidden" name="cmd" value="_xclick">
<!-- Specify details about the item that buyers will purchase. -->
<input type="hidden" name="item_name" value="YOUR_ITEM_NAME">
<input type="hidden" name="item_number" value="YOUR_ITEM_NUMBER">
<input type="hidden" name="amount" value="YOUR_PRICING">
<input type="hidden" name="currency_code" value="TWD">
<!-- return -->
<input type="hidden" name="return" value="YOUR_RETURN_URL">
<input type="hidden" name="cancel_return" value="YOUR_CANCEL_RETURN_URL">
<!-- Display the payment button. -->
<input type="image" name="submit" border="0"
src="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif"
alt="PayPal - The safer, easier way to pay online">
<img alt="" border="0" width="1" height="1"
src="https://www.paypal.com/en_US/i/scr/pixel.gif" >
</form>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment