Card Payment Trouble: Build a Checkout Screen That Doesn’t Ask People to Pay Twice

A Paystack pending checkout status should not become a request to pay twice. If your server cannot yet confirm the existing attempt, show an honest checking state and keep its reference. Separate that state from both a confirmed payment and a confirmed failure.

This tutorial proposes a small sandbox recovery exercise for Nigerian coding learners. Its order references are fictional, and the test-result fields remain blank. We read the incident record and verification documentation, then calculated the incident’s elapsed time. We did not call an API, move money or test a live checkout.

Read the incident without deciding a shopper’s outcome

Paystack’s Nigerian card incident log records investigation from 2 December 2026 at 21:33 UTC and resolution at 07:11 UTC the next day. That is 578 minutes, or 9 hours 38 minutes. In West Africa Time, the endpoints are 22:33 on 2 December and 08:11 on 3 December.

The notice describes increased card failures, while saying most transactions were still succeeding. It does not tell you whether a particular shopper was charged. Nor does its resolution timestamp settle every order’s reconciliation. Use the service notice as context; use trusted evidence about the actual transaction to decide the order’s state.

Paystack’s Nigerian card incident spans 2 December 21:33 UTC to 3 December 07:11 UTC: 578 minutes. It is a service-level window, not an individual transaction result.
Elapsed time calculated from the incident log’s two timestamps. The chart does not measure customer waiting times, charges, refunds or the proportion of failed payments.

Keep three outcomes in the screen plan

OutcomeMessage purposeRetry guard
Confirmed paidConfirm the order and retain its referenceNo second payment request
Confirmed failedExplain the reconciled failed attemptCheck the order for another successful attempt first
UnconfirmedSay the payment is being checkedNo automatic pay-again prompt
Nigeria Coding Academy editorial recovery plan, based on Paystack verification guidance. These are proposed application states, not new Paystack API status names.

For DEMO-PAID-01, the fictional server has matching success evidence. The screen can say “Payment confirmed” and show the order reference. The fulfilment path must also check whether value was already delivered. A repeated confirmation should not create a second delivery.

For DEMO-FAIL-02, an explicitly failed attempt is not permission to forget the rest of the order history. First check whether another attempt already succeeded. Only then should the proposed interface offer an appropriate fresh attempt, with a separate reference and a clear record linking it to the order.

For DEMO-WAIT-03, the answer remains unconfirmed. A pending response or verification timeout does not prove failure. Keep the existing reference, say that checking is underway and give support a way to find the order. Do not invent a refund date or tell the shopper the money is safe based only on the service notice.

Confirm the transaction on the server

The Paystack verification guide describes checking a transaction using its reference from your server. It also distinguishes the API-call status from the transaction status inside data.status. A successful verification request does not by itself mean a successful payment.

Keep payment credentials on the server. For the proposed exercise, match the returned reference, expected amount and currency to the intended order before treating a success result as fulfilment evidence. A mismatch should enter a review path. The browser’s success-looking screen is not enough to release value.

Treat duplicate callbacks as the same transaction, not new orders. A durable fulfilment record keyed to the verified transaction or order can help guard this boundary. Real implementations also need concurrency handling and reconciliation. The worksheet identifies those acceptance questions; it is not production payment code.

Design the Paystack pending checkout status recovery

Proposed sandbox recovery map separates matching success, reconciled failure and an unconfirmed result. Each route keeps the existing order reference and its own retry guard.
The map explains a suggested application workflow. It is not a tested checkout, a provider guarantee or evidence about any real customer charge.

The first interface can be simple: one status message, the mock reference, a checking action where appropriate and a support route. Preserve the state after a page refresh rather than starting a fresh charge automatically. A slow connection should not erase the only reference that support needs.

Test the messages separately from the payment integration. Use synthetic server responses to inspect which buttons appear. Later, run the provider’s documented test-mode flow in an environment you control. Record what you actually observed rather than marking this proposed matrix as passed.

Use a sandbox acceptance ledger

The six proposed cases cover matched success, explicit failure, pending, timeout, a repeated success callback and a value mismatch. For each, retain the input fixture, expected screen, observed screen and pass/fail decision. The blank observation columns are intentional: none of these integration checks was run for this article.

This is a shopper recovery exercise. It complements our restricted-key and webhook-signing guide, which deals with different integration boundaries. A clear retry message cannot replace verified server logic, and secure webhook handling cannot replace a usable pending screen.

Download the recovery tools

Method and limitations

Checked on 5 December 2026. We read the Paystack incident and verification pages, calculated the 578-minute window and designed fictional screen states. No live account, customer record, API response or payment was used. The incident is historical context, and the unrun recovery plan needs implementation-specific review before production use.

Unlock Your Unique Tech Path

Get expert tech consulting tailored just for you. Receive personalized advice and solutions within 1-3 business days.

Get Started