PayPal test automation
Payments
PayPal opens popups, redirects and sandboxes. DoesQA follows every one of them and proves the order comes back paid.


What we test on PayPal
PayPal Express from product page, basket and mini cart
PayPal through Adyen and Braintree
Sandbox login and approval in the PayPal popup
Cancelled and failed payments
Return to the store and order confirmation
How to test PayPal
Use the PayPal sandbox, not a live account. PayPal documents a personal sandbox account as the buyer and a business sandbox account as the seller. Start the Express button from the product page, the basket and checkout, sign in as the sandbox buyer, approve the payment, and confirm you land back on the store with a paid order. Also prove a cancelled payment.
Run those journeys on every release, on every market where PayPal is offered.
In DoesQA, Switch Window takes the test into the PayPal popup and back again. Adyen PayPal completes the whole PayPal step for Adyen checkouts in one move.
PayPal test checklist
PayPal Express from the product page, the basket and checkout.
Sandbox login and approval in the PayPal popup, then return to the store.
A cancelled payment, and the state the basket is left in.
The order confirmation after a successful approval.
If you serve PayPal through Adyen, complete that path too (Adyen PayPal in DoesQA).
Where PayPal tests usually break
The approval happens in a popup or redirect.
A test that never leaves the storefront cannot approve the payment. Follow the shopper into the PayPal window or redirect and back. In DoesQA, Switch Window moves into the popup and back.
Live PayPal accounts charge real money.
Use sandbox buyer and seller accounts from the Developer Dashboard. Sign in at sandbox.paypal.com, not the live site.
Express buttons appear in more than one place.
A journey that only covers checkout misses Express on the product page or mini cart. Test each placement you show to shoppers.
What you need to get started
A storefront checkout that points at the PayPal sandbox, not live PayPal.
Sandbox accounts from the PayPal Developer Dashboard (Testing Tools, Sandbox Accounts). PayPal creates a default personal (buyer) and business (seller) account; sign in at sandbox.paypal.com/signin. Source: Sandbox accounts (fetched 10 November 2026).
For 3D Secure on PayPal, see Test 3D Secure and the 3D Secure page.





