How to add a PayPal button to Joomla!

Online payment gateways offer convenient ways to take payment from customers for goods and services. PayPal, Google Checkout and other gateways provide HTML code that embed ecommerce features on your site, such as Add to Basket and Checkout buttons.

These HTML snippets can be placed on individual Joomla! posts and pages, or  you can choose to create an HTML module that can be called dynamically using the {loadposition myposition} command.

In this guide, we’ll walk through the steps required to add a PayPal button to Joomla! You’ll find the steps are very similar for other popular payment gateways.

Using the TinyMCE editor

Joomla’s content editor, TinyMCE, is simple to use but strips HTML code when pasted into the editing panel. When you save the post or page, you’ll see that the HTML code is discarded.

To prevent this issue, first visit Users > Manage, select your account, and click Edit.

User Management

Click the Editor dropdown menu and select Editor – None. This disables the TinyMCE editor on your account. Save your selection.

Editor - None

Now head back to your post or page via the Content menu. Paste the HTML code into the editing panel.

HTML code

You can now save the article.

Return to the Users > Manage menu and revert the Editor selection to TinyMCE.

TinyMCE

If you notice any problems or if you need any help, please open a new support ticket from your HostPapa Dashboard. More details on how to open a support ticket can be found here.

Related Articles