Skip to content

Estelle Silos

Bring your agent into a cloud workspace with an editor, terminal and desktop. Follow its work, join the session and take control when you need to.

Keep payment identity across retriesRunning

Customers on a flaky connection get charged twice when checkout retries. Keep the payment identity the same across retries.

retryCheckout() mints a new key on every call, and the retry calls it again

Read shop/checkout.js

Find every caller of retryCheckout

Edited shop/checkout.js+1 −1

Ran npm test · 7 passed

Subagents

Check the refund path for the same bugRunning · 6m13s

Found it. retryCheckout() in shop/checkout.js:3 called payments.newAttemptKey() on every attempt, so the retry sent the provider a new key and it charged again. It now reuses order.paymentKey, and a regression test sends the same order twice.

localhost:3000/#/

Free shipping on orders over $75.00

Cart 0
Northfold Supply Co.A demo store. Nothing here is for sale.

Keep the agent and its working environment together.

Work alongside your agents.

Inspect files and run commands in the same workspace.

Open the desktop and test what you’re building.

More from Estelle

MonitorPrismMemoryAsk Estelle