The PayPal sandbox works a little differently from other gateways.
To test PayPal you must:
- Create a PayPal developer account at developer.paypal.com.
- Create a sandbox account.
- Get the API credentials / test credit card.



Test cards and failure scenarios
Section titled “Test cards and failure scenarios”For test cards and how to make payments fail in the sandbox, see PayPal Commerce test cards.