Getting an error when enabling the Braintree payment method when clicking on reorder from the order view page on the admin side, can you please help me resolve this issue?
Error is = Error: Call to a member function getMethodInstance() on null in /var/www/html/local.magento245-sample-data.com/vendor/paypal/module-braintree-core/Block/Form.php:174
Steps to reproduce this issue:
- Enable the Stores->Configuration->Sales->Payment Methods->Braintree (click on configure)-> Enable Card payments (Set to Yes)
- Go to an order view page , and click on reorder and also try canceling that order and again click on reorder , you will get this error screenshot attached