I have this error on Magento 2.3.3 when I try to refund (credit memo) an order with braintree.
Notice: Trying to get property of non-object in vendor/magento/module-braintree/Gateway/Validator/ErrorCodeProvider.php on line 41
I did some research, but I didn't find nothing so far. I need your help!