Pick Braintree if PayPal and Venmo matter to your customers and you want them in the same integration as your cards, or you sell abroad a lot, where its add-ons are lower. Pick Stripe for the wider product set (Billing, Connect, Radar, Tax, Checkout) and when you fight a lot of disputes and win some, because Stripe refunds part of the fee on a win. On a US domestic card the price difference is a cent or two either way.
Braintree vs PayPal: Braintree is PayPal's own gateway and processor, now sold as "PayPal Braintree". The old braintreepayments.com pricing address redirects to PayPal's site. A merchant using PayPal Checkout gets the PayPal button and PayPal's card processing; a merchant on Braintree gets a full card processor with PayPal and Venmo as payment methods inside it. Braintree adds nothing for the PayPal payments: "Braintree will not charge any fees for PayPal transactions; only PayPal's processing fees apply" (Braintree docs).
Fees side by side
US rates. Stripe's were checked on 14 November 2026 (Stripe). Braintree's card rate and add-ons are from PayPal's Braintree fee page as we recorded it on 11 November 2026; paypal.com refused our automated check on 14 November, so open it before you rely on them. The dispute fee and PayPal and Venmo rows are from Braintree's developer docs, checked 14 November.
| Fee (US) | Stripe | Braintree |
|---|---|---|
| Card or digital wallet | 2.9% + $0.30 | 2.89% + $0.29 |
| International card | +1.5% | +1% |
| Currency conversion | +1% | +1% |
| PayPal | Processed by Stripe only for businesses in its listed European countries; elsewhere through your own PayPal account | Built in, at PayPal's own processing fees |
| Venmo | Not offered | Built in, for US business entities only (Braintree) |
| Dispute | $15 received, plus $15 if you counter it; the countered fee is refunded if you win | $15, "regardless of whether you win the dispute" (Braintree docs) |
| ACH bank debit | 0.8%, capped at $5 | Check PayPal's fee page |
| Setup or monthly fee | None | None listed |
Stripe's PayPal row is from Stripe's PayPal docs. For what PayPal's own processing fees are, see Stripe vs PayPal.
What that means per payment
Arithmetic on the rates above:
| Payment | Stripe | Braintree |
|---|---|---|
| $20 domestic card | $0.88 | $0.87 |
| $100 domestic card | $3.20 | $3.18 |
| $500 domestic card | $14.80 | $14.74 |
| $100 international card, no conversion | 4.4% + $0.30 = $4.70 | 3.89% + $0.29 = $4.18 |
| $100 international card, converted | 5.4% + $0.30 = $5.70 | 4.89% + $0.29 = $5.18 |
A month of $50,000 in 1,000 domestic orders costs $50,000 x 2.9% + 1,000 x $0.30 = $1,750.00 on Stripe and $50,000 x 2.89% + 1,000 x $0.29 = $1,735.00 on Braintree. Fifteen dollars. International is where the gap is real: $0.52 on every $100 foreign card.
Disputes run the other way if you fight and win. Ten disputes in a month, all countered, four won: on Stripe that's 10 x $15 received + 10 x $15 countered - 4 x $15 refunded = $240. On Braintree it's 10 x $15 = $150. Stripe charges for the act of fighting and Braintree doesn't, so a merchant who fights everything pays more on Stripe; one who only fights strong cases narrows the gap. Either way, the disputed amount itself is the number that matters, and chargeback fees has the rest.
PayPal and Venmo: the actual reason to pick Braintree
Through Braintree, PayPal comes as one-time payments, vaulted payments for later and recurring payments, behind the same Drop-in UI or custom integration you use for cards (Braintree). Venmo is US-only: "You can use Venmo for payments only with United States-based business entities" (Braintree).
Stripe processes PayPal itself only for businesses in its listed European countries. A US Stripe account adds PayPal as a custom payment method run through its own PayPal account (Stripe), which works, and means two integrations, two dashboards and two sets of webhooks. If PayPal is a large share of your checkout, that's the strongest argument for Braintree.
Where Stripe wins
- Building on it. Payment Intents, Billing, Connect, Radar and Tax are one API with test mode and a CLI. Chapter 9 covers the lot.
- Disputes you win, because the countered fee comes back.
- One processor outside PayPal's orbit. If PayPal limiting an account worries you, a Stripe card processor with a PayPal button beside it keeps the cards separate. The PayPal 180-day hold covers what sets PayPal's limits off; whether those reviews extend to Braintree accounts isn't something PayPal's public pages spell out.
If you go to PayPal directly instead: the create, approve and capture flow, and the OAuth token to cache. From chapter 10.
PayPal Checkout is a JavaScript SDK that renders the PayPal buttons and runs the whole payment flow. Your customer never types a card into your form. They either log in to PayPal or enter a card through PayPal's guest checkout, and PayPal's interface handles both.
The flow has three steps: create an order (what's being bought), get the customer's approval (in PayPal's interface), and capture the payment (actually take the money). The split is deliberate. It's safer, and it means you decide exactly when the money moves.
Frontend Implementation
The frontend loads PayPal's JavaScript SDK and renders the buttons. The SDK owns the UI, the login, and the security requirements; you provide callbacks for the events you care about.
Implementation: src/examples/10-paypal/paypal_frontend.html
The SDK initializes the buttons, runs the approve/capture handshake, and surfaces errors and cancellations through your callbacks. The example file wires server-side capture verification, success-page redirection, and analytics events through those same hooks, so you only write the business logic for what to do when a payment lands.
Backend Implementation (Python)
Your backend authenticates with PayPal, creates and captures orders, and confirms a payment actually completed before you act on it. Authentication is OAuth 2.0: you exchange your client credentials for an access token, then send that token with your API calls.
PayPal uses OAuth 2.0 for API authentication, and each access token comes with an expires_in value (PayPal's sample is 31,668 seconds, about 8.8 hours). Cache them until shortly before that. If you request a fresh token for every API call you'll hit rate limits and slow everything down. Keep the token in memory or Redis, track its expiry, and refresh it before it lapses rather than after.
See the complete backend implementation:
src/examples/10-paypal/paypal_client.py- PayPal API client (OAuth 2.0, orders, captures, refunds, subscriptions, webhook verification)src/examples/10-paypal/flask_backend.py- Flask backend with health check and sandbox/live switching
The non-obvious bits in the client: tokens are cached in memory and refreshed proactively (PayPal rate-limits you fast if you re-authenticate per call), and the refund path has to handle PayPal's two-stage capture model where authorization and capture can be split across days.
The Stripe side: card details collected by Stripe.js, so they never touch your server. From chapter 9.
Frontend Integration
Stripe.js collects the card details in the browser, so they never touch your servers and your PCI scope shrinks with them.
Complete Implementation: See src/examples/9-stripe/frontend_payment.html
const stripe = Stripe('pk_test_YOUR_KEY');
const elements = stripe.elements({ clientSecret });
const paymentElement = elements.create('payment');
paymentElement.mount('#payment-element');
// On form submit
const {error} = await stripe.confirmPayment({
elements,
confirmParams: { return_url: 'https://yoursite.com/success' }
});
Questions
Is Braintree cheaper than Stripe?
Slightly, on US cards. Braintree lists 2.89% + $0.29 against Stripe's 2.9% + $0.30, so $3.18 against $3.20 on a $100 payment. On international cards the gap is bigger: Braintree adds 1% and Stripe adds 1.5%.
What is the difference between Braintree and PayPal?
Braintree is PayPal's own card gateway and processor, sold as PayPal Braintree. It processes cards and includes PayPal and Venmo as payment methods. Braintree charges no fee of its own on PayPal transactions; only PayPal's processing fees apply.
Can I accept Venmo with Stripe?
Stripe doesn't offer Venmo. Braintree does, for United States-based business entities only.
Does Braintree refund the chargeback fee if I win?
No. Braintree's docs say the bank charges a non-refundable $15 fee regardless of whether you win. Stripe charges $15 per dispute plus a $15 countered fee, and refunds the countered fee when you win.
Can Stripe accept PayPal payments?
Stripe processes PayPal for businesses in its listed European countries. Outside them, including the US, you add PayPal as a custom payment method through your own PayPal account.