Skip to Content
Docs

PayPal

Accept PayPal payments. Customers pay from their PayPal balance, linked bank account, or saved card.

PayPal is a digital wallet. Customers log in to PayPal and pay from their PayPal balance, a linked bank account, or a saved card.

Payment method properties

PayPal takes payments in 24 currencies from customers in every country except sanctioned ones, and confirms them immediately.

PropertyDetails
TypeDigital wallet
API typepaypal
How customers payRedirect to the provider
Customer countriesGlobal
CurrenciesAUD, BRL, CAD, CHF, CNY, CZK, DKK, EUR, GBP, HKD, HUF, ILS, JPY, MXN, MYR, NOK, NZD, PHP, PLN, SEK, SGD, THB, TWD, USD
RefundsFull and partial
Recurring paymentsYes
Authorize and capture laterYes
DisputesYes
IntegrationsUniversal checkout, Headless checkout, API
Merchant countriesGlobal (excluding sanctioned countries)
Payment confirmationImmediate

Customer payment flow

When a customer selects PayPal at checkout, they're redirected to PayPal to log in and confirm the payment. The exact flow depends on the customer's PayPal account setup and funding source.

  1. 1

    Select PayPal and proceed

    The customer selects PayPal on your checkout page and clicks Pay. Pay.com creates a charge and generates a redirect URL to the PayPal authorization page.

  2. 2

    Log in to PayPal

    The customer is redirected to PayPal and logs in with their email and password. If the customer has two-factor authentication turned on, they complete that step as well.

  3. 3

    Choose a funding source and confirm

    PayPal displays the payment amount and available funding sources (balance, linked bank account, or saved card). The customer selects a funding source and clicks Complete Purchase to authorize the payment.

  4. 4

    Return to your site

    After the customer confirms payment, PayPal posts the result back to Pay.com. The customer is redirected to your return_url and the charge moves to succeeded.

If the customer closes the payment page without completing authorization, the charge stays in requires_authentication until the authentication session expires (60 minutes by default). It then moves to failed and a charge.failed webhook event fires. Don't fulfill the order until you receive a charge.succeeded event.

Before you begin

PayPal works with your standard Pay.com integration once it's enabled on your account.

Account prerequisites:

  • You must have an active Pay.com merchant account with PayPal enabled. Contact your account manager to enable PayPal for your account.
  • You don't need a separate PayPal merchant account. Pay.com manages the PayPal integration on your behalf.

Technical prerequisites:

  • No additional SDK or library is needed beyond the standard Pay.com integration.
  • If you use an iframe-based checkout, make sure your Content Security Policy allows *.paypal.com as a frame-src directive value.

Dashboard configuration

After your account manager enables PayPal for your account, turn it on for checkout in the Pay.com dashboard. If PayPal isn't listed in the dashboard, ask your account manager to enable it first. See Turn on payment methods.

Handling payment events

Pay.com sends these webhook events as a PayPal charge changes status. Creating a charge does not emit a webhook event.

EventWhen it firesWhat to do
charge.pendingThe customer approved the payment, and PayPal hasn't confirmed it yetWait for charge.succeeded or charge.failed
charge.succeededThe customer approved the payment, and it completedFulfill the order
charge.failedThe customer canceled, PayPal declined the payment, or the authentication session expiredAsk the customer to pay again or use another method

Verify the Pay-Signature header before acting on an event. See Verify webhook signatures.

Refunds

You can refund a PayPal payment in full or in part. You can refund a payment more than once, up to 180 days after the payment. Refunds in BRL, CNY, and MYR are available only for in-country accounts. To refund it, send POST /v1/refunds with the charge's id as charge, and set amount_to_refund for a partial refund. See Refund a charge for refund statuses and webhook events.

Disputes

Customers can dispute PayPal transactions either through PayPal's own protection program or, for card-funded payments, through the card network chargeback process. See Disputes for the dispute lifecycle, evidence, and webhook events.

Recurring payments

PayPal supports recurring payments through saved payment methods. When a customer completes the initial payment with setup_future_usage: "off_session" (inside source_data on POST /v1/charges, or on the payment session for the SDK), their PayPal account is saved as a reusable pm_paypal_… payment method. You can then charge the saved payment method for future transactions, and the customer doesn't need to log in to PayPal again. When its flow_directions.payout is true, you can also pay out to it. See Pay out to a saved PayPal account.

Contact your account manager to verify that recurring PayPal payments are available on your account.

Accepted industries

PayPal classifies restricted and high-risk verticals by Merchant Category Code (MCC). See the PayPal acceptable use policy for the full list of prohibited and restricted activities.

Industry restrictions are set by PayPal and may change. Contact your account manager if you're unsure whether your business qualifies.

Next steps

  • Add to checkout: Accept PayPal payments with Pay.com.js or from your server, and test them in the sandbox.
  • Refund a charge: Review refund statuses and webhook events.
  • Webhooks: Configure a webhook endpoint and verify signatures.
Was this page helpful?