Comments (15)
i dig a bit more and check related issues
my products are synchronizing in supabase succesfuly.
I double check the stripe setup on your readme looks Ok.
I cant find my mistake.
Regards
from nextjs-subscription-payments.
Hey @vivacoda can you check your prices table?
from nextjs-subscription-payments.
I also check looks Ok. Maybe i miss something.
from nextjs-subscription-payments.
Can you check your schema for the prices table (click the little arrow next to prices
and select edit table
)? Maybe the relationship between products and prices isn't correctly set up?
from nextjs-subscription-payments.
Thanks i am really grateful for your help
from nextjs-subscription-payments.
Okay, that looks all fine. Have you tried redeploying your page?
The products and prices are fetched at build time and then saved statically (getStaticProps
): https://github.com/vercel/nextjs-subscription-payments/blob/main/pages/index.tsx#L14 so maybe they prices were just not inserted yet when your build was running?
from nextjs-subscription-payments.
Same Error.
I will delete the supabase and github and clone again.
from nextjs-subscription-payments.
DEV mode Fresh clone
I give UP
i try with the webhook on the vercel subdomain and with my domain
When it's build it's not affect the sync
when it's Sync build error
from nextjs-subscription-payments.
Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
[object Object]
info - Generating static pages (6/6)
Build error occurred
Error: Export encountered errors on following paths:
/
at /vercel/path0/node_modules/next/dist/export/index.js:493:19
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:74:20)
at async /vercel/path0/node_modules/next/dist/build/index.js:962:17
at async /vercel/path0/node_modules/next/dist/build/index.js:836:13
at async Span.traceAsyncFn (/vercel/path0/node_modules/next/dist/trace/trace.js:74:20)
at async Object.build [as default] (/vercel/path0/node_modules/next/dist/build/index.js:82:25)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Command "yarn run build" exited with 1
from nextjs-subscription-payments.
On my own server i got
info - Creating an optimized production build
info - Compiled successfully
info - Collecting page data
[ ] info - Generating static pages (0/6)Could not find a relationship between products and prices in the schema cache
Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
[object Object]
info - Generating static pages (6/6)
> Build error occurred
Error: Export encountered errors on following paths:
/
at /var/www/viva-sub-fr/node_modules/next/dist/export/index.js:493:19
at runMicrotasks (<anonymous>)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Span.traceAsyncFn (/var/www/viva-sub-fr/node_modules/next/dist/trace/trace.js:74:20)
at async /var/www/viva-sub-fr/node_modules/next/dist/build/index.js:962:17
at async Span.traceAsyncFn (/var/www/viva-sub-fr/node_modules/next/dist/trace/trace.js:74:20)
at async /var/www/viva-sub-fr/node_modules/next/dist/build/index.js:836:13
at async Span.traceAsyncFn (/var/www/viva-sub-fr/node_modules/next/dist/trace/trace.js:74:20)
at async Object.build [as default] (/var/www/viva-sub-fr/node_modules/next/dist/build/index.js:82:25)
error Command failed with exit code 1.
All my credential are OK
new DB on supabase and fresh clone.
from nextjs-subscription-payments.
Still not working With the deploy BTN on your repo.
from nextjs-subscription-payments.
Very sorry about this. Can you try this (#88 (comment)) while we're looking at the Vercel deploy integration?
from nextjs-subscription-payments.
:)
Very sorry about this. Can you try this (#88 (comment)) while we're looking at the Vercel deploy integration?
I did Thanks now it's build without falling
i add all the env variable.
Supabase empty table No sync. Hope Supabase, NextJS and vercel will sync together before thanksgiving :)
Stripe sync
reporting.report_type.updated
Resend
More options
Response
200 OK
{
"received": true
}
from nextjs-subscription-payments.
You will need to make sure that you'r project is deployed and your webhook settings are configured correctly before creating the products in Stripe. Try creating a new product in Stripe and see if it syncs. If not, post the Stripe webhook dashboard logs and the vercel function error logs here.
from nextjs-subscription-payments.
Closing due to inaction.
from nextjs-subscription-payments.
Related Issues (20)
- Cant generate Static pages because navbar uses SSR for user HOT 3
- Stripe link redirects to the wrong URL when returning from the "customer Portal" HOT 1
- Feature Request: Light Mode , Dark Mode HOT 1
- Is using SUPABASE_SERVICE_ROLE_KEY in the app safe? HOT 1
- Issue with trial period setting HOT 1
- Webhook Error: No signatures found matching the expected signature for payload. HOT 3
- Is there a fork of this repo that uses popular ORMs like prisma or drizzle ? HOT 2
- Supabase + Vercel Deploy Button loading forever HOT 3
- No overload matches this call. ./app/account/page.tsx:47 HOT 11
- Getting ECONNREFUSED when starting `npm run dev` HOT 1
- Breaking Change by Stripe: Example needs overhaul HOT 1
- Defining the "Main Deployment URL" HOT 2
- Type error `priceData` HOT 3
- Stuck after setting up Supabase when using "Deploy Now" HOT 4
- Feature Request: Documentation
- Cannot setup supabase local instance HOT 2
- Can't import shadcn button component HOT 2
- Vercel Deploy Button setup process broken HOT 1
- updateName doesn't update the name in account page HOT 15
- --turbo flag breaks dependencies HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nextjs-subscription-payments.