WooPayments status and buttons are incorrect on Payments settings page when Stripe onboarding is started but not completed #8813
Labels
category: core
WC Payments core related issues, where it’s obvious.
focus: account lifecycle
priority: medium
The issue/PR is medium priority—non-critical functionality loss, minimal effect on usability
type: bug
The issue is a confirmed bug.
Describe the bug
If a merchant reaches the first screen of stripe onboarding but exits, we display the toggle for WooPayments on the Payments settings screen as enabled and the button as "Manage" which is incorrect. It appears that we are not taking into account whether or not Stripe onboarding steps were completed by the merchant - we just assume after the first stripe onboarding screen is reached that the merchant has completed it.
To Reproduce
Actual behavior
WooPayments shows as enabled on payment settings screen and button says "Manage" even though the merchant did not complete the onboarding flow.
Screenshots
Expected behavior
WooPayments shows as disabled on payment settings screen and the button says "Finish set up" until the merchant completes the stripe onboarding flow.
The text was updated successfully, but these errors were encountered: