Back to portfolio
Crypto & DeFiCommerce / FintechNext.js + PrismaClear checkout and settlement

Case study

Crypto checkout

A multi-chain payment flow with order tracking, wallet hand-off and project sync.

Order recovery

Recoverable

Buyers can return to a pending order after a wallet switch or a delay.

Merchant view

Settlement visible

The flow shows how a payment moves from request to confirmation to project sync.

Operators

Admin confirmation

Operators can inspect and confirm payment states from one screen.

crypto

What this case covers

Commerce / FintechStack focus: Next.js + PrismaOutcome focus: Clear checkout and settlementService: Build a payment flowTool: Finance plannerPublic project

Next step

Walk through checkout, payment status and settlement on the live page.

Notes

Industry: Commerce / Fintech

Related: Build a payment flow / Finance planner

Outcome: The product shows how an order becomes a confirmed payment that the merchant can act on.

This is a public case study.

Chapter 01

Challenge

01

Give merchants a crypto checkout without bolted-on widgets, and show buyers the order status clearly.

Chapter 02

System

02

Reference-driven payment lookup with deep-link recovery.

Status state machine: lookup → pending → confirmed | expired | failed.

Project sync: payment state writes back to the originating project record.

Chapter 03

Interface

03

Capabilities: Crypto Checkout, Payment Flow, Operator Tools.

Stack: Next.js, Prisma, JWT, Resend.

crypto

Capability

Crypto Checkout

Capability

Payment Flow

Capability

Operator Tools

Chapter 04

Outcome

04

Checkout deployed on the Attnom platform with chain selection per order.

A buyer can return to an unfinished order.

Operators can confirm payments from the admin console.

Steps

Order to settlement

The full payment flow, step by step, from the reference to the confirmed order.

Order creation

The system issues a reference, an amount, an expiry and the supported chains.

Wallet hand-off

The user leaves checkout for the wallet and can return to the same order.

Confirmation and sync

The payment state is written back to the project it came from.

Merchant operations

Operators can review, confirm and reconcile a payment without rebuilding its history.

How it fits together

Settlement logic map

A payment also changes the state of the project it belongs to.

Reference lookup

The order id anchors the whole payment and recovery flow.

State machine

Pending, confirmed, expired, and failed states each say something different to the buyer and operator.

Project sync

Payment confirmation changes the commercial state of the originating engagement.

More work

More case studies.

See the payment flow