Two things "PayPal shopping cart" can mean
When people search this, they usually want one of two things:
- A PayPal button next to each product so someone can click and pay. No real cart, just single-item checkout.
- A proper shopping cart (add multiple items, update quantities, one checkout at the end) that accepts PayPal as a payment method.
These need completely different solutions. The free "PayPal Buttons" route works great for path 1 and is useless for path 2. Pick the right tool based on which you actually need.
Path 1: A single-product PayPal button
If you sell one item at a time (a digital download, a single subscription, a donation), PayPal's Smart Payment Buttons are built for you. Free, no third-party software, you paste JavaScript directly into your site.
Typical setup:
<script src="https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID¤cy=USD"></script>
<div id="paypal-button-container"></div>
<script>
paypal.Buttons({
createOrder: (data, actions) => actions.order.create({
purchase_units: [{ amount: { value: '19.99' } }]
}),
onApprove: (data, actions) => actions.order.capture().then(details => {
// Fulfil the order here (send download link, redirect, etc.)
})
}).render('#paypal-button-container');
</script>
That's it. PayPal handles the checkout modal, card input, PayPal login, currency, tax (optional), and you get a callback when payment completes.
Tip: If you're integrating this yourself, put the
onApprovehandler server-side via a webhook, not client-side only. The client-side callback is for UX confirmation; the webhook is the only authoritative "payment is real" signal.
Where Path 1 breaks down: as soon as you need a cart. Browsing products, adding more than one, adjusting quantities, coupon codes, combined shipping, customer login, order history: none of that exists. You would have to build it yourself.
Path 2: A shopping cart system that includes PayPal
Once you need a real cart, you stop integrating PayPal directly and start using a cart platform that integrates PayPal for you. Many options:
- Shopify (hosted, $29+/mo, transaction fees on lower tiers)
- WooCommerce (self-hosted, free core, adds up in hosting + plugins)
- Snipcart (cart overlay for existing sites, 2% fee)
- Shoprocket (embed on any site, flat subscription, 0% transaction fees)
Each gives you the cart mechanics: add-to-cart, quantity updates, discount codes, shipping options, customer accounts, order management. Each lets you enable PayPal as one checkout option alongside cards, Apple Pay, Google Pay, and so on.
What Shoprocket looks like
Paste one script tag on whatever site you already run, regardless of CMS:
<!-- EXAMPLE ONLY. Grab your real snippet from Sales channels → Embeds in your dashboard -->
<script src="https://cdn.shoprocket.io/loader.js" data-pk="pk_yourkey"></script>
<div data-shoprocket="catalog" data-embed-id="emb_xxx"></div>
That renders a catalogue with a slide-out cart. In your dashboard: Settings → Payment Methods → enable PayPal, paste your client ID, save. Customers now see the PayPal button in checkout next to Visa and Mastercard, cart works normally, orders land in your Shoprocket dashboard with full PayPal transaction data.
No plugin install, no theme edits, no dev work. Works on WordPress, Webflow, Squarespace, Carrd, Notion, Framer, static HTML: anything that can run a script tag.
Which path do you actually need
| What you are selling | Path |
|---|---|
| One product, one price, no variants | Path 1 (PayPal button) |
| A few items, occasional checkout | Path 1 if OK with no cart, else Path 2 |
| Multi-product catalogue, real store | Path 2 (cart platform) |
| Subscriptions, recurring billing | Path 2 (PayPal buttons don't handle billing lifecycle well) |
| Digital goods with automatic delivery | Path 2 (platforms handle fulfilment; raw PayPal doesn't) |
What we tell most people
If you're a solo creator selling one product, PayPal Buttons are free and fine. Use them.
If you're running a real store and PayPal is the thing pushing you to a cart platform, it is worth zooming out. Most stores want PayPal plus Apple Pay, Google Pay, Stripe, Klarna, and local payment methods. A cart platform gives you all of these behind one integration instead of bolting each in separately.
Start a free trial of Shoprocket to see the catalogue, cart, and checkout working on your own site in under ten minutes. Pricing is here. Zero transaction fees on every plan, PayPal and all the others included.
TL;DR
- One product, no cart needed → use PayPal Smart Payment Buttons (free)
- Multi-product catalogue → pick a cart platform; enable PayPal inside it
- Don't try to hand-roll a multi-product cart on top of raw PayPal buttons. It's a lot of code you don't need to write.

Building ecommerce tools for independent sellers since 2013.



