When you return from Stripe Connect, we show one time the publishable key, access token, and user ID that we received from the successful connection, but the message isn't formatted. Or at the very least, the HTML tags are being escaped and rendered as part of the message.

Is it possible for us to indicate this message intentionally contains HTML so it's formatted as expected?

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

rszrama created an issue. See original summary.

jsacksick made their first commit to this issue’s fork.

jsacksick’s picture

Status: Active » Needs review

Weird, this only happens with D11, the attached patch should do the trick.
Also, perhaps we should address #3539300: Add a setting to suppress the credentials message after Stripe Connect from this MR too... Not sure anyone would ever set the settings flag though... So maybe we should not output the credentials at all? But I'm thinking this is necessary for people used to overridding credentials from settings.php (or via variables overrides from the different hosting providers).

  • jsacksick committed 779218e9 on 2.x
    Issue #3539297 by jsacksick, rszrama: Message on return from Stripe...
jsacksick’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.