Hi @medlemark,
I understand your concern here, especially seeing the Stripe developer widget visible to logged out users while in sandbox mode, and how that could feel like something that should be restricted to admins only. I appreciate you flagging this.
From what you’re describing and the screenshot shared, this widget is coming directly from Stripe’s developer tooling and is automatically enabled when using Stripe Elements in sandbox mode. It is intended for testing and debugging, and as noted in their documentation, it should only appear in development environments and not in production.
A couple of things to check on your end:
- Confirm that your site is not publicly running in test mode: If Stripe is set to “Test” mode in WooCommerce, the widget can appear for all users. You can verify this under WooCommerce → Settings → Payments → Stripe.
- Switch to Live mode when not actively testing: Once live keys are in use, this widget should no longer appear to customers.
- Check for caching or environment setup: If your site is intended to be live but still shows sandbox behavior, there could be caching or environment configuration causing test mode assets to persist.
For more details on configuring Stripe in WooCommerce, you can review: https://woocommerce.com/document/stripe/
At the moment, the plugin itself does not provide a dedicated toggle to control this Stripe developer widget, as it is controlled by Stripe’s own scripts. That said, your suggestion about adding an admin-level toggle makes sense, and it is valuable feedback.
If you can confirm whether this is happening while the site is in Live mode, that will help narrow this down further and guide the next steps.
Thread Starter
dodmoh
(@medlemark)
I confirm the site site is on LIVE mode, and Stripe Payment Method is correctly confirgured
a screenshot https://imgur.com/CImUq9p
Hi there!
Thanks for your feedback! To make sure we fully understand the issue, could you please clarify which “sandbox assistant UI” you’re referring to?
It would be really helpful if you could share a screenshot showing where and how this UI appears.
Once we see the screenshot, we can provide more accurate guidance and suggestions.
Thread Starter
dodmoh
(@medlemark)
please read the topic I started as it include a clear screenshot and I described everything in details again :
the Site is in LIVE MODE and I was testing on checkout page while using browser NOT LOGGED IN and stripe plugin was on SANDBOX MODE I suddenly seen the stripe logo flowting on the page and I clicked and I could see clearly the CLIENT ID for Stripe Account which I included at the start of the topic https://imgur.com/hpodJJa
Hi there!
Sorry for the confusion, and thank you for providing the details again. I’ve checked this, and I can confirm that our developers are already working on enabling an option to hide the Stripe developer widgets.
Here is the GitHub PR created for this change:
https://github.com/woocommerce/woocommerce-gateway-stripe/issues/5167
I would suggest keeping an eye on this GitHub thread for further updates.
Thank you for your cooperation and understanding.
Hi there,
Good day! Since things have been quiet on this thread and there’s already an open GitHub enhancement request for this, I’m going to mark this as resolved for now.
In the meantime, keeping an eye on this in GitHub is the best way to catch any updates as they come through: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/5167
If anything else comes up, feel free to open a new thread anytime. We’re always happy to help 😊
And if you have a moment, we’d really appreciate a review. It means a lot to the team: https://ww.wp.xz.cn/support/plugin/woocommerce-gateway-stripe/reviews/#new-post