Test cards in sandbox

Sandbox

You can now test every card step of an order in sandbox.

What changed

  • A person with no card. Verify a sandbox number from +1 500 555 0050 to 0099 and the person has no card. A confirm asks for one with card_required. Add the test card on their card link and the next confirm places.
  • A declined card. The test restaurant "Layout Test Kitchen Card Declined" builds a cart whose confirm answers 402 card_declined.
  • textsBlocked. On GET /v1/users/:id, true when the person replied STOP, so Layout cannot text them a code until they reply START.

What to do

Run your card flows against these numbers and the test restaurant. See Sandbox.

Breaking changes

None.

All changes