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

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)

Log into your PayPal Business account.

Navigate to the Set up your PayPal Checkout experience page.

Create payment buttons for each item you’re selling by following the steps below:

  1. Currency: Set the currency you’ll use to accept payments.
  2. Amount: Set the payment amount for the item you’re selling.
  3. Choose a layout: Vertical or Horizontal
  4. Color: Choose a color scheme for the buttons.
  5. Button Text: Choose the text to be shown on the buttons.

After you make your selections, you can preview how the buttons will look on your desktop and mobile website pages.

  1. Click the Copy Code button.
  2. Add the copied code to the page on your website where you want the buttons to appear.
  3. Repeat the above process for every page where you want to add buttons.
  4. 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.

Was this content helpful?

Related content

Get more insights and tips.

Simply complete the form to receive valuable info and actionable tips for your business. Plus, you'll hear from fellow merchants who use PayPal to help reach their goals.

All fields are required.

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