Open
Description
On the current v4.5.21 version of the plugin Braintree subscription renewals are attempting to duplicate charge the payment method.
The plugin currently attaches to the woocommerce_payment_gateways hook twice which registers the payment methods twice:
paypal-woocommerce/paypal-for-woocommerce.php
Lines 318 to 321 in 0d2b081
This in turn causes the woocommerce_scheduled_subscription_payment_braintree hook to be attached twice and runs process_subscription_payment twice.
The second payment fails due to being a duplicate and causes the order to be marked as failed.
Metadata
Metadata
Assignees
Labels
No labels