acme-web
Needs you
Gift card balance check4m
gift-card-balance
Today
Pricing page, every state1h
Onboarding copy pass3h
Yesterday
Settings as a sheet1d
#479
Empty states for orders1d
Dark mode audit1d
Product page gallery1d
#478
Fix cart badge count1d
This week
Order history filters2d
#474
Gift cards at checkout3d
Size guide sheet3d
Search results, every state4d
#469
Footer links cleanup5d
Returns flow copy5d
IssuesMineTeam
In Progress 2
KIT-214Promo code survives a declined cardM
KIT-231Express shipping default over $100M
Todo 3
KIT-226Apple Pay in the pay sheetM
KIT-219Guest checkout without an accountM
KIT-207Order history filtersM
Backlog 5
KIT-198Size guide as a sheetM
KIT-193Gift cards at checkoutM
KIT-188Returns flow copy passM
KIT-181Dark mode auditM
KIT-176Empty states for ordersM
Promo code on decline:3000
CheckoutKIT-214
Design KIT-214: Promo code survives a declined card. Map checkout as a flow of iOS screens, bag to order placed, and show where it branches.
Design
Read checkout.tsx and 6 components9 steps

Drawing Checkout as a flow of iOS screens, built from your Button, Field and Sheet.

  • Bag, then Shipping and the Pay sheet over the bag.
  • Order placed once the card goes through.
  • Sign in and Card declined as detours, the promo code kept.
Write clippings/checkout/bag.html
Spec it

Wrote the Checkout spec: the flow, six screens, nine requirements and three open questions, linked to KIT-214.

Designing…
Send follow-up
checkout-sheet · worktreeOpus · High
Nothing openDesigns, pages and plans open here
0 frames MJ Build
Checkout
Bag
9:41●●● ▮
Your bag2 items
Linen overshirtSand · M
$98
Canvas toteNatural
$50
Promo code
SPRING20−20%
Subtotal$148.00
ShippingFree
Total$148.00
Checkout
Shipping
9:41●●● ▮
ShippingStep 1 of 2
Email
maya@store.co
Address
Maya Chen
88 Harbor St, Apt 4
Portland
97209
Delivery
Standard · 3–5 daysFree
Express · 1–2 days$12
Continue to payment
Pay sheet
9:41●●● ▮
Your bag2 items
Linen overshirtSand · M
$98
Canvas toteNatural
$50
Subtotal$148.00
ShippingFree
Total$148.00
Pay $148.00Secure
Pay
or card
4242 4242 4242 4242
MM / YY
CVC
Pay $148.00
Order placed
9:41●●● ▮
✓
Order placed
#10482 · arrives Thu, Dec 4
Linen overshirtSand · M
$98
Canvas toteNatural
$50
Paid$148.00
Track order
Detours
Sign in
9:41●●● ▮
Sign into check out
Continue with Apple
or email
Email
maya@store.co
Password
••••••••••
Sign in
Card declined
9:41●●● ▮
Payment$148.00
Card declined. Your bag and promo code are saved.
Pay
or another card
4000 0000 0000 0002
MM / YY
CVC
Try again
M2
J
CodeKit
Love the sheet
56%

Checkout: the promo code survives a decline

KIT-214From CheckoutDraft · Maya, Jordan

Summary

When a card is declined, shoppers lose their promo code and drop off. Checkout becomes a sheet over the bag, so the bag, the code and the total stay in view, and a decline brings them back to the sheet with everything kept.

Goals

  • A declined card never clears the bag, the address or the promo code.
  • Pay in two taps for signed-in shoppers with Apple Pay.
  • Cut checkout drop-off after a decline from 38% to under 20%.

User flow

BagShippingPay sheetOrder placedSign inCard declinedSignedin?CardOK? yesyesnonoretry · promo kept

Screens

Bag
Shipping
Pay sheet
Order placed
Sign in
Declined

Requirements

IDRequirementPriority
R1The promo code, bag and address persist through a decline and a retry.P0
R2Payment opens as a sheet over the bag; the total stays visible above it.P0
R3Apple Pay is the first option when the device supports it.P0
R4A decline says what happened in plain words and offers another card.P1
R5Signing in mid-checkout returns to Shipping with the bag kept.P1

Open questions

J

Should Express be the default for orders over $100? KIT-231

M

Guest checkout, or ask them to sign in first?

S

Do we save the card for next time by default?

Writing…
Start an agent on KIT-214
Startwaits for you
Plan
Design
Build

New branch offmain ›
Move to In Progress
Buildto the code
Spec Itfrom the canvas
Plan It
Public link

Anyone, even those outside your team, will be able to access this link.

Allow commentingViewers can leave comments
Share specShow the spec in a sidebar
Publishing…