Courses

Stripe Checkout Form with Laravel Cashier

Step 1. "Confirm Purchase" Form: Create User and Order in DB

avatar

I've installed the package in order to follow up.. I've created a database with name of 'project4' as it's named inside the 'env' file... I'm trying to 'php artisan migrate' but it returns an error as below: ' Access denied for user 'forge'@'localhost' (using password: NO) (SQL: select * from inform...' note that I'm new to installing projects from Git-repositiries .. and I've questions: 1- isn't this the right way approaching a database? from the 'env' file? 2- I noticed this file 'config/database.php' that contains 'mysql' ..etc. and I think it's the one causing the error, so my question is why there're two files for database? I'm confused about this. I've created a new db. with name of 'forge' as mentioned in this file.. but sitll not working..

avatar

I just found the answer.. I just have to replace the 'env.example. file with one of mine ..

avatar

Quick Question - would this tutorial still be good for now with Laravel 10? I want to start learning Stripe and just want tips from people that may have already completed these 6 tutorials, would you say the Cashier package has changed much?

avatar

I haven't tried Cashier directly lately, only via Laravel Spark, but I assume it would have changed quite a lot since then. But there's only one way for you to find out... :)

avatar

Haven't used Cashier I'll give this a go although I must say the Stripe API is so easy to work with took me 5 minutes to process dummy payments in a small laravel app

avatar

How can I add this (or any other) to my liked/favorite courses? I can't find a way...

avatar

Hi, we don't have this functionality. A few people asked for it, but it eventually turns out that they just want a "Bookmark" that browsers have. So we recommend that instead :)