PayPal Sandbox Test Card: Force a Decline
Force a PayPal sandbox card decline on purpose with the CCREJECT-IF trigger, then test it with KaneAI on desktop and a real phone. π’ KaneAI is TestMu AI's end-to-end testing agent. Describe a test in natural language, and KaneAI plans, authors, runs and evolves it across web and mobile apps. What you'll get: β Point checkout at sandbox: sandbox client ID + secret, calls to api-m.sandbox.paypal.com β Test Visa 4012 8888 8888 1881, any future expiry, any 3-digit CVV β Put CCREJECT-IF in Name on Card β 5120 INSUFFICIENT_FUNDS β More triggers: CCREJECT-EC (5400 card expired), CCREJECT-REFUSED (0500 do not honor) β KaneAI runs the same test on desktop and a real phone. The decline is the pass. Note: triggers are case-sensitive, sandbox-only, and need Expanded Checkout (sandbox business account with Advanced Credit and Debit Card Payments). π Try KaneAI: https://www.testmuai.com/kane-ai/ π PayPal card testing docs: https://developer.paypal.com/api/rest/sandbox/card-testing/ CHAPTERS 0:00 PayPal sandbox card declined on purpose 0:18 Step 1: Point checkout at sandbox 0:30 Step 2: CCREJECT-IF forces insufficient funds 0:48 Other PayPal decline triggers 1:00 Step 3: Run it with KaneAI on desktop + real phone #PayPalSandbox #PaymentTesting #KaneAI #TestMuAI




Join the discussion
Have something to add?
Sign in to reply, follow this thread, and earn XP when your answer helps someone.