Skip to content
Nnanna Ajah
Lab

Lab · Interaction studies

Checkout details

Six small moments that make or break a payment, designed and built to be quick, forgiving and usable by everyone. Try them: nothing here charges anything.

Type
Interaction studies
Year
2026
Role
Design and code
Built with
React, Motion, TypeScript

Scroll to begin

01

A card field that knows the card

Typing sixteen digits on a phone is where most card payments go wrong. The field should help, not judge.

  • Recognises Verve, Mastercard and Visa from the first digits, and says which, out loud, for screen readers.
  • Spaces the number as you type without jumping the cursor, and handles pasting a whole number.
  • Catches typos with the Luhn check when you leave the field, not while you’re still typing.
  • The card turns over when you reach the security code, because that’s where it is.

Verve, Mastercard or Visa

The three digits on the back of your card.

02

Six boxes, one input

One-time code boxes look neat but often break paste, autofill and screen readers. These don’t.

  • It’s a single real input drawn as six boxes, so a screen reader hears one field, not six.
  • Phones offer the code from the SMS automatically, and pasting fills every box at once.
  • Checks as soon as the sixth digit is in, with no extra button to find.
  • A wrong code gives the boxes a small shake and a plain explanation, then clears them for another try.

Messages · now

Your code is 482190. Don’t share it.

Type, paste, or use the code from your messages.

03

Waiting for a transfer

Paying by transfer means leaving the page for your bank app. The page has to hold your place and keep you calm.

  • Account number and amount each copy with one tap, and the button confirms it worked.
  • The countdown shows how long the account stays open. It isn’t read out every second, only when something changes.
  • After you’ve sent the money, it says what it’s doing and how long it usually takes, so nobody pays twice.

Transfer exactly

₦12,500.00

Account number
0123 456 789
Bank
Demo Bank
Amount
12500.00

This account is only for this payment and closes when the timer runs out.

04

A USSD code you don’t have to memorise

USSD works on any phone without data, but copying a code like *719*000*4821# by hand is error-prone.

  • Pick your bank and the code updates in place.
  • Copy it in one tap, or on a phone, tap Dial to open the dialer with the code filled in.
  • Three short steps say what happens next, including coming back to this page.
  • Banks and codes in this demo are made up.

Dial this on the phone number linked to your account

*719*000*4821#

Dial
  1. 1Dial the code. No data needed.
  2. 2Enter your bank PIN when asked.
  3. 3Come back here: this page updates when your bank confirms.

05

Failing kindly

“Transaction failed” tells people nothing. A good failure says what happened, whether money moved, and what to do now.

  • Leads with the answer people need most: whether anything was taken from their account.
  • Offers the most likely fix first, such as paying by transfer when a card is short.
  • When the bank hasn’t answered, it asks people not to pay again, which prevents double charges.
  • The bank’s response code is kept at the bottom, for support, never as the message.

Show me what happens when:

Your card didn’t have enough for this

Your bank declined the payment. You can use another card, or pay by bank transfer instead.

Nothing was taken from your account.

Ref PAY-8K2X41 · Response 51 · share this if you contact support

06

A receipt worth keeping

The end of a payment is a small moment of relief. It can feel like one.

  • The receipt prints when you scroll to it and tears off when you drag it down.
  • Dragging is optional: the button does the same, and the receipt itself is readable text.
  • Saving is announced to screen readers, and with reduced motion the receipt simply appears.

Or drag it down to tear it off.

How it’s built

Real inputs, never fake ones

Every field is a native input with the right label, keyboard and autocomplete hint, so password managers, SMS autofill and screen readers all work. The visuals sit on top.

Motion that explains

The card flips because the code is on the back. The receipt tears because it’s yours to keep. Nothing moves just to decorate, and reduced motion swaps every effect for a simple fade.

Words that calm people down

When money is involved, people want two answers: did it go through, and was I charged? Every state here answers both before it says anything else.