Questions on functionality in Wave

kp123

Sep 8th, 2020 12:40 AM

I have a few questions on the functionality in Wave. This is a partial list:

  1. 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?

  2. 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?
tnylea

Sep 9th, 2020 02:55 AM

Hey @kp123,

What version are you running of Wave, have you tried downloading the latest 1.0.4, there have been a couple fixes for billing.

Let me know :) Thanks.

kp123

Sep 9th, 2020 04:42 AM

Hey @tnylea I am running the latest version of Wave: 1.0.4, both of the questions above are related to that...

bobbyiliev

Sep 14th, 2020 05:07 PM

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!