# Stripe iFrame is being loaded without credentials

**URL:** <https://forum.ghost.org/t/stripe-iframe-is-being-loaded-without-credentials/11138>\
**Category:** Memberships & subscriptions\
**Created:** [January 3, 2020, 7:46pm UTC](https://forum.ghost.org/t/stripe-iframe-is-being-loaded-without-credentials/11138 "2020-01-03T19:46:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![christianeckert](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/christianeckert/32/5687_2.png) [@christianeckert](https://forum.ghost.org/u/christianeckert)\
**Post date:** [January 3, 2020, 7:46pm UTC](https://forum.ghost.org/t/stripe-iframe-is-being-loaded-without-credentials/11138/1 "2020-01-03T19:46:11Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![christianeckert](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/christianeckert/32/5687_2.png) [@christianeckert](https://forum.ghost.org/u/christianeckert)\
**Post date:** [January 3, 2020, 9:57pm UTC](https://forum.ghost.org/t/stripe-iframe-is-being-loaded-without-credentials/11138/2 "2020-01-03T21:57:55Z")

</div>

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](https://github.com/TryGhost/Ghost/issues/11463)
