The key number is about 3 minutes. The Stripe testing documentation says that in a sandbox, transitions happen after about 3 minutes for account numbers that simulate a delay. A signup test that reads account status too early can record the wrong result.
> Everyday takeaways > > - Wait about 3 minutes before judging a delay-simulating account. > - When a run returns 429 errors, lower your request frequency and rerun the affected group. > - Use the microdeposit amounts or 0.01 descriptor code values to mimic different scenarios, and write down which value you sent. > - Treat sandbox transactions as rehearsal: they use test values and move no funds. > Braintree's testing reference says its sample card numbers will not trigger specific card errors, so do not use them for error-path cases.
Why a 3-minute delay can change your sandbox result
The delay rule is the one most likely to change a signup test without anyone noticing. The Stripe testing page says that in a sandbox, transitions happen after about 3 minutes for account numbers that simulate a delay. The rule applies to the sandbox, and only to the account numbers built to simulate it.
Here is how it plays out in a free-trial test. Your script creates a test account, then checks whether the account has reached its settled state. If that check runs seconds after creation, the account is still in its earlier state. Your flow might show a waiting screen, log a failure, or retry a step that never broke. The result you record then reflects your script's timing, not the behavior of the signup.
The practical fix is to tie your reading of results to the state change rather than to elapsed time alone. Start with a wait of about 3 minutes for delay-simulating accounts, then poll for the transition. Set an upper timeout long enough to catch an account that never moves. A timeout that is too short makes a healthy test look like a failure, and one that is too long hides a stuck flow until a later run.
Keep delay accounts separate from ordinary test accounts. If you mix both kinds into one run, your timing numbers will look inconsistent, and reviewers will search for a bug that is really a labeling problem. Name each test account after the scenario it represents, and note its expected wait in the same place.
Finally, treat the wait as a fact about the sandbox. It helps you rehearse the sequence before launch day, but it is not a promise about how long a real customer's account takes to settle.
Test card numbers that skip specific errors
The Braintree testing reference makes a plain statement about its sample card numbers: "These credit card numbers will not trigger specific credit card errors." The Braintree Ruby testing reference makes this point, so a clean success on these cards shows the happy path works.
That is useful, but it is not enough for a free-trial signup. A trial flow has to handle more than approval: a declined card, an expired card, or a card that fails when the trial converts to paid. If every test in your run uses numbers that avoid specific errors, your green results describe only the success path. The rest of your launch risk stays invisible.
The fix is to split the run into two groups. The first group uses the sample numbers to confirm that signup, trial start, and the first simulated charge work end to end. The second group covers error paths, and it needs numbers that actually trigger the errors you want to test. Because the sample numbers will not trigger those errors, they cannot serve the second group. Using them there would make an error case look like a pass.
Label the groups in your test plan, not only in code. A reviewer who sees "all cards passed" should be able to tell at a glance whether any error case was included. A column in your results sheet for card type and expected outcome is enough to make that visible.
Comparing sandbox limits side by side
The table below puts the sandbox behaviors from this post on the same three measures: the figure the source gives, the behavior's own attributes, and what the behavior changes in your test.
| Sandbox behavior | Figure from the source | What it changes in your test |
|---|---|---|
| Delay-simulating account numbers | About 3 minutes before the transition | Your state check has to wait, or it reads a pending account |
| Requests returning 429 errors | 429 is the error code named | Lower your request frequency and rerun |
| Microdeposit or descriptor test values | 0.01 descriptor code value | Mimics different scenarios in one test group |
| Sample test card numbers | No figure given (Braintree's reference) | Braintree's numbers avoid specific card errors, so error cases need other numbers |
| Simulated transactions | No figure given | Use test values that move no funds |
Read across the rows and the limits fall into four types. The 3-minute delay is a timing limit, so it changes when you read a result. The 429 errors are a volume limit, so they change how many requests you send at once. The microdeposit values and test card numbers are input choices, so they change which scenario a test covers. Simulated transactions set the scope of what a passing run means.
If you remember only one row, remember the timing one. It is one of the limits that can make a correct flow look broken without any code change, which is why it deserves the first slot in your launch-day checklist.
Rate limits and 429 errors in test runs
The Stripe testing page gives a direct instruction for this case: "If requests in your test environment return 429 errors, reduce your request frequency." A 429 response tells you that your test is sending requests faster than the sandbox will accept. A signup test that creates many accounts in a tight loop is the most likely place to hit it.
The most common trap is polling. Once you have decided to wait about 3 minutes for delay accounts, a naive script checks each account every few seconds. Across a batch, that checking can become a large share of your total requests. Polling less often, and spreading account creation across the run, lowers request frequency without changing the outcome you measure.
When a run hits 429 errors, stop the loop, reduce the request frequency, and rerun the affected group rather than reading partial results. A run that mixed throttled and unthrottled requests does not give you a clean timing number. Record which requests returned 429 so that run is marked as throttled and does not get compared with clean runs.
The same discipline that protects your timing measurements also protects your request volume. Both come down to not letting your script run faster than the scenario it is testing.
Microdeposit amounts and 0.01 descriptor codes
The Stripe testing page covers a second kind of simulation: "To mimic different scenarios, use these microdeposit amounts or 0.01 descriptor code values." For a free-trial signup, this matters most when a flow verifies a bank account or depends on a statement descriptor, because those steps produce outcomes that depend on the value you send.
The value is the scenario. You do not test a scenario by describing it in a test name. You test it by sending the value that mimics it. That makes the choice of value part of your test design, so it belongs in the plan alongside the expected result. A reader should be able to see which value produced which outcome without asking the tester.
Build a short table in your test plan with a row for each scenario you need, and record the value you will send for each. Keep the descriptor code values separate from the microdeposit amounts so one kind of test does not overwrite the other. If a flow works for one scenario but fails for another, the value list shows which input changed, which narrows the search considerably.
Testers should use the values in the plan, not improvised ones. A tester who picks a different value gets a result nobody else can reproduce, and that result cannot be compared with the rest of the run.
Simulated transactions that move no funds
The Stripe testing page is direct about what a sandbox run is: "Test your integration in a sandbox by simulating transactions with test values—these transactions don't move funds." That sentence sets the scope of every sandbox result. A passing run shows that your flow handles test values correctly. It does not show that money moved, because by design none did.
This is good news for launch planning. You can run the full path from signup through trial start to a simulated charge repeatedly: sandbox transactions use test values and move no funds, though the 429 request-frequency limit still applies. Teams that are nervous about live traffic can rehearse each step, including the timing and request rules from the earlier sections, where a mistake costs only time.
The limit is just as important. Because the transactions use test values, a sandbox pass cannot tell you how the flow behaves with real card data, real banks, or real customer behavior. Use sandbox results to find logic and timing errors first. If the real payment path carries risk you have not yet seen, plan a small, controlled step before the full launch.
The 24-hour cancellation window
Cancellation is where free-trial signups most often produce results that look wrong. A customer who cancels during the trial expects the account to stop, and your test has to confirm that it does. The window itself is a product rule, not a sandbox setting, so start by writing down the terms you plan to offer: when a cancellation takes effect, whether anything is refunded, and what the user sees afterward.
The W3C's tutorial on validating input is a useful reference for how forms should communicate rules like this to people. Its examples include a shopping website (the 24-hour cancellation example) and a vehicle registration field pattern, so use the tutorial for guidance on presentation, not as a source for the length of your own window.
Test the window from both sides. Cancel inside it and confirm that the account reflects the cancellation. Then try to cancel after it and confirm that the flow refuses with a clear message. Testing only the first case shows that the button works, but not that the deadline is enforced.
Timing is the hard part. If your window is measured in hours, a single test session cannot wait that long. Simulate the boundary instead, using whatever method your test setup offers for moving time forward. Record how you simulated it. A boundary check that skipped the real clock is a different test from one that waited, and reviewers should be able to tell which kind they are reading.
What happens after the 24-hour mark
Once a window closes, the account should change state, and your test should confirm that the change happens and that nothing else moves with it. Write down the state before the mark, the state after it, and the screens a user sees at each point. Then check each one in the sandbox.
The transition timing the Stripe documentation gives for the sandbox is about 3 minutes for account numbers that simulate a delay. That figure applies to delay accounts in the sandbox. It does not give you a schedule for your own trial end date, so do not borrow it to predict when a real trial closes.
Plan for the boundary itself. Run one account just before the mark and one just after, and compare what each shows. An off-by-one error at the boundary is easy to miss if you test only mid-window dates. Give each boundary account its own label in the results sheet, so the boundary result is visible without digging through logs.
Be careful with the flow after the mark, too. If a trial has closed, a retry from an old browser tab or a scheduled job might attempt an action that the window no longer allows. Include those retries in the test. They are a common source of behavior that appears only in production-like conditions, and the sandbox can reveal them if you look for them on purpose.
Input pattern rules for signup fields
Many signup forms accept only a specific format: an email address, a phone number, a postal code, or a company identifier. Each field needs a rule, and each rule needs a test. The W3C's validating input tutorial covers the general practice of checking input and explaining errors. Its examples are not about signup, so take its principles and write your own patterns.
Write each pattern from your own product's requirements. For every field, list three groups of values. The first group is valid values that should pass. The second is invalid values that should be rejected with a message the user can act on. The third is edge cases, such as leading spaces, very long entries, or characters from another alphabet. A pattern that passes the first group and fails the third needs a second look.
Check the message as well as the rejection. A form that refuses a value without saying why has not really validated its input from the user's point of view. Record the exact text of each message in the test plan, so that a later change to the wording shows up as a difference, not as a silent edit.
Keep the sample values for pattern tests in a separate file from the payment test values. Mixing them makes it hard to tell whether a failure came from the form rules or from the payment path, and that confusion costs time on launch day.
Which one should you pick?
When a test plan includes several simulated values, the question is which one covers the scenario you need. Choosing wrong can leave a gap that looks covered on paper. The options below answer different questions, so pick by what you are trying to learn.
| Option | Use it when | Figure from the source |
|---|---|---|
| Delay-simulating account numbers | You need to check that your flow waits for a state change | About 3 minutes |
| Microdeposit amounts | You need to mimic different scenarios with the microdeposit values | No figure given |
| 0.01 descriptor code values | You need to mimic different scenarios with descriptor code values | 0.01 |
The Stripe testing page describes both microdeposit amounts and 0.01 descriptor code values as ways to mimic different scenarios. They are not interchangeable. Pick the one that matches the step you are testing. If your flow reads account state over time, use the delay accounts and the wait. If your flow depends on a value that appears in a particular step, use the matching test value.
A practical rule: for each scenario in your plan, name the option you chose and the reason. A reviewer who sees "descriptor code value 0.01, for the descriptor check" can rerun it. A reviewer who sees "test value, scenario 3" cannot.
Building a launch-day timeline from these limits
A launch-day timeline puts the sandbox limits in order, so the team knows what to wait for and what to do when a limit is reached. Start with the account creation step, then the state check, then the retry rules. Each row should name the figure that drives it.
| Step | Timing | Source figure |
|---|---|---|
| Create a delay-simulating test account | Start of the clock | Starts the wait |
| First state check | Too early before the transition | About 3 minutes |
| Poll for the transition | After about 3 minutes, up to an upper timeout | About 3 minutes |
| Any run that returns 429 errors | Stop, lower request frequency, rerun the affected group | 429 |
The Stripe testing page gives both the 3-minute transition figure and the instruction to reduce request frequency when requests return 429 errors. Build those into the plan as fixed steps, not as things to remember during the run.
The W3C tutorial on validating input is a reasonable place to check how your form messages look at each step. Set your own schedule for the timing decisions, because the tutorial does not set any timing for a launch.
Finally, assign an owner to each step and a deadline for the rerun. A timeline with no owners tends to leave the 429 rerun for later, and then the timing data from that run gets mixed with clean results.
Related guides: Signup load test checklist: 4 checks across your stack · Test signup authentication with 5 steps before release · Signup form targets: 5 steps to test small controls.
Questions readers ask
Why does a delay account still look pending right after I create it?
For account numbers that simulate a delay, the Stripe testing page says transitions happen after about 3 minutes in a sandbox. Wait about that long, then poll with an upper timeout, so a stuck account still gets caught.
Do Braintree's sample card numbers trigger error responses?
No. The Braintree Ruby testing reference says these card numbers "will not trigger specific credit card errors." A run using only the sample numbers can confirm that a successful payment path works, but it cannot show how your integration handles a card-specific error. Use separate test data for error paths, and label those cases clearly in your plan.
Does a passing sandbox run prove the live flow is safe?
No. Sandbox transactions use test values, so a pass shows that your flow handles those values correctly. It does not show how the flow behaves with real card data or real customers, so plan a small, controlled step before the full launch.
How long can a shopper cancel a purchase in the W3C example?
The W3C Web Accessibility Initiative's form validation tutorial uses a shopping website as its example. In that example, the site "lets users cancel purchases up to 24 hours after the order is submitted." The 24-hour figure belongs to that example, so it is not a general rule for every store. The W3C form validation tutorial contains the example.
What happens to a purchase after the 24-hour cancellation window closes?
In the same W3C example, the purchase moves on once the window closes. As the tutorial states, "After 24 hours, the purchase will be shipped to the user and can no longer be canceled." In that example, the order ships and the cancel option stops working. Check your own product terms before copying that timing into a test. Source: W3C form validation tutorial.
What pattern does the W3C tutorial give for a vehicle registration field?
The tutorial gives a required pattern for a vehicle registration field: one to three letters for the city where the car is registered, followed by a space, two to four random letters, another space, then one to four random numbers. Use it as one illustration, and write rules for your own fields from your requirements. Source: W3C form validation tutorial.
What should I do if my Stripe test environment returns 429 errors?
The Stripe testing documentation gives a direct instruction: "If requests in your test environment return 429 errors, reduce your request frequency." Lower the rate at which your script sends requests, rerun the affected group, and record the request rate you used alongside your test results.
How can I mimic different scenarios in Stripe's sandbox?
The Stripe testing page says to use specific values to mimic different scenarios: "To mimic different scenarios, use these microdeposit amounts or 0.01 descriptor code values." Check the page for the individual microdeposit amounts before writing test cases. Record which value you sent for each scenario, so another tester can reproduce the same result. Source: Stripe testing documentation.
How long does a delay-simulating account take to change state in a sandbox?
In a sandbox, transitions happen after about 3 minutes for account numbers that simulate a delay, according to the Stripe testing documentation. That figure applies only to those delay-simulating account numbers, not to every account. A state check that runs sooner than about 3 minutes may still see the earlier state, so plan your wait and polling around this figure.