Unexpected HTML on the shortcode checkout error message when Link is enabled #3099
Labels
component: stripe link
Issues related to Stripe Link
good first issue
The issue is a good candidate for the first community contribution/for a newcomer to the team.
type: bug
The issue is a confirmed bug.
Describe the bug
When Link is enabled, some unexpected HTML is included in the error message for the required email address field. This is only happening on the shortcode checkout.
To Reproduce
wp-admin/admin.php?page=wc-settings&tab=checkout§ion=stripe&panel=settings
wp-admin/admin.php?page=wc-settings&tab=checkout§ion=stripe&panel=methods
<button class="stripe-gateway-stripelink-modal-trigger"></button>
Expected behavior
The error message must not contain
<button class="stripe-gateway-stripelink-modal-trigger"></button>
.The text was updated successfully, but these errors were encountered: