merchant:epaymentform:buynowlink

Creating a Buy Now Button for the ePayment Form

  • Once you generate the payment form it creates a link, that payment form link is what you generally use to create a button. We have simplified it, if using our examples below, you will just need the source key from the form itself.
  • Our examples will show the first part of the actual payment form link but without a source key to show you where the source key goes. Your payment form link includes your source key.
  • If you would like to use one of our logos for the button you can find them here : Logos
  • To use your own image you just have to have it hosted on an “https” image hosting site. Once hosted they give you a URl link to the image and that is what you will use in the button. You can find many free image hosting sites online where you can host your image.
<a href="https://www.usaepay.com/interface/epayform/YOUR SOURCEKEY HERE/"><img src="https://wiki.usaepay.com/_media/merchants/images/usaepaysecurebuttongray3.gif" alt="Click to pay" />
</a>
  1. You insert your source key where it says “your source key here”
  2. Once you select one of our images on the page you just need to click on the actual image, then click on it again and it will lead to the page listing the URL for it. The image url we used in the example is https://wiki.usaepay.com/_media/merchants/images/usaepaysecurebuttongray3.gif

Button code example outside image

<a href="https://www.usaepay.com/interface/epayform/YOUR SOURCEKEY HERE/"><img src="IMAGE URL HERE" alt="Click to pay" />
</a>
  1. You insert your source key where it says “your source key here”
  2. After getting the URL for your image you put it in where it says “IMAGE URL HERE”

Button code example with fields pre populating the form

  • You can make the button post specific values to fields on the form so once they select the button it populate those fields with those values you chose. In this example we are using amount,invoice and description, so once they select the button, it will populate amount, invoice and description with the values listed.
<a href="https://www.usaepay.com/interface/epayform/YOUR SOURCEKEY HERE/&UMamount=10.00&UMinvoice=123456&UMdescription=Thank you for your payment"><img src="https://wiki.usaepay.com/_media/merchants/images/usaepaysecurebuttongray3.gif" alt="Click to pay" />
</a>
  1. You insert your source key where it says “your source key here”
  2. You can add additional fields, you just put an “&” before each field.
  3. You can find the fields we support Here or Here
merchant/epaymentform/buynowlink.txt · Last modified: 2016/11/16 11:17 by kat

Page Tools