Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

HendrikOB's avatar

How to accept payments with stripe lesson 07 error with CheckoutForm.vue

Hi all,

I currently use Laravel 5.5 and at the end of lesson 07 I get an error with the Vue component "CheckoutForm.vue" with developer tools (chrome web Browser) console:

Uncaught TypeError: Cannot read property 'name' of undefined
    at VueComponent.subscribe (app.js:42096)
    at Proxy.boundFn (app.js:31860)
    at click (app.js:42207)
    at HTMLButtonElement.invoker (app.js:33502)

This is my repository and you can see the code Guist of my changes.

Thank you very much for your time.

0 likes
1 reply
HendrikOB's avatar
HendrikOB
OP
Best Answer
Level 3

Ok I just had to update the database and re-add the plan.name objects.

Please or to participate in this conversation.