If you are using the PayPal or Stripe sandbox accounts in sample.env then you can use the following credentials/credit cards for QA
- Email - send-donation2@test.com
- Password - TestTestTest
- Visa 4242 4242 4242 4242
- Expiry date - Any future date ie 01/19
- CVC - Any 3 digit number ie 123
- First Name - Any name ie Mary
- Last Name - Any name ie Roe
- Country - Any country ie Canada
- Address - Any address ie 366 Adelaide St W
- City - Any city ie Toronto
- Zip/Postal code - Any zip/postal code ie M5V 1R9
- State/Province - Any state/province ie Ontario
- Email - Any email ie maryroe@example.org
Stripe also provides many other test credit cards for other brands and Stripe error messages.
- Visit /
- Select a donation amount
- Click the Next button
- Click the PayPal button
- Ensure you are redirected to PayPal
- Sign-in to a sandbox PayPal account
- Click the Pay Now button
- Ensure you are redirected to /thank-you/
- Visit /
- Select a donation amount
- Click the Next button
- Click the Credit card button
- Fill in the credit card number, expiry date, and CVC
- Click the Next button
- Fill in the name, address and email
- Click the privacy checkbox
- Click the Donate now checkbox
- Ensure you are redirected to /thank-you/
- Visit /thank-you/
- Enter an email address
- Click the privacy checkbox
- Click the Sign up now button
- Ensure you are redirected to /share/
- Currencies - e.g. USD / EUR / GPB - do the correct currencies get passed to Stripe and Paypal?
- Onetime / Monthly - does the correct donation frequency get passed to Stripe and Paypal?
- Amount - does the correct amount (selected in input) get passed to Stripe and Paypal?
- Language - does the form work the same in multiple languages (e.g.
/en-US/
or/de
) - Form variations