Add payment buttons to your website

PayPal makes it easy to accept payments on a website, whether it’s a mobile device, tablet, or PC. Just copy and paste a short HTML snippet on your website to add a payment button for a single item or for a shopping cart.

Implementing a payment button

  1. Get your merchant account ID.

    Log in to the PayPal site ( ). Your merchant account ID is on your account profile page.

    Note If you don’t have a Business or Premium account, your profile page will not have a merchant account ID. In this case, use the email address for your account.

  2. Build your PayPal button .

    Choose your button type, then customize your button with your product name and price.

  3. Add the button code to your website.

    Just copy and paste the HTML snippet, and you’re ready to start selling!

It’s that simple. No need to deal with a long confusing form. You can update product name and pricing directly on your site. Our JavaScript buttons are easy, fast, and secure.

More about payment buttons

If you are familiar with the PayPal Classic button solution, it is still available.

For a complete list of PayPal buttons and their URLs, see the PayPal Button Reference page.

For a demonstration, please see the Demo Portal