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

Can't see my Stripe products on Supabase & on my site #72

Closed
anthonyjacquelin opened this issue Jun 25, 2021 · 5 comments
Closed

Can't see my Stripe products on Supabase & on my site #72

anthonyjacquelin opened this issue Jun 25, 2021 · 5 comments

Comments

@anthonyjacquelin
Copy link

I followed the ReadMe perfectly to set up the project. However, even though everything is configured on Vercel, Supabase & Stripe (with registered products), I can't see my subscriptions and I'm left with the message: "No subscription pricing plans found. Create them in your Stripe Dashboard. "

I noticed that the products are not updating from Stripe and the Webhook is not working. I have the following error message on Stripe:

Webhook Error: No signatures found matching the expected signature for payload. Are you passing the raw request body you received from Stripe? https://github.com/stripe/stripe-node#webhook-signing

Thanks for any help :)

@ghost
Copy link

ghost commented Jun 29, 2021

I'm having the same issue. When I deploy the project the webhook either isn't created in Stripe, or fails authentication and I have to retry the webhook from the stripe dashboard.

@joaogarin
Copy link

Having a similar problem I don't see any webhook created in stripe. I guess there is a way to manually add this step?

@ghost
Copy link

ghost commented Jun 30, 2021

@joaogarin I found that if you click the "Skip this form" during setup of the stripe integration, the webhook is not created.

I also discovered if you don't allow some time between supabase setup and then configuring products in Stripe - the integration will fail. I can't reproduce an exact use case.

@joaogarin
Copy link

joaogarin commented Jul 1, 2021

Thank you, will try it again see if I can get a different result.

Edit : I didn't realize but you have to be in test mode in stripe when creating the products, I was not creating them in test mode (clicking "view test data" on your stripe sidebar). Also the webhook did fail initially I guess some timming issue like you mentioned. I went back and "resent" the webhook authorization request and once succeded when creating products (always in test mode in stripe) they where indeed correctly triggered in the webhook and created in supabase.

Screenshot from 2021-07-02 07-32-24

@thorwebdev
Copy link
Collaborator

Sorry for this. We've added some instructions on how to set up the webhooks manually: https://github.com/vercel/nextjs-subscription-payments#configure-webhook

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

3 participants