1. Home
  2. Adding Content
  3. How to Make a “Make a Payment” Page

How to Make a “Make a Payment” Page

On the Music Maker demo site I created a example Make a Payment page. This can be used to accept payments. You will need a PayPal account to use the code below.

Create a static page in WordPress and copy and paste the code below.

Edit the following items in the code below:

  • yourname@email.com – Add your PayPal email address
  • USD – Edit your currency. The default currency displayed is American dollars (USD). Example currencies: EUR, GBP, AUD. Here is a list of PayPal’s allowed currencies.
  • – Edit the success URL. This is where the user will be redirected once a payment has been made. You may want to create a static page that says thank you for your payment.
  • – This is where a user will be redirected to if they cancel a payment. You can send them back to your payment page, create a new static page with a cancel message, or your site homepage.

Text file with raw HTML code

Please make make a payment below for my services. Thank you. Enter in the amount below: $

Please test the code on your site to make sure it works properly.

Updated on September 6, 2017

Was this article helpful?

Related Articles

Leave a Comment