Order and transaction statuses
What every order status, transaction status and transaction event means.
Every payment you create with myTU is an order with one or more transactions. The order stands for what your customer buys: their order or shopping basket. A transaction is a payment attempt for that order, with a specific payment method. Both have a status.
This page lists every status. See Confirm the payment for which status to check, when to check it, and how to act on it.
Order statuses
| Status | Meaning | Final |
|---|---|---|
new | The order has been created. | No |
processing | All transactions of the order are pending or processing. | No |
completed | All transactions of the order are accepted or completed. You can deliver. | Yes |
cancelled | All transactions of the order are cancelled. | Yes |
expired | The order expired, for example because your customer didn't pay in time. | Yes |
error | The order failed, because a transaction was declined or for technical reasons. | Yes |
see-transactions | The transactions of the order have different statuses. Don't take automatic action: check the individual transactions. | No |
A typical order goes through these statuses:
- Paid:
new→processing→completed - Not paid:
new→processing→cancelled,expiredorerror - Abandoned:
new→expired, when your customer never starts a payment
Transaction statuses
| Status | Meaning |
|---|---|
new | The transaction has been created. |
pending | The transaction has started and waits for an action, for example your customer completing 3-D Secure authentication. |
processing | The transaction is being processed. |
accepted | The payment succeeded. |
cancelled | Your customer cancelled the payment before it was completed. |
expired | The transaction expired before it was completed. |
error | The payment was declined, or failed for technical reasons. The transaction has a reason field: see Error reasons. |
Transaction events
Every transaction keeps a log of what happened to it in the events array. Each event has a type (event), the moment it happened (occurred) and the moment myTU registered it (noticed).
When you refund a payment, partially or in full, the original transaction gets a refunded event. The refund itself is a new order with its own transaction, linked to the original through refund_of_order_id and refund_of_transaction_id.