Payment Activity Card shows an error for new accounts: Error retrieving payment activity data.
#8708
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.
Milestone
Describe the bug
An error is shown when rendering the Payment Activity Card for new accounts who may not have added a deposit destination or verified identity.
The response from
/wp-json/wc/v3/payments/reporting/payment_activity
:Tip
See server endpoint
/reporting/payment_activity
handler hereTo Reproduce
Payments → Overview
total balance > 0.wp option update _wcpay_feature_payment_overview_widget 1
Payments → Overview
.Error retrieving payment activity data.
0
/wp-json/wc/v3/payments/reporting/payment_activity
matches the error json response above.Screenshots
Expected behavior
For new accounts, the Payment Activity Card amounts should render with the correct amounts and without errors, or not render at all.
The text was updated successfully, but these errors were encountered: