Check out the full source code in this video here: github.com/aschmelyun/laravel-vue-stripe-cashier
@nilmendes77104 жыл бұрын
Thank you for your support.
@aminraeisi3 жыл бұрын
Premium content. The first section (setting up the vue/vuex in Laravel as SPA) can turn into a good starter command/preset especially now that people have to decide between new Livewire/Inertia or the good old blade/vue.
@uniqueprogramming52993 жыл бұрын
I was always afraid of payment but you make it look like extremely easy. Thanks man for this amazing content. Please next upload subscription with cashier.
@fizoul3564 жыл бұрын
Sir, you are a treasure, thank you very much for these videos, I have never watched a tutorial that is that organized, fast, and simple as this one, I have learned a lot in a short time, plus you write nice clean code with good practices, and we can see how much experience you have through that, much love and admiration
@aschmelyun4 жыл бұрын
Thank you so much! That means a lot to me, and keeps me motivated to continue producing videos.
@fizoul3564 жыл бұрын
@@aschmelyun you are the most welcome, i hope i could help with more than words, respect
@Stevensherah3 ай бұрын
I learn this In 1 calendar Year Computer Science with PHP MVC now with this other technologies in Just 1 hour Thanks man😮😢
@apptimegr3 жыл бұрын
Premium content. Just to the point. Nicely made! 👏
@davidrowlands85483 жыл бұрын
For people who got an error around the 11 minute mark because of Str::slug($name). The video did not show that the module was being imported because it is done automatically in his editor. You need to import the Str module at the top of the file: use Illuminate\Support\Str; so that your code looks like this: use App\Models\Category; use Illuminate\Database\Eloquent\Factories\Factory; use Illuminate\Support\Str;
@davidrowlands85483 жыл бұрын
In fact, in quite a few places he is using modules that are automatically being imported at the top of a file. So if you're not using php storm you will get errors. So beware.
@alexlytle0893 жыл бұрын
This dude is the fastest typer i have ever seen
@joshbarros19953 жыл бұрын
Thanks for this awesome video!!! Now I'll figure out how to install IUGU (Brazilian Payment Gateway) on a Laravel / NuxtJS project ;)
@pradeepspace34 жыл бұрын
Wow Andrew, This is a fantastic content. Thanks for sharing this video 🙂
@nilmendes77104 жыл бұрын
This tutorial is excellent, it helped me a lot. I believe that I can use this tutorial to understand, implement other means of payment. I have a request, if possible more tutorials on vuejs, I believe they will be excellent as well as all the other tutorials on your channel. Thanks!
@TysonLondon4 жыл бұрын
This is some A+++ Content here! Thanks :) I love the speed of this video too!
@juicydruc27553 жыл бұрын
Wow brother thank you for this video truly help me out you my friend are a genius. And to think I was almost doing it right, humbly saying I'm pretty proud of myself actually . I was just missing a couple key components that use shine light on , it all makes sense now. thank you
@peterbraganza4414 жыл бұрын
Amazing video, so concise and to the point. Love It....more videos like these please !!!.
@JohnnyBigodes4 жыл бұрын
I know that for learning it is better to type everything by myself, but on this video you could really use the autocompletion of PHPStorm, so that new people on your channel is not bothered to see you typing everything. That would also show the power of the autocompletion in PHPStorm. With autocompletion I mean: - HTML scaffold - Autocomplete classes - Import class namespaces and so on.
@mel-1822 жыл бұрын
Is there a way to autofill the card details on the card element? I am storing the card details in my database.
@igerardogc4 жыл бұрын
Excellent video, what IDE did you use to develop that app? And what plugin do you use for the html tag breadcrumb.
@bergglobus24283 жыл бұрын
Based upon the folder icons and error labels and foldable code symbols, I think he is using some kind of Intellij product with the extension material UI or material UI light and material icons installed, so he can use one of the rlly cool dark themes. So I guess it's phpstorm. I use intellij Idea and I love the IDE, sadly my bos does not want to pay for phpstorm (yet)
@stojankukrika72424 жыл бұрын
Andrew, would you like to share this awesome code on git? It will be easy to follow and some parts double-check.
@aschmelyun4 жыл бұрын
Of course, I knew I forgot to do something! Check out the pinned comment for the git repo.
@stojankukrika72424 жыл бұрын
@@aschmelyun Thank you for reading the comments and for this repo! Wish you all the best in new 2021 year ;)
@aschmelyun4 жыл бұрын
@@stojankukrika7242 I always read the comments! It keeps me inspired. You too!
@faizanakbar71753 жыл бұрын
I have done exactly everything from the video but the summary page won't load. I checked stripe, it is getting successful requests under 'Developer' tab but nothing in payments. I have done exactly the same from the video, I copied the code when the transaction wasn't taking place and still no use. Its been 2 days and I cannot figure it out. I checked console log and it shows some error regarding 'reduce'.
@NyloXD3 жыл бұрын
hey mate. i am having the same problem. Was you able to fix it?
@faizanakbar71753 жыл бұрын
@@NyloXD No man, I wasn't able to fix it.. let me know if you found out the solution
@NyloXD3 жыл бұрын
@@faizanakbar7175 sure mate, if i find the solution i will keep you posted.
@NyloXD3 жыл бұрын
The problem is from the Checkout.vue to the Summary.vue. The Summary is not receiving the 'order' object. I dont know how to fix though
@faizanakbar71753 жыл бұрын
@@NyloXD Yes initially I tried to look into it, but I still couldn't find the solution. That's when I commented here, I checked the codes too and it's same..
@LinhPham-iu2fr4 жыл бұрын
Thank your for the video. Can I ask a question. How can I setup the terminal inside phpstorn that has command completion like you?
@jtech042 жыл бұрын
AWesome, Please make again this video in Laravel and blade
@dailypromos64772 жыл бұрын
You are amazing, Thanks you for this worthy tutorial keep going!
@flutter6432 жыл бұрын
what if the base route has a segment? How do I provide vue routes in the routes js file ?
@8693alenieto3 жыл бұрын
Which extension makes the arrows like that?
@hevityaus6313 жыл бұрын
Working perfectly, thank you so much for this video!
@DanyAguilar3 жыл бұрын
Saving millions of salaries this year with this video lol
@aschmelyun3 жыл бұрын
Lmao!
@muhammadbasil86982 жыл бұрын
Good work sir 🙂
@JJ-ot3ps2 жыл бұрын
this is very good tutorials! I am wondering does vue work with django as I never work with laraval befroe though? do you also have any more how vue frontend turotrial like design navbar etc?
@aschmelyun2 жыл бұрын
Yes, Vue is known as "backend agnostic" meaning that it doesn't matter what backend framework you use, it should work! Django, Flask, Express, WordPress, all can work. I have a few older frontend tutorials for Vue, but not a lot. Planning on adding more soon though!
@JJ-ot3ps2 жыл бұрын
@@aschmelyun that would be great! would love to see how vue vite work with django too, I see axios is the only way to connect them, not sure if that is best way though.
@ЕвгенийЕвгений-з2с3 жыл бұрын
Hi, what font do you use in ide?
@denisgaraux3 жыл бұрын
Nice tutorial. But how to implement SCA and 3D secure?
@effhamather76603 жыл бұрын
at 6:36 he said each product belongs to many catagories which i think is wrong because each product can only belong to a single catagory
@franksmith23243 жыл бұрын
It depends on your project structure, you might want something like tags, so he is right, a single product can belong to many categories
@eli007s3 жыл бұрын
how do you keep the cart items on page refresh?
@Rakshaara3 жыл бұрын
Hi is it okay to calculate total amount in frontend ? I think you are requesting amount from frontend, right?
@musawirhussain19262 жыл бұрын
Error in cents. Hello, I am seeing the amount I am charging isn't the same on stripe. I charged for 420 EUR and on the stripe, it shows 4Eur. please help me with this
@assoftTR3 жыл бұрын
This video saved my day. Thank you Andrew!
@mukangangugi99303 жыл бұрын
A very nice tutorial. I checked for the code in your github but you just did initial commit. kindly update it for cross-checking
@reavielx2 жыл бұрын
I developed my app with help of this great tutorial but wondering now, why body request with sensitive data like credit card details are visible in browser devtools? It's not safe. Is there a way to handle that safety issue?
@dfordemo9812 жыл бұрын
super awesome, thanks for the good better best content, huge like from Pakistan
@Ramziddin_Rustamovv2 жыл бұрын
Hi , good , but i have a question about credit card , after paying some amount of 💸 money , it give me Purchase ID , costomer should screenshot this or not becouse they share us when they visit at shop -> this is a first question. Second one is after paying method finished , credit card may lost some amount of money that puted into input field . Please answer those . I will wait . Bye 🤝☺️
@andrewang7073 жыл бұрын
Anybody knows what plug-in Andrew uses to show the parameters’ type automatically in the code?
@boxfreshpidge3 жыл бұрын
It's not a plugin its automatic in Php Storm which is the IDE he is using
@fatimabartels74473 жыл бұрын
I get error from in my index.vue :
@bryanjadeloplop30743 жыл бұрын
i think you need to add :key for this. as for me I added :key="category.id"
@aschmelyun3 жыл бұрын
That is correct, for Vue it will probably throw an error unless you include the key attribute above.
@jai2563 жыл бұрын
I tried following this, but the credit card form does not appear. I don't know whats wrong
@mohammadalhajali28993 жыл бұрын
Thank you so much for this video. I am using it but i have problem in adding user auth (register, login, confirm email). Could guide me to add auth pls
@thebirdhasbeencharged4 жыл бұрын
Damn what's with the random spam comments? Anyways perfect timing with this was I had planned to do this this weekend!
@aschmelyun4 жыл бұрын
Yeah, they always seem to pop up with every new video. Glad I got this published just in time, then!
@pad6y6393 жыл бұрын
thanks for the video. everything worked in dev, however when i deployed my demo with strip still in test mode. when i do npm run dev and then deploy the strip still works but as soon as i do npm run prod and deploy i get 'IntegrationError: Missing value for Stripe(): apiKey should be a string." Any suggestion as to why would be appreciated. Even when i hard code the key in it still doenst recognise it despite being a string..
@fatimabartels74473 жыл бұрын
How to add an image to this? coz its all blank image.. thank you
@elikarkanane96432 жыл бұрын
Great, many thanks... premium course
@jigarkumar90733 жыл бұрын
Great tutorial, you saved my time. 👏 👏 👏
@jpandagaming59959 ай бұрын
"A `return_url` must be specified because this Payment Intent is configured to automatically accept the payment methods enabled in the Dashboard, some of which may require a full page redirect to succeed. If you do not want to accept redirect-based payment methods, set `automatic_payment_methods[enabled]` to `true` and `automatic_payment_methods[allow_redirects]` to `never` when creating Setup Intents and Payment Intents." Please help...
@andrewang7073 жыл бұрын
When I do products.find(product => product.slug === route.params.slug); Sometimes the data is loaded, and sometimes not. Does anyone know the reason? I suppose it'd be something related to the lifecycle as the Products/Show page is loaded before the find() function is done. It may be because I have over 700 products in the database. Any possibility that I can ask the page to wait until the find() function is done?
@sodiqabdullaev76613 жыл бұрын
Yo bro spot on 👍 . Perfectly done
@SaeedNeamati3 жыл бұрын
what is your IDE?
@quantumcd10453 жыл бұрын
looks like PHP storm from jetbrains
@muhammadaminudinbahtiar68473 жыл бұрын
thanks andrew. your content very best
@fatimabartels74473 жыл бұрын
Hello Sir, I want to put a product manually, not through API, how will I do that? this is really a good tutorial!
@kristiyan.zhelyazkov2 жыл бұрын
Why don’t you adding foreign keys anywhere?
@andrewho17003 жыл бұрын
Awesome video ! Totally what I need Thanksss
@fatimabartels74473 жыл бұрын
Hello Sir, I am new to Laravel and I am a student having exam in Laravel, So we have to make a project. I already have one but I wanna add this to my project. how will I put it in my route and navigation? since this is already one project. I know this is a very stupid question but hopefully you can answer me. Thanks a lot!
@aachdev80523 жыл бұрын
Keep Going Please Make More Videos
@ilijatatalovic4 жыл бұрын
Thank you Andrew for great video.
@huyphamuc6372 Жыл бұрын
It's okay, I don't like the SPA UI structure much. Expected header and footer as a component. Great work overall
@MrJoboski2 жыл бұрын
Wonderful tutorial!
@noID4573 жыл бұрын
The price should also be denormalized since we can later sell a product for a different price
@vepamirzayev2 жыл бұрын
Useful Content Thanks.
@soniablanche56722 жыл бұрын
shouldn't you recalculate the total price on the backend instead of blindly accepting it from the front end ? can't you just set it to 0$ in the front end ?
@marcinmaj36093 жыл бұрын
Please the same with react
@3clipse9113 жыл бұрын
Thank you so Much Andrew
@Paul-oz5se3 жыл бұрын
Hello Andrew, very nice tutorial. Can you add video tutorial on how to upload image file using laravel and vue?Thank you
@aschmelyun3 жыл бұрын
Sure thing! I'll be sure to add it to my list.
@marcinmaj36093 жыл бұрын
Maybe nextjs with laravel cashier subscriptions
@marcinmaj36093 жыл бұрын
Continue this video and add subscriptions plan🤘
@uchchhash-dev3 жыл бұрын
Thank you very much for the content
@edsonrodsilva3 жыл бұрын
Very Good! Congratulation!
@AllinOne-qc5it4 жыл бұрын
Great video, thanks
@GerardLC4 жыл бұрын
this is gold
@eugenbelousov50273 жыл бұрын
great tutorial
@perfect.stealth3 жыл бұрын
Thanks for this useful tutorial. However some things you do is very bad practice. No product SKU (slugs can change) The customer data should be stored as a profile and not in the users table. Using relationships from product to order isn't smart either, in case a product is deleted the order will be wrong.