Can only capture successful authorizations

Topic summary

A developer is encountering an error when attempting to mark a Cash on Delivery (COD) order as paid. The order was created by a third-party app, and when trying to capture the payment transaction, the system returns: “Can only capture successful authorizations.”

Technical Details:

  • Transaction type: capture
  • Parent transaction status: pending
  • Gateway: Cash on Delivery (COD)
  • Transaction kind: sale

Current Status:
The issue remains unresolved. Another user has inquired whether any workaround was found, but no solution has been provided yet. The discussion appears to be ongoing with no concrete resolution or explanation for why the capture is failing on a pending COD transaction.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

Hi,

I’m trying to mark as paid one COD order which is created by other third party app but facing below error,

{"errors":{"base":["Can only capture successful authorizations"]}}

Request,

Array
(
    [transaction] => Array
        (
            [currency] => INR
            [amount] => 6699.00
            [kind] => capture
            [parent_id] => 6733294993662
        )

)

The transaction I’m trying to capture is,

[kind] => sale
[gateway] => Cash on Delivery (COD)
[status] => pending

Please help here, if anyone have solution.

Hi! have you find any work around it?