Hey there! I am trying to refactor this subscription code:https://github.com/code-nebula/stripe-recurring-subscriptionsIn the above code (in which they have a tutorial for as well: https://codenebula.io/stripe/node.js/2019/04/11/creating-monthly-recurring-subscriptions-in-stripe-using-node-js-part-1/ ) this demo app has everything I want. But they use nunjucks for some templating and these views for the html pages.I'm not sure where to start when it comes to the routes that I need to create customer -> then add plan/subscription to customer for them to complete their purchase. Maybe some of the stripe functions would be functions I could add to the routes without the need for templating.Any guidance would be helpful and appreciated. <3I am using Express and React.Here is how my project is setup:https://github.com/kelleymuro/sleepmode
Submitted August 19, 2019 at 05:30AM by drdaydreamv2
No comments:
Post a Comment