# Stripe customer portal not loading in published app

**URL:** <https://community.weweb.io/t/stripe-customer-portal-not-loading-in-published-app/5045>\
**Category:** Ask us anything\
**Created:** [October 25, 2023, 5:53am UTC](https://community.weweb.io/t/stripe-customer-portal-not-loading-in-published-app/5045 "2023-10-25T05:53:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dorian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorian/32/13183_2.png) [@Dorian](https://community.weweb.io/u/Dorian)\
**Post date:** [October 25, 2023, 5:53am UTC](https://community.weweb.io/t/stripe-customer-portal-not-loading-in-published-app/5045/1 "2023-10-25T05:53:23Z")

</div>

The Stripe customer portal loads fine for me in the editor, but not in my published app. I have both the test and production keys configured in the plug-in. Is there something else I need to change for the published app? Thanks!

---

<div class="post-metadata">

**Author:** ![Dorian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorian/32/13183_2.png) [@Dorian](https://community.weweb.io/u/Dorian)\
**Post date:** [October 25, 2023, 6:21am UTC](https://community.weweb.io/t/stripe-customer-portal-not-loading-in-published-app/5045/2 "2023-10-25T06:21:18Z")

</div>

I should mention I see this on the Stripe Dashboard in live mode. Perhaps that’s the issue?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/0/03ed26cd35ed1c3dca1043c3adb018f57863d296.png)

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [October 25, 2023, 11:27am UTC](https://community.weweb.io/t/stripe-customer-portal-not-loading-in-published-app/5045/3 "2023-10-25T11:27:10Z")

</div>

Hi @Dorian 👋

We have an [open bug on Stripe regarding test keys](https://community.weweb.io/t/weweb-stripe-checkout-pricing-id-problem/4791). The team is investigating but, in the meantime, the fix / workaround is to remove the test keys from your Stripe configuration and republishing the app.

Can you give it a try?

If that doesn’t fix it, it might indeed be a Stripe issue related to that Terms of Service warning you’re getting in your Stripe dashboard.

---

<div class="post-metadata">

**Author:** ![Dorian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorian/32/13183_2.png) [@Dorian](https://community.weweb.io/u/Dorian)\
**Post date:** [October 26, 2023, 5:12pm UTC](https://community.weweb.io/t/stripe-customer-portal-not-loading-in-published-app/5045/4 "2023-10-26T17:12:29Z")

</div>

Hi @Joyce. I removed the test keys, republished the app but still unable to access the Customer Portal using the built-in Customer Portal workflow action. We resolved the Stripe error and other Stripe functions work (e.g. creating a customer and setup session) but accessing the Customer Portal still not working. Any other ideas please?

---

<div class="post-metadata">

**Author:** ![Dorian](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorian/32/13183_2.png) [@Dorian](https://community.weweb.io/u/Dorian)\
**Post date:** [October 26, 2023, 6:39pm UTC](https://community.weweb.io/t/stripe-customer-portal-not-loading-in-published-app/5045/6 "2023-10-26T18:39:51Z")

</div>

I think I figured it out! In the editor with the test keys removed, I am getting this Stripe error when attempting to launch the Customer Portal! So appears to be a Stripe issue, not WeWeb!

"Access to the customer portal in livemode is only available to paid Billing users. If you started using Billing before it became a paid product, an upgrade is required. Learn how to upgrade at [Billing customer portal : Stripe: Help & Support](https://support.stripe.com/questions/billing-self-serve-portal).

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [October 27, 2023, 10:01am UTC](https://community.weweb.io/t/stripe-customer-portal-not-loading-in-published-app/5045/7 "2023-10-27T10:01:48Z")

</div>

Awesome! Glad you found a solution and thanks so much for taking the time to share it! Really appreciate it 🙂
