Typo in <a> tag makes Stripe appearance config impossible to edit through Webform UI.

Created on 25 September 2023, 9 months ago
Updated 29 September 2023, 9 months ago

Found a typo in stripe_webform_payment/src/StripteWebformPaymentWebform.php.

The href property in the opening <a> html tag is not closed properly, and this turns the whole YAML textarea into a link so when you try to click into it in the UI, the link opens instead. (And it's a broken link because of the > appended.)

$form['stripe']['appearance_container']['stripe_appearance'] = [
...
      '#description' => $this->t("You can customize your Stripe Payment elements appearance. Please refer to <a href='https://stripe.com/docs/elements/appearance-api>'Stripe appearance API</a> for more details."),
...
    ];

Patch coming right up.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇭🇺Hungary dr. gubó

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024