Reporting: Payment activity widget not refreshed automatically when toggling test mode #9027
Labels
category: projects
For any issues which are part of any project, including bugs, enhancements, etc.
focus: reporting
type: bug
The issue is a confirmed bug.
Describe the bug
When we toggle test/live mode on the client/plugin, the payment activity widget within
Payments > Overview
continues to show the summary data of the previous mode. This is refreshed after the WooPayments Account cache is refreshed manually.Expected behavior
The payment widget should update automatically to the test mode / live mode data, whenever it is changed, without needing a manual cache refresh.
To Reproduce
Use a test website connected to a live account
_wcpay_feature_payment_overview_widget
feature flag ( if you are testing this before Enable the Payment Activity Card for all merchants (remove feature flag_wcpay_feature_payment_overview_widget
) #9012 is merged )Payments > Overview
and take a look at the data within theYour payment activity
widgetwcpaySettings.liftetimeTPV
orlifetime_total_payment_volume
WooCommerce > Status > Tools > Clear WooPayments account cache
Additional context
The issue was observed while resolving #8958 . I created a separate issue, since I also wanted to context switch to Multiprocessor project, while making sure this is not missed.
The text was updated successfully, but these errors were encountered: