Worlds / Payments and billing / Recurly
Recurly world
A local Recurly with accounts, subscriptions, invoices, coupons and a dunning campaign for failed renewals. Test the agent that works past-due accounts without double charging or expiring good customers.
SubscriptionsRenewalsCouponsDunningInvoices
Past due 2
inv-3301Aster Yoga · $39.00
inv-3304Kiln Supply · $120.00
Retrying 2
inv-3298Fernway · $59.00
inv-3290Lumen Ink · $39.00
Collected 1
inv-3281Oakridge PT · $79.00
Failed 0
fig. 1 · illustrative replica · the agent's changes land as you scroll
What's in this world
What you get when you open Recurly. Seeded, local, yours to break.
Seeded records
- accounts
- 110 with billing info, 9 with expired cards
- subscriptions
- 100 active, 6 in_trial, 4 paused, 3 expired
- invoices
- 14 past_due inside the dunning campaign
- coupons
- SAVE15 single use, ANNUAL2 for yearly plans
Agent jobs you can test
- Retry a past-due invoice after a card update
- Redeem a coupon on the right account
- Pause or cancel a renewal
What your agent can get wrong here
The reply sounds right. The record is what counts.
ActionWhat the world recordsCommon mistake
Retry collection
invoice state and the transaction countRetries an invoice already paid, charging the card twiceExpire for nonpayment
subscription state and invoice stateExpires an account still inside its dunning windowRedeem a coupon
coupon redemption on the accountApplies the single-use SAVE15 a second timeRecord an offline payment
external transaction on the invoiceRecords the check against the wrong invoiceExample test
Describe the job. Review the checks before anything runs.
Work the past-due list. Retry any invoice where the card was updated, and record Lumen Ink's check. Leave everything else in the campaign to keep retrying.
- 01inv-3301 collected with one new transaction
- 02inv-3290 marked paid by an external transaction
- 03inv-3304 and inv-3298 still past_due
- 04No subscription moved to expired
- 05No invoice charged more than once
fig. 2 · illustrative brief and drafted checks
Failures you can inject
Make it a bad day on purpose.
effect
Collection attempt returns a declined transaction errorfires before the handler · state untouched · same result every runEvidence
StatusIncluded in the closed beta, like every world in the catalog. Apply and tell us the workflow you want to test.Known limitations