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

🐛 BUG: Subscription Price Not Displayed #1713

Open
1 task done
Hesham-Dev-LY opened this issue Jan 22, 2025 · 0 comments
Open
1 task done

🐛 BUG: Subscription Price Not Displayed #1713

Hesham-Dev-LY opened this issue Jan 22, 2025 · 0 comments

Comments

@Hesham-Dev-LY
Copy link

What went wrong? 🤔

Bug Report: Subscription Price Not Displayed on "Upgrade to Plus" Page

Description

When clicking on "Upgrade to Plus" button and opening the subscription page, the subscription price fails to appear (an empty space is shown instead). Everything else on the page loads normally.

Console Error

Access to fetch at 'https://api.paddle.com/pricing-preview' from origin 'https://app.daily.dev/' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Possible Cause

The error indicates a CORS policy issue:

  • The API request to https://api.paddle.com/pricing-preview is being blocked because the response to the preflight request does not include the Access-Control-Allow-Origin header.

Expected Behavior

No response

Steps to Reproduce Issue

1. Navigate to the "[Upgrade to Plus](https://app.daily.dev/plus)" page.
2. Observe that the subscription price does not display on the page.
3. Open the browser's developer tools and check the console for errors.

Solution Proposed

No response

Screenshots

Image

Environment

Chrome 131.0.6778.265 (Official Build) (x86_64)

Browsers

Chrome

OS

Mac

Version of daily.dev

No response

Additional Context

> Access to fetch at 'https://api.paddle.com/pricing-preview' from origin 'https://app.daily.dev/' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

Code of Conduct

  • I follow the conditions of this project.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant