I use braintree ACH gateway to collect ACH payments at checkout. For some reason all payments made through ach when a parent account is attempting to pay for them are failing
I use braintree ACH gateway to collect ACH payments at checkout. For some reason all payments made through ach when a parent account is attempting to pay for them are failing. I am getting an error message saying payment has failed and I collected this log attached. Please tell me how to fix this issue.
Generally, B2BKing works with any payment gateway and isn't directly involved in processing payments, as the checkout is controlled by WooCommerce. Because of this, I believe the issue is most likely unrelated to our plugin. To check this, I'd suggest temporarily deactivating B2BKing to see if the payment goes through successfully with the plugin inactive.
I also took a look at the log you provided. The main error standing out is: [_message:Braintree\Error\Validation:private] => Nonce is required. A missing nonce usually means some necessary data isn't being passed through during checkout, which is sometimes caused by caching issues.
To troubleshoot this further, I would recommend enabling Test mode in your gateway settings. Once that's set up, you can try disabling other plugins to see if a conflict is causing the error.
If you'd like, we can also troubleshoot this directly on the site. For that, we would need a backend login to the site or a staging clone site. Please make sure that Test mode is enabled and configured in the gateway, as I won't be able to run tests otherwise.
I already checked and made sure that the payment gateway is working everywhere other than through B2B king. For example if a customer simply places an order using our checkout system and isn't a B2B user then everything is working correctly. However if they use the B2B system and pay for the order through their account on an order that has been submitted to them then the payment method fails. I would be happy to have you troubleshoot this on the site as I have a customer that is attempting to pay right now using this method. Please let me know what email I should use to have you run tests on the backend and add you as a user thank you.
When a subaccount places an order and the parent account pays for it, the payment goes through WooCommerce's order-pay endpoint. This is still a WooCommerce checkout, but it uses a slightly different flow than the standard one. I think it is possible the Braintree ACH gateway is running into an issue with that particular endpoint, which may or may not be related to B2BKing.
That said, we'd like to investigate this directly on your site and confirm exactly what's happening. You can set up the backend account using this email: [email protected]
Please let me know once that's ready and we will take a closer look,
I use braintree ACH gateway to collect ACH payments at checkout. For some reason all payments made through ach when a parent account is attempting to pay for them are failing. I am getting an error message saying payment has failed and I collected this log attached. Please tell me how to fix this issue.
Attached files: woocommerce-gateway-paypal-powered-by-braintree-2026-06-08 (1).log
aka need a solution on how to connect B2B king with braintree ACH gateway that doesn't cause ACH payments to fail.
Hi Anna,
Sorry to hear about that issue,
Generally, B2BKing works with any payment gateway and isn't directly involved in processing payments, as the checkout is controlled by WooCommerce. Because of this, I believe the issue is most likely unrelated to our plugin. To check this, I'd suggest temporarily deactivating B2BKing to see if the payment goes through successfully with the plugin inactive.
I also took a look at the log you provided. The main error standing out is: [_message:Braintree\Error\Validation:private] => Nonce is required. A missing nonce usually means some necessary data isn't being passed through during checkout, which is sometimes caused by caching issues.
To troubleshoot this further, I would recommend enabling Test mode in your gateway settings. Once that's set up, you can try disabling other plugins to see if a conflict is causing the error.
If you'd like, we can also troubleshoot this directly on the site. For that, we would need a backend login to the site or a staging clone site. Please make sure that Test mode is enabled and configured in the gateway, as I won't be able to run tests otherwise.
Kind regards,
Stefan
Hello,
I already checked and made sure that the payment gateway is working everywhere other than through B2B king. For example if a customer simply places an order using our checkout system and isn't a B2B user then everything is working correctly. However if they use the B2B system and pay for the order through their account on an order that has been submitted to them then the payment method fails. I would be happy to have you troubleshoot this on the site as I have a customer that is attempting to pay right now using this method. Please let me know what email I should use to have you run tests on the backend and add you as a user thank you.
Hi Anna,
Thank you for the extra details, that helps.
When a subaccount places an order and the parent account pays for it, the payment goes through WooCommerce's order-pay endpoint. This is still a WooCommerce checkout, but it uses a slightly different flow than the standard one. I think it is possible the Braintree ACH gateway is running into an issue with that particular endpoint, which may or may not be related to B2BKing.
That said, we'd like to investigate this directly on your site and confirm exactly what's happening. You can set up the backend account using this email: [email protected]
Please let me know once that's ready and we will take a closer look,
Kind regards,
Stefan