MerchantsSell

Orders and payments

What each order and payment status means in the dashboard, when an order counts as paid, and what to do when USDC arrives that Fianto did not accept.

7 min read

An order is what your server asked a payer to pay: it is created with the first checkout session for your order_id. A payment is one attempt to pay it: a transaction the payer signed, which Fianto broadcasts to Solana and follows until it is final. One order can have several payments. The dashboard calls orders checkouts: you find them under Checkouts, in the sidebar's One-time group (the page reads "One-time checkouts your server created with the API"), and the payments under Payments. A one-time sale through a payment link or your shop is a checkout too. A payment made by Pay by transfer is the one the payer did not sign: its transaction is Fianto's forward of the transfer, and it reads "Crypto · Transfer".

Order and payment statuses
How an order's and a payment's status can changeOrderfinalizedexpiresnew session, same order_idlate settlementPENDINGPAIDEXPIREDA cancelled session leaves it PENDINGPaymentfound by sweepfinalizedfailstransfer landsfailsalso superseded at finalized,though its funds landedPROCESSINGCONFIRMEDSUCCEEDEDFAILED

Scroll sideways to see the whole diagram →

Show as text
  1. Order: `PENDING` → `PAID` at finalized, or `PENDING` → `EXPIRED` when its session expires.
  2. `EXPIRED` → `PAID` when a late payment still settles.
  3. `EXPIRED` → `PENDING` when you create a new session with the same `order_id`.
  4. A cancelled session leaves the order `PENDING`. An order is never `CANCELED`.
  5. Payment: `PROCESSING` → `CONFIRMED` → `SUCCEEDED` at finalized.
  6. A payment can fail from `PROCESSING` or `CONFIRMED`, and `FAILED` → `PROCESSING` if the transfer lands after all.
  7. A payment whose session was superseded (a newer session for the order, or changed order terms) is recorded `FAILED` at finalized, even though its funds landed. It never shows as `SUCCEEDED` first.
  8. Payments found by the reference sweep start at `CONFIRMED`.
  9. `SUCCEEDED` is final. `EXPIRED` and `FAILED` are not.
The Checkouts list with its status chips, each checkout with its status, your order ID, the date, the description and the amount.

Order statuses

The dashboard labels are in quotes. On Checkouts, the chips "All", "Paid", "Pending", "Expired" and "Cancelled" filter by status.

StatusMeaningWhat you can do
PENDING"Pending": the order is waiting for a payment. A cancelled checkout session leaves it here, with no end date.Wait, or have your server create a new session for the same order_id.
PAID"Paid": a payment for it finalized on Solana. Fianto sends order.paid at this moment.Fulfil the order.
EXPIRED"Expired": no payment was accepted. Its checkout session ran out of time, or a payment failed after its USDC reached your wallet.Create a new session with the same order_id: the order goes back to PENDING. A late payment that still settles moves it to PAID.

EXPIRED is not final: a payment already on its way can still settle and make the order PAID, and a new session for the same order_id reopens it. An order can also expire before its link runs out of time, when a payment for it fails after the payer's USDC reached your wallet. Check its failed payments before you ask the payer to pay again (see Failed payments where the money arrived).

The status filter on Checkouts also offers "Cancelled", but Fianto never gives an order that status: a cancelled checkout session leaves its order "Pending", so that filter shows nothing.

A checkout's page is titled with your order ID (a shop sale reads "Shop sale ·" and the product). The Checkout panel lists the amount, "Fianto fee, paid by the customer", "Network fee, paid by the customer" when there is one, the status, the dates and the Checkout ID; the Transfers panel lists the payment and any other transfer that arrived for it. Open payment goes to each payment. A pending checkout says "Waiting for the customer."; Send a new link beside it explains how your server can send the payer a fresh link.

A paid checkout: amount, Fianto fee, status, dates, Checkout ID and customer, with its payment under Transfers.

Payment statuses

StatusMeaningWhat you can do
PROCESSING"Processing": the payer signed, and Fianto sent the transaction to Solana.Wait.
CONFIRMED"Confirmed": Solana accepted the transaction, but it is not final yet. Payments that Fianto finds on its own (below) start here.Do not fulfil yet: wait for SUCCEEDED.
SUCCEEDED"Succeeded": finalized on Solana. The money is in your wallet.The order is PAID; fulfil it.
FAILED"Failed": Fianto did not accept this payment. It can fail from PROCESSING or CONFIRMED.Check whether money arrived anyway (below) before you tell the payer anything.

On Payments, the chips "All", "Succeeded", "Processing", "Confirmed" and "Failed" filter by status, and Payment statuses, under the page title, sums them up.

SUCCEEDED is the last status a payment gets. A refund, or a lost dispute on a card payment, raises its refunded amount (a dispute's late win lowers it again) and never changes its status. FAILED is not final. A FAILED payment goes back to PROCESSING if its transfer lands after all. A payment whose session was superseded, by a newer session for the same order or by changed order terms, is recorded FAILED at finalized, even though its funds landed; it never shows as SUCCEEDED first.

A succeeded payment: amount, Fianto fee, what the customer paid, status and IDs, and its signature, network and wallets under On chain.

A payment's page shows, under Payment, the amount you receive, "Fianto fee, paid by the customer", "Network fee, paid by the customer" when there is one, and Customer paid, the total. Under On chain it shows the signature, the network, the Customer wallet and the wallet the money was Received in. Open checkout and Open customer lead to the rest.

A card payment's page has a Card section instead of On chain: the card, the Customer email, Stripe's Status, the Stripe fee, the Net (to your Stripe balance) and the Stripe payment ID. A card payment has no Fianto fee and no network fee. Its Refund button is described in Refunds and disputes.

When a payment counts as paid

For a crypto payment, the payer's checkout page shows success as soon as the transaction is confirmed. Fianto marks the payment SUCCEEDED and the order PAID only once it is finalized. It then sends order.paid, and checkout.session.completed too when the session was still OPEN. So the payer's success screen is not proof that you were paid: fulfil on PAID, or on the order.paid webhook. A one-time card payment has no confirmed step: it is SUCCEEDED, and its order PAID, as soon as Stripe reports it complete and paid.

Who pays what

You receive the price. When the service fee is above zero, it is added on top and the payer pays it, so the payer signs for the total. A one-time payment and a subscription charge can also carry a network fee in USDC, paid by the payer on top; the checkout's, the payment's and the subscription's pages then show it as "Network fee, paid by the customer", and the payment's page shows the total as Customer paid. See Fees.

Failed payments where the money arrived

FAILED does not mean no money moved. A transfer can finalize and put USDC in your wallet but not match what the payment asked for, for example the wrong amount or fee, so Fianto refuses it as payment. The payment page then says "This payment failed, but a transfer reached your wallet. Check it on Solscan before you contact the customer." On Payments, the chip "Money moved" lists every such payment, and Needs attention lists them under "Failed payments where money moved".

Never tell a payer nothing was taken without checking

Before you tell a payer their payment failed and nothing moved, open the payment and check whether money arrived. If it did, refund the payer or ask them to pay again from a new checkout link.

Duplicate and unmatched transfers

Fianto also finds transfers it did not broadcast itself, by looking for the session's reference: every 60 seconds while a session is open, and for 24 hours after it closes. A transfer that carries an order's reference but is not that order's payment is recorded on the order (only transfers that increased your USDC balance, at most 20 per checkout session), and the order page says whether it was paid twice:

  • "Paid twice.": the checkout was already paid, and another transfer arrived for it. The page says how much reached your wallet and that you can send it back from your wallet if it was a mistake. The transfer is listed under Transfers as an Extra transfer.
  • A transfer whose amount or fee was wrong was not accepted, and the order is still unpaid. The checkout's page has no notice for it; in the Checkouts list it carries the "Unmatched" tag.

Fianto sends order.duplicate_payment only when the order is already PAID or has another payment that has not failed. Any other stray transfer is recorded on the order with no webhook.

In both cases the USDC reached your wallet. On Checkouts, the chip "Unmatched" lists these checkouts, and each one carries an "Unmatched" tag next to its status.

Refunds are yours to send

Fianto never holds your crypto funds, so it cannot refund them for you: a refund is USDC you send back from your own wallet, to the wallet the transfer came from. On a payment with an invoice or a payment request, Record a refund can build that transfer for your wallet to sign; see Correct, refund or void an invoice.

Finding a checkout or a payment

The search box in the list's header matches part of a value, in any case. Type at least 2 characters: a shorter search is ignored. On Checkouts, it searches the checkout id (ORD-12 or fian_ord_…), your own order ID, a payer wallet and a payer email, the description and the product name. On Payments, it searches the payment id (PAY-12 or fian_pay_…), your own order ID, a payer wallet and a payer email, the product name and part of the transaction signature. A payer's email is shown as "entered by the customer, not verified".

The funnel button beside the search opens Filter by, with one field per column: for example payments between two amounts, created between two dates, or only "Subscription" or "One time" payments (Source). A change applies at once; Done closes the panel and Clear empties it. Click Created (on Payments, Date) or Amount in the table header to sort. The list is split into numbered pages; choose 10, 25, 50 or 100 rows per page.

The search box at the top of every page, "Search wallet, order ID or signature", also finds them: a PAY-, ORD- or fian_… id opens the record, a signature searches Payments, and your own order ID searches Checkouts.

See also

Was this page helpful? Tell us

fianto.xyz

On this page