After connecting the stripe payment system with my Laravel Spark installation I quickly setup some subscription options. Next, I subscribed to one of them using the test credit cards. Everything seems fine at the Stripe dashboard. However, if go the subscriptions page, I only see a big CANCEL SUBSCRIPTION button and not the selected subscription as well as the other subscriptions. I didn't touch the Spark components since I'm afraid to break something... so most of the stuff is pretty vanilla except for the configuration input. I checked with Chrome developer and these are the errors that seems to be linked:
app.js:42231 [Vue warn]: Error in render function: "TypeError: Cannot read
property 'active' of undefined"
found in
---> <SparkUpdateSubscription>
<SparkSubscription>
<SparkSettings>
<Root>
warn @ app.js:42231
app.js:42318 TypeError: Cannot read property 'active' of undefined
at Proxy.render (eval at createFunction (app.js:51564), <anonymous>:2:24583)
at VueComponent.Vue._render (app.js:45869)
at VueComponent.updateComponent (app.js:44288)
at Watcher.get (app.js:44629)
at new Watcher (app.js:44618)
at mountComponent (app.js:44292)
at VueComponent.Vue$3.$mount (app.js:49600)
at VueComponent.Vue$3.$mount (app.js:51803)
at init (app.js:45245)
at createComponent (app.js:46884)
Anyone had this error or have an idea to fix it?
[edit] When I click the cancel button, I don't see any subscriptions at all and have the following error:
Interestingly, when I click the only button (the cancel subscription button) I don't see any subscriptions anymore and have the following error:
app.js:42231
[Vue warn]: Error in render function: "TypeError: Cannot read property 'name' of undefined"
found in
---> <SparkResumeSubscription>
<SparkSubscription>
<SparkSettings>
<Root>
Thanks in advance