Skip to content
Search documentation/

Payment already sent to the customer

attempt_in_flightHTTP 409Don't retry

What happened

The payment was already sent to the customer's phone or the payment provider, so a cancel can't decide its result. It will still end as paid or not paid.

What to do next

Read the payment until it has a final result; it has already reached the customer or the payment provider, so it can't be canceled now.

Can you retry?

Don't retry. Don't repeat this request. Fix what the response describes, or stop and report it. retry: never

Who acts

The customer who is paying. who_acts: payer

Don't

  • Don't start another payment for the same order. create_another_payment
  • Don't ask the customer to pay again. ask_customer_to_pay_again

Example response

Sent as application/problem+json. The detail describes the particular request; keep request_id for support.

{
  "type": "https://docs.perionpayments.com/problems/attempt-in-flight",
  "title": "Payment already sent to the customer",
  "status": 409,
  "code": "attempt_in_flight",
  "detail": "The payment was already sent to the customer's phone or the payment provider, so a cancel can't decide its result. It will still end as paid or not paid.",
  "request_id": "req_8YkQ2rL0ZtW4",
  "retryable": false,
  "retry": "never",
  "who_acts": "payer",
  "next_step": "Read the payment until it has a final result; it has already reached the customer or the payment provider, so it can't be canceled now.",
  "do_not": [
    "create_another_payment",
    "ask_customer_to_pay_again"
  ]
}

All problem codes · Reading problem responses