Automattic / woocommerce-payments

Accept payments via credit card. Manage transactions within WordPress.
https://wordpress.org/plugins/woocommerce-payments/
Other
173 stars 69 forks source link

Possible Render Issue when duplicate onboarding session is started #9392

Open dmallory42 opened 1 week ago

dmallory42 commented 1 week ago

Describe the bug

It looks like a link isn't being rendered correctly when a duplicate onboarding session is started:

Screenshot 2024-09-06 at 11 49 40

The link works as expected, but the HTML tag is broken.

I didn't confirm yet if this issue only happens locally. This is a pretty weird edge case that can only happen if a user starts an onboarding, then while it is still in progress, goes to a new window and tries to start another one.

To Reproduce

  1. Onboard using a Progressive Onboarding account. After this finishes, you'll be taken to the Overview page.
  2. Click the button on the Overview page to Verify Deposit details - you should be taken to the Stripe KYC.
  3. Keep this tab open. Open a new window, go to the Overview page, and click Verify Deposits again.
  4. You should see the error appear with the broken link rendering.

Expected behaviour

dmallory42 commented 1 week ago

cc @anu-rock for triage/prioritisation.