Skip to main content

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

Lesson 01/06 12:07
Autoplay

Comments & Discussion

A
Adel ✓ Link copied!

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

A
Adel ✓ Link copied!

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

GK
Gavin Kimpson ✓ Link copied!

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?

PK
Povilas Korop ✓ Link copied!

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... :)

GK
Gavin Kimpson ✓ Link copied!

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

K
kornelkornecki ✓ Link copied!

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

M
Modestas ✓ Link copied!

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 :)

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.