Questions on functionality in Wave
I have a few questions on the functionality in Wave. This is a partial list:
-
Trying to upgrade my plan from http://localhost:8000/settings/plans does not work and I see an error message "No such plan: 'premium'" Note: I have entered valid Stripe keys in my .env. How can I subscribe to a plan?
-
I downloaded Wave and created a user account. When I log in, I see "You have 14 Days left on your Free Trial" Where can I find the code for the cron job that both:
- warns the user (sends an email) that the trial is ending and that I will either be auto-charged at the end, or I should upgrade because my access will end when the trial ends?
- runs a cron job to auto-charge at the end of the trial?, or revokes access?
Hi there,
Regarding your question #2, there isn't realy a cron job to do that, this is done in a better way by using the Stripe Webhooks. For more information on how to set those up, you can take a look a Video #6 here:
https://devdojo.com/course/wave
Regarding the subscription plans, note that you need to create them in your Stripe account as well, for that you can take a look again at video #7 here:
https://devdojo.com/course/wave
Hope that this helps!