Magento 2.1.3
Payment method: Credit Card (Braintree)
Environment: Sandbox
Payment Action: Authorize
Expected result
Save credit memo, perform refund action at Braintree
Current result
Magento Admin panel. Error message "We can't save the credit memo right now."
var/log/exception.log
[2017-01-29 19:03:35] main.CRITICAL: exception 'Exception' with message 'Recoverable Error: Argument 1 passed to Magento\Framework\Exception\LocalizedException::__construct() must be an instance of Magento\Framework\Phrase, string given, called in /home/vippstony/public_html/vendor/magento/module-sales/Model/Service/CreditmemoService.php on line 185 and defined in /home/vippstony/public_html /vendor/magento/framework/Exception/LocalizedException.php on line 34' in /home/vippstony/public_html/vendor/magento/framework/App/ErrorHandler.php:61 Stack trace: #0 /home/vippstony/public_html/vendor/magento/framework/Exception/LocalizedException.php(34): Magento\Framework\App\ErrorHandler->handler(4096, 'Argument 1 pass...', '/home/vippstony...', 34, Array ) #1 /home/vippstony/public_html/vendor/magento/module-sales/Model/Service/CreditmemoService.php(185): Magento\Framework\Exception\LocalizedException->__construct('Transaction has...') #2 /home/vippstony/public_html/vendor/magento/module-sales/Controller/Adminhtml/Order/Creditmemo/Save.php(105): Magento\Sales\Model\Service\CreditmemoService->refund(Object(Magento\Sales\Model\Orde r\Creditmemo), false)
Hi @olukyanenko,
Have you customized your Magento 2.1.3 instance?
Best regards.
Gabriel
No.
I got the answer here - https://github.com/magento/magento2/issues/8309