Duplicate BACS Payment Details on Order Confirmation with Stripe Active
Summary:
A bug occurs where the BACS (bank transfer) payment information is displayed twice on the WooCommerce order confirmation page. This issue only manifests when the Stripe payment gateway extension is active alongside the core BACS gateway.
The problem is likely caused by a conflict where the Stripe extension incorrectly hooks into the order confirmation display logic, causing the core BACS payment fields to be rendered a second time. This creates a confusing user experience and presents duplicate, unnecessary information to the customer.
The core functionality of the BACS gateway is not affected, and payments are processed normally. The issue is purely presentational but impacts the professionalism and clarity of the checkout flow.
How to Replicate:
- Enable the core BACS payment gateway.
- Complete a checkout using BACS and confirm only one block of bank details is shown.
- Activate the Stripe payment extension.
- Complete another checkout using BACS and observe that the bank account information is now displayed twice.