@if ($error)
{{ $error }}
@else
@include('helpers.form_control', [ 'type' => 'select', 'class' => 'hook2', 'name' => 'options[merchantAccountID]', 'label' => trans('messages.merchant_account'), 'value' => $payment_method->getOption('merchantAccountID'), 'options' => $payment_method->getBraintreeMerchantAccountSelectOptions($accounts), 'help_class' => 'payment_method', 'rules' => $payment_method->rules() ])

Fatal error: Uncaught Error: Call to a member function getBraintreeMerchantAccountByID() on null in /home/appilogicx/public_html/marketing/resources/views/admin/payment_methods/_braintree_merchant_accounts_select.blade.php:20 Stack trace: #0 {main} thrown in /home/appilogicx/public_html/marketing/resources/views/admin/payment_methods/_braintree_merchant_accounts_select.blade.php on line 20