Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App stuck on loading screen #866

Open
Prat1143 opened this issue Jul 6, 2023 · 2 comments
Open

App stuck on loading screen #866

Prat1143 opened this issue Jul 6, 2023 · 2 comments
Labels

Comments

@Prat1143
Copy link

Prat1143 commented Jul 6, 2023

Describe the bug
I created a stripe app using the command - "stripe apps create test_app". In this app by default 'stripe.dashboard.customer.detail' viewport had a code that printed the title - "Hello world". Locally it worked perfectly fine.
Later, when I uploaded my stripe app without making any changes using the command - "stripe apps upload", the app was successfully installed for my stripe account. Then I closed the local server and tried to access the customer details page in test mode. But it was stuck on loading. I reloaded the page couple of times in which the "Hello World" title was displayed sometimes and other times it was stuck on loading.
I checked the console and found that whenever the app was stuck on loading one specific api was getting 500 error status. The api was - " GET https://dashboard.stripe.com/tailor/extensions/sandbox.html?previewmode=false&appID=com.example.test_invoice_app&visibility=PRIVATE&livemode=false&installID=tailorinstall*AYklg46hFAAAAA8I%23EhcKFWFjY3RfMU5JbThLU0lhUXU1V1B4Qg 500 " and in network tab it was showing error - {
"error": {
"message": "Error while communicating with one of our backends. Sorry about that! We have been notified of the problem. If you have any questions, we can help at https://support.stripe.com/.",
"type": "api_error"
}
}

To Reproduce
Steps to reproduce the behavior:

  1. Create a new stripe app using the command - "stripe apps create app_name"
  2. Upload the app using the command - "stripe apps upload"
  3. Switch to test mode.
  4. Create a customer or if you have an existing customer go to his/her details page.
  5. Open the installed app from the side panel.
  6. Check if the app is stuck on loading or if the Hello World title is displayed with other content.
  7. If the title is displayed then reload it or change pages and then again open the customer details page.

Expected behavior
On the customer details page the app in the side panel should not be stuck on loading instead it should display the content that was added in the code.

Screenshots
stripePreviewError
stripePreviewError1
stripePreviewError3

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome
  • Chrome Version: 114.0.5735.199 (Official Build) (64-bit)

Additional context
This issue is not just occurring on the customer details page but whichever viewport I added (stripe.dashboard.home.overview, stripe.dashboard.invoice.detail, stripe.dashboard.customer.detail) all pages are facing the same issue.

@peterMadziyire
Copy link

i have the same issue

@ShaghilTechnoholic
Copy link

I have same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants