# What do payment order statuses such as pending, successful, failed and expired mean?

Source: https://www.payjn.com/help/payment-order-statuses/ · Updated 2026-11-20 · PAYJN Help center

Pending usually means the payment outcome is unresolved; successful means the provider confirmed payment under its documented rules. Failed generally describes an unsuccessful outcome, while expired describes a payment instruction whose validity ended. These are generic meanings: the exact PAYJN names, finality and transition rules are in the approved integration documentation.

## Separate payment outcome from checkout activity

A customer closing a browser does not establish failure, and a checkout countdown ending does not establish whether money moved. Store the payment result separately from your order's reservation, delivery and customer-facing display state.

- Keep merchant and provider references with the original order.
- Record amount, currency and timestamps with their timezone.
- Map documented provider states to your internal workflow before launch.
- Identify final results and those requiring another status check.

Avoid treating every result other than success as failure. An unresolved instruction needs investigation before a customer is asked to pay again.

## Apply verified updates safely

Use an authenticated notification or the approved server-side status-query process to establish the outcome. Match the reference, amount and currency before changing the order or releasing goods.

1. Find the original payment record.
2. Verify the source and match the payment details.
3. Apply only a permitted state transition.
4. Protect credit and fulfilment against duplicates.
5. Send conflicting or late results for review.

An older unresolved notification should not overwrite a verified paid result. Handle genuine reversals through their documented lifecycle, with an audit trail rather than silently changing the original credit.

## Resolve expiry and conflicting results

Keep expired instructions separate from confirmed failures. Reconcile possible late payments against the original reference and check whether a replacement order exists before deciding what to deliver.

The [payment troubleshooting guide](https://www.payjn.com/guides/indonesia-payment-troubleshooting/) explains investigation evidence. [Contact PAYJN](https://www.payjn.com/contact/) for the approved state mapping and escalation process.

## FAQ

### Can a successful payment be refunded?
Refund availability depends on the bank or payment route used. Confirm refund handling for each method you plan to enable before launch.

### Does pending mean the customer must pay again?

No. Check the original outcome before requesting another payment.

### Does successful mean goods were delivered?

No. Payment confirmation and fulfilment are separate records; delivery must use your guarded business workflow.

### Does expired prove no payment occurred?

No. Investigate possible late payments using verified records and the approved exception process.
