magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

Unable to capture invoice via API "V1/invoices/{id}/capture" and from Magento2 back-end UI

Open ruby10 opened this issue 10 years ago • 5 comments

Hi there,

Scenario here is we have created an invoice in "pending" status for an order(with payment method as "Credit Card") . On expanding invoice we see an option of "capture" , on clicking it , it says it has been captured but invoice still stays in "pending" state. Same issue is faced when try capturing via provided magento2 API "V1/invoices/{id}/capture" on page "http://devdocs.magento.com/swagger/index.html#/", it is returning "true" on making POST call but there is no change in invoice status, it continues to be "pending".

ruby10 avatar May 03 '16 10:05 ruby10

I am also facing the same issue. The invoice status does not change when making a V1/invoices/{id}/capture API call.

karanbhomiagit avatar May 05 '16 05:05 karanbhomiagit

Hi

I see that payment is getting settled in payment gateway (braintree sandbox) when capture rest api call is made but it is not changing the status of the invoice in Magento. It remains in pending status. Can you guys please fix it?

srinivasanithin avatar May 05 '16 06:05 srinivasanithin

Hi, internal ticket MAGETWO-52552 created

mlogvin avatar May 05 '16 15:05 mlogvin

This is also discussed here. Team, any updates on this?

mujtaba2012 avatar May 18 '16 07:05 mujtaba2012

Closing the issue, fix has been delivered to develop branch.

alena-marchenko avatar Jun 07 '16 17:06 alena-marchenko