How to Accept PayPal Payments on a Website (Step-by-Step)

Published: November 5, 2026. Last updated: November 22, 2026.

You can accept PayPal payments on your website by adding a PayPal Payment Button, connecting PayPal to your e-commerce platform, or integrating PayPal Checkout into a custom-built site. The easiest option for a simple website is a payment button or link, which lets customers complete purchases without requiring you to build a payment-processing system.

If you use WooCommerce, Shopify, Wix, or Squarespace, you can usually connect PayPal through the platform’s payment settings. Developers building custom websites can use PayPal’s JavaScript SDK and Orders API to create a more flexible checkout experience.

The right method depends on your website, what you sell, and whether you need a simple way to collect payments or a complete checkout that manages orders, shipping, and payment status.

Choose the best way to add PayPal to your website

PayPal offers several website payment solutions. You do not need to build a custom integration if your requirements are straightforward.

Integration methodBest forCoding required?
PayPal Payment LinksFreelancers, services, and simple payment pagesNo
PayPal Buy ButtonsIndividual products, services, and landing pagesNo custom development; website embedding required
PayPal Shopping Cart ButtonsSimple websites selling multiple productsNo custom development; website embedding required
E-commerce platform integrationWooCommerce, Shopify, Wix, and Squarespace storesUsually no
Custom PayPal CheckoutCustom applications and websites needing advanced checkout controlYes

For a basic business website, a Buy Button is often sufficient. For an online store that manages inventory, shipping, taxes, and customer orders, the platform’s supported PayPal integration is generally more practical. A custom integration makes sense when your website has its own checkout and order-management system.

What you need before accepting PayPal payments

Before connecting PayPal, make sure your merchant account and website are ready to process payments.

  • An eligible PayPal account: PayPal Payment Links and Buttons use a PayPal Business account. Some platform integrations have different account requirements.
  • A website or supported selling platform: You need somewhere to display the payment button or checkout, unless you are collecting payments through shareable payment links.
  • Business and payment information: Have your business details, product prices, accepted currencies, and relevant account verification information available.
  • An appropriate payment setup: Decide whether customers will purchase individual products, check out with a shopping cart, or pay for a service.
  • A secure website: Use HTTPS, keep your website software updated, and use the official payment integration for your platform.

A PayPal Business account supports merchant tools such as payment buttons, invoicing, and business payment management. Creating a standard Business account does not itself require an account-opening fee, although receiving commercial payments generally incurs processing fees.

PayPal availability and supported payment methods differ by country. Some advanced card-processing features also require additional eligibility checks or approval.

Method 1: Add a PayPal Payment Button to your website

PayPal Payment Buttons provide a straightforward way to accept payments on a website without building a checkout system from scratch.

You create the button in your PayPal Business account, copy the generated code, and place it on a page that supports the required HTML embedding. Customers click the button and complete their purchase through PayPal’s hosted checkout.

Step 1: Open PayPal Payment Links and Buttons

Sign in to your PayPal Business account and navigate to Pay & Get Paid → Create Payment Links and Buttons. You can also start from PayPal’s Payment Buttons page.

PayPal provides options for creating payment links, Buy Buttons, and Shopping Cart Buttons.

Step 2: Select the appropriate button type

Choose a Buy Button when customers need to pay for a particular product or service directly from a page.

Choose Shopping Cart Buttons when customers should be able to add several items to a simple cart before checking out.

A Buy Button is a natural fit for a consultation booking, downloadable product, online course, or fixed-price service. Shopping Cart Buttons are more suitable when buyers may purchase multiple products together.

Step 3: Enter your product and payment details

Add the product or service name, price, and currency. Configure the available options for your payment page, including product details, images, and relevant checkout settings.

Review how taxes, shipping costs, and other amounts will be handled. Your checkout must communicate the correct total to customers before they confirm payment.

Step 4: Generate the PayPal button

After entering the required information, select Build It. PayPal generates the payment link, button code, and available QR code for the configured payment option.

Official PayPal instructions showing 12 steps to create a Buy Button, configure product pricing and select Build it.

Copy the provided button code. Use the code generated for your actual PayPal payment configuration rather than copying an unrelated payment-button example from another website.

Step 5: Embed the button on your website

Open the website page where customers will make payments. Use your website builder’s supported HTML or embed feature to insert the PayPal-generated code.

For example, a self-hosted WordPress website may support a Custom HTML block for suitable embed code, while another website builder may provide a dedicated PayPal integration or restrict embedded scripts.

Publish the page and verify that the button appears correctly on desktop and mobile devices.

Step 6: Check the payment flow

Open the published page as a visitor and check that selecting the button leads to the expected PayPal checkout.

Verify the merchant, product name, currency, price, and any additional amounts displayed. For payment testing, use an appropriate PayPal Sandbox setup when supported by your integration.

PayPal’s Payment Links and Buttons documentation explains the supported options and their intended uses.

Method 2: Accept payments using a PayPal Payment Link

A Payment Link is useful when you want customers to pay without navigating through a full shopping cart or when your website cannot embed a PayPal button.

You can create a payment link from your PayPal Business account using the same Payment Links and Buttons tools.

  1. Sign in to PayPal Business and open Payment Links and Buttons.
  2. Enter the product or service details, price, and currency.
  3. Configure the available payment-page options.
  4. Select Build It to generate the payment link.
  5. Copy the link and add it to a relevant website page, payment section, or existing call-to-action link.
  6. Open the link to verify that it leads to the intended PayPal checkout.

You can also share the link through email or messages. A Payment Link can be reused for qualifying payments, making it convenient for fixed-price services or repeat sales of the same product.

Payment Links are designed for one-time payments. If you need individualized billing, invoice tracking, payment reminders, or installment arrangements, PayPal Invoicing may offer a more appropriate workflow.

A basic Payment Link does not automatically replace an e-commerce platform’s inventory management, shipping workflow, or order database.

How to add PayPal to WordPress

WordPress offers different PayPal integration options depending on whether you use WordPress.com, a self-hosted WordPress installation, or WooCommerce.

Add PayPal to a WordPress.com website

WordPress.com provides a dedicated PayPal Payment Buttons block. According to its official documentation, the block is available on Premium, Business, and Commerce plans.

To add a payment button:

  1. Open your WordPress.com dashboard and edit the page or post where you want to collect payments.
  2. Select the + block inserter and search for PayPal.
  3. Insert the PayPal Payment Buttons block.
  4. Use the block’s PayPal link to sign in to your Business account and create the button.
  5. Enter the payment details and select Build It in PayPal.
  6. Choose the generated button format and copy its HTML code into the corresponding fields in the WordPress block.
  7. Publish the page and check the payment experience.
WordPress.com PayPal Payment Buttons block showing how to paste PayPal HTML code for Stacked Buttons and Single Button.

When using PayPal’s stacked-button format, WordPress.com provides separate fields for the two generated code sections. A single-button format uses its corresponding single-button field.

See the official WordPress.com PayPal Payment Buttons guide for the current setup and testing instructions.

Add PayPal to a self-hosted WordPress website

On self-hosted WordPress, you can use a compatible payment plugin or embed an official PayPal button where your website permits it.

WordPress.com’s PayPal Payment Buttons block is also available through supported Jetpack installations. Alternatively, a website that supports the required HTML can use PayPal’s generated button code.

If your website only needs to collect payment for one service, a Payment Link or Buy Button may be sufficient. If you operate a store with product listings and orders, WooCommerce provides a more complete integration.

How to accept PayPal payments with WooCommerce

WooCommerce store owners can use the official WooCommerce PayPal Payments extension to accept eligible PayPal payments through the store’s checkout.

The integration connects PayPal to WooCommerce’s existing product catalog, cart, orders, and payment workflow. Depending on eligibility and configuration, it can also offer additional payment options such as card payments, Pay Later, and supported digital wallets.

Install and configure WooCommerce PayPal Payments

  1. Sign in to your WordPress administrator dashboard.
  2. Go to Plugins → Add New.
  3. Search for WooCommerce PayPal Payments.
  4. Select Install Now, then Activate.
  5. Open the PayPal Payments settings in your WooCommerce dashboard.
  6. Select Activate PayPal Payments to start the account connection process, or use the available advanced options for Sandbox testing.
  7. Follow the onboarding steps to connect your PayPal account and specify whether you sell physical or virtual products.
  8. Configure eligible payment methods and checkout options for your store.
  9. Complete the connection and review the payment settings.
  10. Test checkout and confirm that successful payments are reflected accurately in WooCommerce orders.
Official WooCommerce instructions showing how to activate PayPal Payments and begin connecting a PayPal account.

The official extension’s startup guide supports onboarding with an eligible personal or business PayPal account, although a Business account is recommended for broader merchant capabilities, including advanced card-processing features.

WooCommerce PayPal Payments also offers a Sandbox connection for testing. Its setup includes a supported account connection flow and configuration options for available checkout methods.

For subscription products, additional WooCommerce subscription functionality and a compatible PayPal configuration may be required.

The official WooCommerce PayPal Payments startup guide provides the current installation requirements and account connection instructions.

How to enable PayPal payments on Shopify

Shopify supports PayPal payments, but the setup depends on your store’s country and payment configuration.

For US merchants using Shopify Payments, PayPal is integrated through PayPal Wallet within Shopify Payments. It is not configured as a separate PayPal Express Checkout gateway in the Additional payment methods section.

Shopify stores in the United States

If your US Shopify store uses Shopify Payments, the PayPal Wallet integration allows eligible customers to pay through PayPal while you manage transactions, refunds, payouts, and disputes from Shopify.

  1. Open your Shopify administrator dashboard.
  2. Go to Settings → Payments.
  3. Review your Shopify Payments configuration and PayPal Wallet availability.
  4. Complete any required Shopify Payments setup and ensure your store uses a supported version of Shopify Checkout.
  5. Review the available PayPal payment settings and fees.
  6. Check your storefront checkout to confirm PayPal is available to eligible customers.
Official Shopify documentation explaining PayPal Wallet integration through Shopify Payments for US merchants.

With PayPal Wallet through Shopify Payments, PayPal transactions and related payouts are handled within the Shopify Payments workflow rather than through a separately connected PayPal Express Checkout account.

Shopify provides detailed information in its PayPal Wallet for the United States guide.

Shopify stores using PayPal Express Checkout

In supported markets outside the United States and France, Shopify merchants may use PayPal Express Checkout through the store’s PayPal payment settings.

For stores where PayPal Express Checkout is available but setup is incomplete:

  1. Open Settings → Payments in Shopify.
  2. Find PayPal in the available payment methods.
  3. Select Complete setup if Shopify indicates that setup is incomplete.
  4. Sign in to the intended PayPal account and complete the required business information and permissions.
  5. Return to Shopify after completing the connection.
  6. Check the checkout process and confirm that payments are recorded correctly.

Shopify automatically associates a PayPal Express Checkout setup with the email address used for eligible stores, but full merchant functionality can require completing the PayPal account setup.

The applicable integration depends on your country. Shopify’s PayPal setup instructions explain the supported account connection process.

How to add PayPal payments to Wix

Wix supports PayPal through different payment configurations. You may be able to connect an existing PayPal Business account as a third-party provider or, if eligible in the United States, enable PayPal through Wix Payments.

Connect an existing PayPal Business account

To connect PayPal as a third-party payment provider:

  1. Open your Wix website dashboard.
  2. Navigate to Accept Payments.
  3. Check that the business location shown is correct.
  4. Select Connect next to PayPal, if available.
  5. Enter the email associated with your PayPal Business account and follow the PayPal sign-in process.
  6. Authorize the connection and select Go back to Wix.com when prompted.
  7. Verify that PayPal is connected and review the available payment methods.

You need a Wix plan that supports accepting online payments. Your store’s currency must also be supported by the selected payment provider and its connected account.

See Wix’s official PayPal connection instructions for supported markets and payment options.

Enable PayPal through Wix Payments

Wix also offers PayPal with Wix Payments to select US merchants. This option manages eligible PayPal transactions through Wix Payments rather than connecting an existing PayPal account as a separate provider.

  1. Go to Accept Payments in the Wix dashboard.
  2. Select Manage next to Wix Payments.
  3. Enable the PayPal option if your Wix Payments account is eligible.
  4. Review the available payment options and verify checkout.

PayPal with Wix Payments is not available to every Wix merchant. If you want to use an existing PayPal account, the third-party PayPal connection is a different integration.

How to connect PayPal to Squarespace

Squarespace lets eligible merchants add PayPal as a payment option for supported store purchases. You need a PayPal Business account and a supported location and currency.

To connect PayPal:

  1. Open your Squarespace site’s Payments Settings panel.
  2. Select Connect PayPal.
  3. Sign in to an existing PayPal Business account, upgrade a personal account when offered, or create a new Business account.
  4. Complete the PayPal account connection and return to Squarespace.
  5. Verify your PayPal account using the instructions sent by PayPal.
  6. Review and approve the applicable Squarespace transaction-fee billing agreement to finish the connection.
  7. Check that PayPal appears as an available checkout method.

Squarespace supports PayPal alongside eligible Squarespace Payments or Stripe configurations. Its PayPal integration is designed for one-time payments and does not support subscriptions or other recurring payments through that integration.

Squarespace’s current documentation also states that buyers using this PayPal checkout must have a PayPal account. Do not assume that Guest Checkout is available simply because PayPal is connected.

The Squarespace PayPal guide explains account connection, eligibility, and testing with a separate buyer account.

Method 3: Integrate PayPal Checkout into a custom website

If your website uses a custom checkout system, you can integrate PayPal through its developer tools instead of relying on a hosted Buy Button.

This approach is useful when you need to calculate order totals dynamically, connect payments to your own database, manage payment states, or coordinate checkout with custom business logic.

PayPal’s current developer documentation recommends JavaScript SDK v6 for new integrations. Earlier JavaScript SDK v5 implementations remain documented, but their initialization and payment-session methods differ from v6.

Step 1: Create a PayPal developer application

Go to the PayPal Developer Dashboard, sign in, and create or select an application for your payment integration.

The application provides credentials used to authenticate PayPal API requests. These include a client ID and a client secret.

The client ID can be used in approved browser-side SDK authentication flows. The client secret must remain secure on your server and must never be included in public website code.

Step 2: Load and configure the PayPal JavaScript SDK

PayPal JavaScript SDK v6 uses the core SDK at https://www.paypal.com/web-sdk/v6/core for production. Its Sandbox counterpart is hosted at https://www.sandbox.paypal.com/web-sdk/v6/core.

Initialize the SDK with the appropriate authentication method and components for your chosen payment experience. Standard one-time checkout can use the client ID initialization documented by PayPal; specific features such as Fastlane have additional token requirements.

The SDK supports eligibility checks and payment sessions. Your website should check which payment methods are available before displaying the corresponding checkout options.

The current setup and component requirements are documented in PayPal’s JavaScript SDK v6 guide.

Official PayPal JavaScript SDK v6 setup showing production and sandbox script URLs and initialization with a client ID.

Step 3: Create the payment order on your server

When a customer begins checkout, your server should determine the correct order amount, currency, and relevant purchase information using your own trusted order records.

Your server then creates a PayPal order through the Orders API. The resulting order ID is used by the browser-side checkout flow.

Do not rely on a price passed directly from the customer’s browser as the authoritative amount. Browser requests can be altered, so order totals must be calculated and validated on the server.

Step 4: Let the customer approve the payment

The PayPal SDK presents the appropriate checkout experience. After the customer approves the transaction, your integration proceeds according to the payment session’s approved flow.

Approval does not necessarily mean that funds have been captured. Your application must complete the required server-side payment action and inspect its result.

Step 5: Capture and verify the payment

For an immediate-capture checkout, your server captures the approved order using PayPal’s API and checks the returned transaction status.

Before marking the order as paid, verify that the payment belongs to the expected merchant and order and that its amount, currency, and final status match your records.

A completed capture can support fulfilling the corresponding order. A pending or denied capture must not be treated as a completed payment.

Step 6: Set up payment webhooks

PayPal webhooks notify your application about important payment events. They can help your website update orders when payment processing finishes or when a transaction changes state.

Webhook eventMeaningRecommended order handling
PAYMENT.CAPTURE.COMPLETEDPayment capture completedVerify the event and order details, then mark the payment as completed
PAYMENT.CAPTURE.PENDINGPayment completion is still pendingKeep the order awaiting payment confirmation
PAYMENT.CAPTURE.DENIEDPayment capture was deniedDo not fulfill the order as paid
CHECKOUT.PAYMENT-APPROVAL.REVERSEDApproval was reversed before captureStop the payment flow and handle the unsuccessful checkout

Verify webhook authenticity before processing events. Your system should also handle duplicate notifications without creating duplicate orders or repeatedly delivering the same purchase.

PayPal documents the relevant events in its checkout webhooks guide.

For a complete implementation, follow the current official SDK v6 integration documentation and its linked sample application rather than combining code from incompatible SDK versions.

How to test PayPal payments before going live

Connecting PayPal successfully is only one part of the setup. You also need to confirm that customers can complete checkout and that your website records their payments correctly.

PayPal provides a Sandbox environment for testing supported integrations without transferring real money.

Test with PayPal Sandbox

For a supported Sandbox integration:

  1. Access the PayPal Developer Dashboard.
  2. Use or create Sandbox merchant and buyer accounts.
  3. Configure your integration to use Sandbox credentials and endpoints.
  4. Open your website’s test checkout.
  5. Complete a purchase using the Sandbox buyer account.
  6. Confirm that the expected payment amount, currency, and transaction status are recorded.
  7. Check that the corresponding order updates correctly in your store or application.

Also check cancellation handling, failed payments, pending payments, and mobile checkout. A customer returning to your website after clicking a PayPal button is not sufficient proof that a payment was completed.

For platform-managed integrations, use the platform’s supported testing procedures. For example, WooCommerce PayPal Payments supports Sandbox Mode, while Squarespace documents testing with a separate PayPal buyer account followed by a refund.

Switch from Sandbox to live payments

After testing a custom integration, obtain the appropriate live PayPal credentials and configure the production environment.

PayPal’s production API host is https://api-m.paypal.com. Sandbox API requests use a separate Sandbox host.

Confirm that your live integration uses the correct merchant account, credentials, endpoints, and webhook configuration. Do not mix Sandbox credentials with production requests.

PayPal’s production deployment guide covers the transition from testing to live transactions.

How much does it cost to accept PayPal payments on a website?

PayPal does not charge a setup fee or monthly fee for its standard Payment Buttons product, but merchants pay processing fees when qualifying payments are received.

For US PayPal merchant accounts, the published standard domestic rates include:

Payment typeStandard domestic US fee
PayPal Checkout3.49% + $0.49
PayPal Guest Checkout3.49% + $0.49
Standard credit and debit card payments2.99% + $0.49
Pay with Venmo3.49% + $0.49
PayPal Pay Later4.99% + $0.49

These rates are based on PayPal’s US merchant fee schedule updated November 4, 2026. They apply to the specified payment types and do not mean every PayPal integration, platform, or card-processing arrangement has identical pricing.

For example, a $100 domestic PayPal Checkout payment at 3.49% + $0.49 produces a processing fee of $3.98, leaving $96.02 before any other applicable charges.

For international commercial transactions, PayPal’s US merchant schedule lists an additional 1.50% on top of the applicable domestic fee. Currency conversion may introduce further costs.

Platform charges can also differ. Shopify, Wix, WooCommerce-related extensions, and Squarespace may have their own subscription, transaction, or service fees depending on the configuration.

Review the official PayPal US merchant fees and your website platform’s pricing before selecting a payment solution.

Can customers pay without a PayPal account?

Some PayPal integrations allow eligible buyers to pay using debit or credit cards without creating or logging into a PayPal account.

This is commonly called PayPal Guest Checkout. Availability depends on the payment product, merchant setup, buyer location, payment method, and PayPal’s eligibility checks.

Guest Checkout is not guaranteed merely because a website displays a PayPal button. Certain platform integrations may require buyers to use a PayPal account, while other integrations provide additional card-payment methods.

Depending on eligibility, PayPal integrations may also offer Pay Later, Venmo, Apple Pay, Google Pay, or other payment methods. These options are not available to every merchant or customer.

Common problems when adding PayPal to a website

Payment integration problems can originate from website settings, account eligibility, payment configuration, or transaction status. Identifying the exact point of failure is more useful than repeatedly changing unrelated settings.

ProblemWhat to check
PayPal button does not appearConfirm that the generated code was added correctly, the website supports the required embed, and no page-loading error prevents the button from rendering.
PayPal account will not connectCheck the account type, email verification, merchant eligibility, and the platform’s connection requirements.
Payment method is missingReview merchant location, buyer eligibility, currency, and which payment methods the integration supports.
Customer payment failsReview the transaction error, account status, payment method, and whether the selected currency is supported.
Payment remains pendingInspect the payment’s actual status and merchant account details before marking the order as paid.
Customer paid but the order is not updatedCheck payment records, capture status, platform notifications, and webhook processing.
Custom checkout returns an API errorVerify authentication, credentials, API environment, request parameters, and the documented error response.
Checkout works in testing but fails liveCheck that production credentials, endpoints, merchant eligibility, and live settings are configured correctly.

For custom integrations, record useful error details securely and check PayPal’s API status and developer documentation. Never expose a client secret, customer payment information, or other sensitive credentials while troubleshooting.

For WooCommerce and other managed platforms, review the official payment extension’s logs or connection status and make sure the integration is compatible with the installed platform versions.

Frequently asked questions

Can I accept PayPal payments without coding?

Yes. PayPal Payment Links do not require coding, and Payment Buttons can be added using PayPal-generated embed code on compatible websites. Supported e-commerce platforms also offer payment settings or extensions that allow PayPal integration without developing a custom checkout system.

Do I need a PayPal Business account to accept website payments?

PayPal’s Payment Links and Buttons require a Business account. Other integrations have their own eligibility rules: for example, WooCommerce PayPal Payments supports account onboarding for eligible personal or business accounts, while Wix’s third-party PayPal integration and Squarespace require a PayPal Business account. US Shopify Payments merchants can use PayPal Wallet through Shopify Payments.

Can I accept PayPal payments without having a website?

Yes. PayPal Payment Links can be shared directly through messages, email, or other supported channels. Customers open the link and complete their payment through a PayPal-hosted checkout page.

Can PayPal accept recurring payments on my website?

PayPal supports recurring payments through eligible subscription products and supported platform integrations. However, standard Payment Links are intended for one-time payments, and Squarespace’s PayPal integration does not support recurring payments. The available subscription features depend on the integration and merchant eligibility.

How do I know a PayPal payment was successful?

Check the completed payment status in your PayPal merchant account or the connected platform’s transaction records. For custom API integrations, verify that the payment capture is completed and matches your order information. A checkout redirect, approval screen, or button click alone does not establish that funds were successfully captured.

Official documentation and payment resources

This guide uses official PayPal and website-platform documentation. Payment products, processing rates, interfaces, and country eligibility can change.

The simplest way to start accepting PayPal payments is usually to use a Payment Link or Buy Button for a basic website, or the official payment integration for an existing online store. Custom development is most useful when your business requires its own checkout workflow, but it also requires reliable server-side payment verification, testing, and ongoing maintenance.