use paypal as payment method code example

Example: paypal payment form

<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
  <input type="hidden" name="cmd" value="_donations">
  <input type="hidden" name="business" value="YOUR_BUSINESS_ID">
  <input type="hidden" name="lc" value="US">
  <input type="hidden" name="item_name" value="myorgname">
  <input type="hidden" name="item_number" value="donateid">
  <input type="hidden" name="amount" value="20">
  <input type="hidden" name="currency_code" value="USD">
  <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG.gif:NonHosted">
  <input type="hidden" name="custom_variable1" value="val1">
  <input type="hidden" name="custom_variable2" value="val2">
  <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/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

Tags:

Misc Example