Test your checkout with Stripe test cards
Each payment case run in test mode, from a good card to a declined one, with what the buyer sees.
- You start it: When you start it
What it does
The task
Open the checkout at checkout url, and stop if the page is in Stripe live mode. Buy product once with each of these Stripe test cards: a card that succeeds, a declined card, a card that needs 3D Secure and a card with insufficient funds. For each case, note the message on the page, the page you land on and the payment status in the Stripe test dashboard. Check that a successful order sends the receipt e-mail. Send me a table with each case, the expected result and the actual result.
- It works in Stripe and any website, in the workspace you pick, and signs in with passwords from your Cuiar vault.
- It runs once, when you start it.
What you give it
| Blank | What to give | Example |
|---|---|---|
| checkout url | The checkout page on staging or in test mode | https://staging.brightleaf.app/checkout |
| product | The product or plan to buy | Pro plan, monthly |
What you get back
An example run with the example values above. Your run uses your own data.
Checkout test, staging.brightleaf.app, Pro plan, monthly
| Case | Card | Expected | Actual |
|---|---|---|---|
| Success | 4242 4242 4242 4242 | Thank-you page and receipt | Pass, receipt after 40 s |
| Declined | 4000 0000 0000 0002 | Clear error, stay on the page | Pass: "Your card was declined." |
| 3D Secure | 4000 0025 0000 3155 | Challenge, then success | Fail: after the challenge the page is blank |
| No funds | 4000 0000 0000 9995 | Clear error | Pass: "Your card has insufficient funds." |
Stripe test dashboard: 1 succeeded, 2 failed, 1 incomplete (3D Secure)
Run it in Cuiar
- 01
Open it
Click Use in Cuiar on this page. The side panel opens with the task in the composer.
- 02
Fill in 2 blanks
Type checkout url and product. Tab moves to the next blank.
- 03
Run it
Run sends it to the agent. Follow each step in the panel, and stop it at any time.
From the terminal
cuiar exec "Open the checkout at https://staging.brightleaf.app/checkout, and stop if the page is in Stripe live mode. Buy Pro plan, monthly once with each of these Stripe test cards: a card that succeeds, a declined card, a card that needs 3D Secure and a card with insufficient funds. For each case, note the message on the page, the page you land on and the payment status in the Stripe test dashboard. Check that a successful order sends the receipt e-mail. Send me a table with each case, the expected result and the actual result."Run it from your AI agent
Claude Code, Codex, Cursor and other MCP clients reach Cuiar at https://mcp.cuiar.com/mcp. Add the server one time, then ask for the task in plain words, or call run_task yourself.
1. Add Cuiar to Claude Code
claude mcp add --transport http cuiar https://mcp.cuiar.com/mcp2. Ask your agent
Use the Cuiar tool run_task to run my "Test your checkout with Stripe test cards" template with checkout url = https://staging.brightleaf.app/checkout; product = Pro plan, monthly.Setup for other agents: AI agents.
The tool call
{
"name": "run_task",
"arguments": {
"task": "Open the checkout at https://staging.brightleaf.app/checkout, and stop if the page is in Stripe live mode. Buy Pro plan, monthly once with each of these Stripe test cards: a card that succeeds, a declined card, a card that needs 3D Secure and a card with insufficient funds. For each case, note the message on the page, the page you land on and the payment status in the Stripe test dashboard. Check that a successful order sends the receipt e-mail. Send me a table with each case, the expected result and the actual result."
}
}Related templates
All engineering templatesSales
Find customers who are ready to upgrade
Accounts near their plan limits, with the usage, the plan that fits and the extra revenue.
You start it: When you start it- Any admin panel
- Stripe
- HubSpot
Finance
Match Stripe payouts to your bank deposits
Each payout matched to a deposit, with fees and refunds, and the payouts that did not arrive.
You start it: When you start it- Stripe
- Any bank site
- Google Sheets
FinanceAsks first
Answer a Stripe dispute with evidence
The order, the delivery proof and your messages for the disputed payment, with a draft answer.
You start it: When you start it- Stripe
- Shopify
- Gmail
- +1 more: Any carrier site
Finance
Prepare the figures for your VAT return
Sales and input VAT by rate for the period, checked against your sales platforms, with the box values.
You start it: When you start it- Xero
- Shopify
- Stripe
- +1 more: Google Sheets
Data
Copy numbers from your dashboards into a sheet
One new row each week with the numbers from each of your dashboards, ready for charts.
On a schedule: Every Monday at 7:00- Stripe
- Google Analytics
- Any admin panel
- +1 more: Google Sheets
Finance
Prepare the numbers for your investor update
Revenue, growth, burn, runway and customer count for the month, each with its source.
On a schedule: On the 3rd of each month at 9:00- Stripe
- Any bank site
- Google Sheets