issue with get active payment methods (getActiveMethods) - Magento CE 2.1 #5413
Labels
bug report
Component: Payment
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Steps to reproduce
Expected result
Actual result
when $data['model'] is BraintreeFacade
$methodModel = $this->_paymentMethodFactory->create($data['model']);
$methodModel->setId($code);
The factory can't create the model and then the following setId fails
Example code (put in magento/test/test.php):
The text was updated successfully, but these errors were encountered: