btcpayserver / woocommerce-plugin

Plugin for connecting Woocommerce with BTCPayServer
https://btcpayserver.org/
Other
51 stars 41 forks source link

Duplicate and incorrect actions and order notes #70

Open braydonf opened 2 years ago

braydonf commented 2 years ago

Describe the bug

During an order there were duplicate events listed, these were all within the same minute. They are listed from from older to newer:

As you can see there are three of each series of events. There was also three duplicate confirmation emails sent. And at about 40 minutes later, the order incorrectly changed status as being unpaid for a time limit:

Woocommerce System Status

Wordpress: 5.8.3 WC Version: 6.0.0 BTCPay for WooCommerce by BTCPay: 3.0.15

Your BTCPay Environment:

Additional context

This was running WordPress + WooCommerce with 3 replicas in Docker Swarm.

braydonf commented 2 years ago

This appears to be associated with running WordPress+WooCommerce+BTCPayPlugin with multiple replicas during the pairing process with BTCPayServer. Changing the number of replicas after pairing to not ameliorate the issue. Removing the token and repairing with only one replica seems to ameliorate the issue. So it looks like there may be an issue with the pairing process with BTCPayServer when there are replicas of WordPress.