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.