Every couple of days, I’m getting orders that are marked as processing but the order total = $0
When the order total is $0, WooCommerce does not render the payment methods section and the payment gateway is not involved in the checkout process.
The customer receives an email as if they’ve paid, but there’s no transfer of funds.
WooCommerce will send the new order email based on the order’s status. That’s not controlled by the Braintree plugin.
Everything that you’re describing is WooCommerce behavior and isn’t something related to the Braintree plugin.
The order isn’t $0 though. We don’t offer digital or free items. We don’t have coupon codes.
The customer puts our product in their cart, puts in CC information, hits submit order. We receive the order, but the order total displays $0.
The customer receives an email since the status is processing, but as stated, there is no record of payment.
So how can it be possible for a customer to have a product in their cart (that isn’t free), hits submit, sees the order confirmation page, and receives an email?
We receive the order, but the order total displays $0.
If the order total is displaying as $0, then that means something is changing the order total to zero and thus preventing the Braintree plugin from processing the payment.
WC has a validation during the checkout process that checks if the order total is greater than zero. If it’s not greater than zero, then the payment gateway won’t be called and WC update’s the order’s status to processing.
So how can it be possible for a customer to have a product in their cart (that isn’t free), hits submit, sees the order confirmation page, and receives an email?
It’s possible if you have some plugin or code on your site that’s updating the order’s total to $0.