#BinaryWritter-nextjs

1 messages · Page 1 of 1 (latest)

uncut crescent
#

Hi there 👋 next.js shouldn't deviate too much from our existing Node and React documentation. Are you getting hung-up somewhere specifically?

opal remnant
#

Well in fact i have lots of code, because i want to implement also subscriptions, do i tell you which code i have so you can tell me how to implement it please?

#

Hello by the way, sorry

#

I have a products page already in my site, but dont know how to implement my stripe code there

uncut crescent
#

I'm still not really sure how to help you. I can't code Subscriptions for you, but I can help if you're coding it yourself and getting stuck somewhere.

opal remnant
#

ok i copied a subscrition code from stripe github, how do i add a button so users can add the different products i have?

#

Creating the boton is no problem, what i dont know is how to "call" stripe from there, also in my App.js i have errors i cannnot implement stripe in my App.js correctly

#

Humm sorry if im not very specific but i cant do anything, maybe you could point me to a implementation of Stripe in App.js so i can compare it with my code?

uncut crescent
opal remnant
#

Thank you so much!!! Yes that will do, the server code where do i place it in Next.js? in the api folder? Or it doesnt matter too much?

uncut crescent
#

I'm not sure. It will depend on what the layout of your integration is

opal remnant
#

Ok i will do tests, thank you for everything @uncut crescent , can i ask you further other day if i need too?

#

Sorry if im not very clear, i have seen so much the docs that im a little confused

uncut crescent
#

That's alright. If you have more questions, feel free to come back to the server and ask

opal remnant
#

Thank you very much again, i will see that code, see you arround

opal remnant
#

Hello i have a question, how do i deploy server.js in production with express.js ?

#

Its the first time i use express