Stripe iFrame is being loaded without credentials

Hello there!

I’m currently developing a self-made custom Theme on a self-hosted Ghost instance:
I noticed that with activating the Members functionality — and/but not having any Stripe credentials filled-in (as I want to use the feature only for a free Newsletter), the Stripe iFrame with the name ”__privateStripeMetricsController0” is anyway embedded right before the closing body tag on every single page, adding unnecessary loading times.

Are there any ideas, without editing the Ghost core, on how to fix it?
Otherwise maybe a toggle with ”activate Stripe” to avoid the unnecessary embedding would be an option?

Cheers!

I’ve found an issue describing the same issue with some more details on Github: Stripe javascript file is loaded even if no stripe connection is setup · Issue #11463 · TryGhost/Ghost · GitHub