Step-by-step guide: How to add a payment button to your website.

Jun 18 2020 | PayPal Editorial Team

When you need to start accepting payments on your website immediately, adding a payment button is a fast and simple solution. Just log into your PayPal Business account and then follow the step-by-step instructions below. If you don’t have an account, you can open one in a few minutes. If you need help at any point, please visit the PayPal Help Centre.

Adding a payment button to your website

If you already have a website, you can quickly add buttons for accepting PayPal, as well as credit and debit card payments. You’ll need to create separate buttons for each product you want to sell. You only pay a low transaction fee when your customers pay you.1 View fees.

NOTE: If your website is hosted by an ecommerce platform – like BigCommerce, Magento, Shopify, or others – you may be able to add a new payment button from your site’s administration console and skip the steps below.

Here’s what you’ll need:
  • Your PayPal Business account username and password
  • Access to your website’s HTML code
Step-by-step instructions (total time: ~10 minutes per button)
1. Log into your PayPal Business account.
2. Navigate to the Set up your PayPal Checkout experience page.
3. Create payment buttons for each item you’re selling by following the steps below:
a.Currency: Set the currency you’ll use to accept payments.
b. Amount: Set the payment amount for the item you’re selling.
c. Choose a layout:
i. Choosing the Vertical layout will display buttons stacked vertically on your page: a PayPal button; a debit or credit card button where applicable. See the screenshot above.
ii. Choosing the Horizontal layout will show a PayPal button alongside other buttons, where applicable.
d. Color: Choose a color scheme for the buttons.
e. Button Text: Choose the text to be shown on the buttons.
4. After you make your selections, you can preview how the buttons will look on your desktop and mobile website pages.
5. Click the Copy Code button.
6. Add the copied code to the page on your website where you want the buttons to appear.
7. Repeat the above process for every page where you want to add buttons.
8. Finally, test to make sure the buttons work properly by purchasing something from your website and then checking your PayPal Business account for the transaction.

That’s it! You can now accept all types of payments on your website.
If you’re looking for other ways to accept payments, you can also: For any immediate questions during this time, you can also access the PayPal Help Centre.
1 To be eligible for discounted credit card processing fees for registered charities, 501(c)(3) status must first be verified by PayPal. Learn more

If you accept cookies, we'll use them to improve and customise your experience and enable our partners to show you personalised PayPal ads when you visit other sites. Manage cookies and learn more