What Test Clocks Simulate
Test clocks compress time for billing logic, but not everything in a payment system is governed by billing logic. This page is the definitive list of what moves with the clock and what stays on real time.
What the clock animates
Section titled “What the clock animates”| Billing behaviour | Clock-animated? |
|---|---|
| Payment plan scheduling (next due dates) | ✅ Yes |
| Payment dispatch for card plans and subscriptions | ✅ Yes — card collection completes in sandbox |
| Subscription period rollover | ✅ Yes |
| Payment-link expiry | ✅ Yes |
| Dunning / retry schedules | ✅ Yes |
| Plan failure behaviour (retry dates, catch-up) | ✅ Yes |
| Bank (BECS) debit outcomes: submission, settlement, dishonours, late returns | ✅ Yes — see Bank debits on a clock |
Cards and bank debits are both animated. When the clock dispatches a card payment, the sandbox processes it to a final outcome immediately, so a single advance takes a card plan through dispatch and result. A bank debit takes business days, on the clock: see below.
What the clock does not animate
Section titled “What the clock does not animate”| Behaviour | Why |
|---|---|
| Balances and payouts | Sandbox payments clear through a test bank and no money moves, so a sandbox account has none. Its Balances, Payouts and tax invoice pages show a notice saying so |
| 3D Secure challenges | Require customer interaction; time alone can’t complete them |
| Card refund timing | Card refunds aren’t time-scheduled. A sandbox bank-debit refund is the exception: it completes on the next business day on the customer’s clock, so advance the clock to see it |
| Audit timestamps | created_at and similar always record real wall-clock time |
Bank debits on a clock
Section titled “Bank debits on a clock”For a customer on a clock, the sandbox bank works on the clock’s time. Each advance:
- sends the clock’s due bank debits to the bank, at the clock’s time;
- settles each debit two business days after it was sent, once that date comes on the clock. Business days are counted on your account’s calendar, in its time zone and with its country’s public holidays;
- applies a late return whose date has come on the clock.
Outcomes land just after the clock reads ready, so poll the payment
intents. To fail one chosen debit, use the
bank test helpers:
dishonour for a debit that’s been sent and hasn’t settled, late_return
for a settled one. Either lands at the clock’s time.
Debits of customers without a clock keep running on real time. On a clock or off it, no money moves in sandbox: a debit the sandbox bank settles isn’t paid out, and there are no balances or payouts to see.
Timestamps: simulated vs real
Section titled “Timestamps: simulated vs real”Two kinds of time appear on clock-bound objects:
- Scheduling fields (
frozen_time, next payment dates, period starts and ends, link expiry) — simulated time - Audit fields (
created_at) — real wall-clock time
A payment intent generated at simulated Feb 1 will show a real-world
created_at of whenever you ran the advance. This is expected.