You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the braintree class, when an ACH payment is being processed, it first attempts to create an ACH payment method. However, if that function fails due to a ACH 3000 error, a notice is added to the front end, but the order is left orphaned as pending payment with not trace or logs of what went wrong:
is false, we add a log message and update the order status:
$this->add_log("Error: Unable to create ach payment method.");
$order->update_status('failed', sprintf(__('Unable to create Braintree ACH payment token.', 'paypal-for-woocommerce'), $this->response->message, $this->response->transaction->id ?? 'N/A'));
In the braintree class, when an ACH payment is being processed, it first attempts to create an ACH payment method. However, if that function fails due to a ACH 3000 error, a notice is added to the front end, but the order is left orphaned as pending payment with not trace or logs of what went wrong:
How to reproduce:
Recommended approach:
Inside of the process_payment function, if the result of:
is false, we add a log message and update the order status:
Possible full updated function:
The text was updated successfully, but these errors were encountered: