Once you’ve added the payment form to your website, visit the page on the frontend and click the Buy or Subscribe button. You will be redirected to the Stripe Checkout page to complete the transaction.
If your Stripe account is running in Test Mode, you can use the following test card to simulate a successful payment:
- Card Number:
4242 4242 4242 4242 - Expiration Date: Any future date
- Security Code (CVC):
123 - Billing ZIP Code: Any valid ZIP or postal code
To simulate a declined payment, use the following test card instead:
- Card Number:
4000 0000 0000 0002 - Expiration Date: Any future date
- Security Code (CVC):
123 - Billing ZIP Code: Any valid ZIP or postal code
Stripe will process these cards in Test Mode only, allowing you to verify both successful and failed payment scenarios without creating real charges.