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

await checkoutWithStripe(price, currentPath) not working on localhost #348

Open
maxmdev opened this issue Jun 9, 2024 · 0 comments
Open

Comments

@maxmdev
Copy link

maxmdev commented Jun 9, 2024

Somehow, on localhost this function returns undefined.

On test / prod, returns valid ID and everything works.

When I console.log(subscriptionId) inside function checkoutWithStripe, I have value on server. But it is not passed to the client.

Screen Shot 2024-06-09 at 2 44 59 PM

Anything am I missing?

Screen Shot 2024-06-09 at 2 48 18 PM Screen Shot 2024-06-09 at 2 49 05 PM Screen Shot 2024-06-09 at 2 47 29 PM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant