Advanced‎ > ‎

PayPal

Below are step-by-step instructions for adding a simple PayPal button to your website. Using the code below, you can add as many PayPal buttons as you'd like; however, you can only include one price point per button. 

Also be aware that the default code that PayPal provides currently does not work on the IAAP Web Community, so reading this guide before setting up PayPal could potentially save you a lot of time and trouble. 

Here is the code you will need to use in order to add a PayPal button:

<input type="button" value="Pay via Paypal" onclick="window.location= 'http://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=EXAMPLE@EXAMPLE.COM&item_name=ITEM_NAME&currency_code=USD&amount=25.00';" />

The three parameters highlighted in yellow are the only things in this code you will need to adjust. 

To add this code to your page, open up the content item where you would like the button to appear.

In the example below, we will be adding the PayPal button between two paragraphs. Before pasting the code, you need to click the "HTML" button at the bottom of the page editor: 


Once you are in HTML mode, you can then paste in your PayPal code:


When you are in HTML mode, you will likely see other HTML on the page that the page editor adds automatically. It is important that you do not delete any of it or you could risk messing up your page. Just make sure you add the PayPal code in the general vicinity of where you would like it to appear. Paste it on a separate line and then click back to the Design view. If you need to adjust its position, it will be easier to do from Design view. 

Here is what the PayPal button will look like on your site:


Clicking the button will take the user to the PayPal site to complete the transaction. This button is completely independent from any registration form you may have setup for meetings or other events. Note you can also integrate your PayPal information using the IAAP Form Generator, which includes fields for PayPal should you choose to use them.