It's a great idea to do a test Stripe transaction before accepting real payments on your CCK website.
You can create test purchases using test Stripe credit card numbers on your CCK site and analyze the transactions by logging in to your Stripe account.
Watch the video below to see how you can test your Stripe payment integration.
To get started, you have to have an active Stripe account with your Stripe keys added to your Stripe payment integration in your CCK Store area. Click here to learn how you can add Stripe to the payments integration of your CCK Store.
You also need to have a published checkout page with your course products added to your checkout page, ready to be purchased.
1. Enabling Stripe Test Mode
When testing your Stripe payments, you’ll need to ensure that no real transactions are made in the process. To do so, navigate to Store - Payments - Stripe - Settings and select the enable test payment option as shown below.
2. Create Checkout Widget to Test Stripe Payments
Open an existing checkout page or create a new checkout page to test your Stripe payments. You need to have products linked to your checkout page, ready to be checked out. Publish your page and make sure it is live or click the preview icon to preview your checkout page. Open your checkout page on a tab, ready for you to add your test Stripe payment details.
3. Perform the Test Checkout
Since you can’t use genuine card information in the Stripe Credit Card field when the addon is in test mode, enter any test card numbers listed in Stripe’s testing doc when filling out your form for testing.
4. Viewing Test Transactions in Your Stripe Account
Stripe does not send payment receipts in test mode so you won’t receive any Stripe payment notifications automatically. To view or send receipts manually, you can check your Stripe Dashboard.
To begin, you’ll need to log in to your Stripe account. Then click on Payments in the menu at the top of the screen.
Next, near the top right corner of the screen, toggle on the Test Mode option. This will show you an overview of the test payments you’ve received in your Stripe account.
If you’d like, you can view more details for individual payments. To do so, go to the row for that entry and click on the three dots to see more options. Then, select View payment details.
On the individual payment details page, you can see more information and options for your specific test payment as shown below.
5. Switching to Live Mode
When you’re done testing, remember to deactivate Test Mode in your Stripe account. Next, untick the test payment option inside CCK on your Stripe integration as shown below: