PayPal Sandbox: $5,000 Of Fake Money In 60 Seconds
PayPal's sandbox hands every developer a fake buyer and a fake seller (merchant), each preloaded with USD 5,000. Nobody tells you the balance is editable, so you can set it to any number you need to test.
Full flow:
1. Developer dashboard, toggle top left set to Sandbox.
2. Left nav, Testing Tools, then Sandbox Accounts .
3. Create account. Personal is your buyer, Business is your merchant.
4. Set Country to the market you are actually building for.
5. Make one of each. A seller with nobody to buy from tests nothing.
6. Find your row, click the three dots under Settings, then View/Edit account.
7. Login Info holds the email and password. Click the eye to reveal it.
8. Log in to the PayPal Sandbox.
Your Client ID and secret come from the Business account, under REST API apps, then Create App. The Personal account has no such section, which is what trips most people up.