On this page
No Headings
Last updated: June 23, 2026
Accept PayPal payments on your website. Customers can select the PayPal button on your site and pay with any funding source linked to their PayPal account.
Use the quickstart integration to get a localhost demo up and running. The quickstart includes sample code for:
After completing the quickstart, extend your PayPal integration with additional features such as order management, authorization handling, and specialized payment flows. Choose the features that match your business needs.
Add server-side endpoints to handle refunds, voids, delayed captures, and specialized checkout flows. Each feature builds on the quickstart integration.
Choose the features that match your business model. You can implement all of these programmatically.
Merchants can also add tracking, mark shipments, and issue refunds directly in the PayPal business dashboard.
Authorization holds funds on the buyer's payment method to confirm they can pay, but doesn't transfer money.
Capture moves the funds from the buyer to the merchant account. There are two capture flows:
| Flow | When to use | Features available |
|---|---|---|
| Immediate capture | Ship within 3 days | Refunds, shipping and tax, split shipments |
| Authorize then capture | Ship after 3+ days or require order verification | Void, delayed capture, reauthorization, buy online pick up in store |
Complete the quickstart PayPal integration, then add features to match your business needs.