Adding PayPal buttons to your site to collect donations or buy whatever is easy. But because the USNAAA Sites are multisite networks, WordPress has some limitations that will make you go through the steps a bit differently.
For security reasons, WordPress will not allow admins to insert HTML code directly onto your page. The code will be stripped when you save changes. You have two different ways to get the PayPal buttons on your page:
- Do it yourself with Email Links vice the Website code
- Have a superadmin add the code to your page
Adding PayPal Button using E-mail Links (You can edit later)
So you will need to obtain the “Email Link” vice the, and upload an image for the button and then make the button your PayPal link.
First: You will need to follow some very basic steps in the PayPal tools at https://www.paypal.com/buttons/.
Then The PayPal tool will create some HTML code for you.
The default will show you Website code to be placed on your page. This code will NOT work in your site!. You will need to click on the “Email” tab and get the link provided there:
You will need to manually place the PayPal “Donate” graphic on your page (copy this one):
Then using your tool bar, make the PayPal graphic a link to Email link provided by the PayPal tools.
PayPal will save your buttons to your PayPal account so that you can go back and edit or copy them.
In Step 1: When creating your donate button on the PayPal tools, you may have the option to use your merchant account number, then robots won’t be able to mine your treasurer email account out of the code.
Merchant account IDs Learn more
In Step 3: Customize advanced features (optional) of the PayPal button tool, you can enter the URL addresses to return donors to your “thank you” page on your site after their donation has been processed or return then to a page on your site if they cancel the PayPal transaction.
Have a SuperAdmin Enter your Code (Code stripped if you try to edit page)
Create a new page on your site to paste the Website HTML code provided by PayPal.
Use the Visual Editor and set the format to Preformatted.
Then paste the code into the page, save the page, and probably best that you put a password on the page. Superadmins will be able to copy the code even if the page is passworded.
Tell the Superadmin where to place your HTML code
using obvious words like PUT THE PAYPAL BUTTON CODE HERE
Or using the the Text editor:
<!-- PLACE HTML PAYPAL® CODE BELOW HERE --> <!-- PLACE HTML PAYPAL® CODE ABOVE HERE -->
Let the Superadmin know
Send the Superadmin a note with the URL for both the page where you want to PayPal button to be placed and the page where the code can be found.
Note that once your page has the code inserted, if you edit that page (even something as simple as changing the page title) the code will be stripped from your page.