Flutter Shopping Cart with Getx, Firebase & Stripe (Part 1)
Вставка
- Опубліковано 14 жов 2024
- Hey mates, I decided to build something a bit more complex with Flutter and GetX, so I decided to make a flutter shopping cart with stripe Payments, hope y'all enjoy this.
If you are new to GetX, watch this video: • Build two apps with Ge...
Project source code: github.com/San...
Join the Facebook community here:
/ 1481968775296158
CONTACT
Email: santosenoque.ss@gmail.com
Skype: santosenoque.ss@hotmail.com
Linked in: / santos-enoque
If by the end this thing would work. I'll gift you $100
🔥😂😂 now thats a great motivation, LET'S GOOOO
So what happened it works ????
haha@@andyz2747
I am new to Flutter, and for months i was looking for a simple connect on how to transfer from local products to firebase and there it is in this Wow! great job Santos
Thank you Mr Clem
Can you please tell me , how to get started and how you started learning flutter. That would be helpful for me. Thanks in advance.
You have me excited for more video! send them as soon as possible ! please.
Sure thing
Excellent work! waiting for the next part
Coming soon
Can someone help point to the previous video before this stage? where the cart display, user authentications and the rest was done.
Wonderful video with GetX! Thanks
Thanks for watching
Excellent !!!!!!!!!!!!!! well done ,i love it looking forward to the rest of it !
Also add option to favorite the product.
Eagerly waiting for the next video.
is part 3 available, the one on stripe payment? Thanks and keep this awesome tut alive. Looking forward as I am trying ot transition from other state managements (bloc and provider) to GetX
Next week
@@SantosEnoque Thanks partner. Looking forward to it. Just curious, do you plan to include an admi collection (to enable store management by designated admin users) and orders controller?
Thanks for the amazing video.... just one question is this way optimized?
I can't wait for part 2
Shortly
dont wait for it, this guy never finishes anything lol
@@사랑아화이팅 hello mate, look I understand your frustration, and I am sorry for that, nevertheless I will be working to fix that, Thank you
@@사랑아화이팅 Take it easy. He will finish what hr started I believe
WOWOWOWOWOWOW I really really really appreciate this video! Thanks a lot!
Thank you for the suggestion
Great Video! Can you explain how to make it null safety?
I see you 🤲🏾
Cant stop won't stop
Afinal Kiba é programador 😍❤️
So here is a question for you: How do I account for stock? Say I want the item to be removed from the product list if stock reaches 0, how do I do this? Please help
I suggest to create payment system for PayPal, Stripe and one of Pakistan's payment system. Thanks
Hey you do a video with flutter and AWS Amplify
Hey Santos ...
Thanks for the video ...
I noticed my stream doesn't close after the docs are gotten what could be the issue ?
thank you the video)
what name is of video where you show models?
Gracias Mister Santos
Ok so the payment controller needs to be updated. I've done some of the work already. You just need to use stripe library and not stripe_payments (video is slightly outdated). I'll let you know how it goes. oh and btw i used Rapyd payment as well, its similar to stripe but for other countries.
were you able to complete?
Hi, just curious if using firebase as constants is better than putting them in a GetX service ?
Can we do the same procedure using Firebase Realtime database . kindly guide about this also.
Can you integrate PayPal/credit card payment system?Will be really great
I used the same logic but its not working the product listing is not working at all. Can you tell me how it can be solved?
same error if solved pls tell me
Same error
Thank you so much ❤️
can i use your code without need of any copyright licence, if i can then thanks ,keep creating such content
Can someone help point to the previous video before this stage? where the cart display, user authentications and the rest was done.
Nice work
Does this map the user to the cart? I looked and it doesn't seem so
love it
Can't load data from firebase and userheader. Solved all the null errors but still can't load the data . Little help here !!
Can you make Django + Flutter CRUD app? with Secure User Authentication!
The products aren't showing for me & don't know how to fix it ??
Wonderful
Thanks man
Hi Mates! I am getting error in my product model file when price is coded as double: Class 'String' has no instance method 'toDouble'. The error is preventing the cart item funtion to work and when I changed price to string variable, I am unable to calculate the totalItem price. Please help. I noticed that only toString() option comes up when trying to assign toDouble() as a metthod to the price variable.
Same too, do you have solved?
Bro can you use the M-pesa ApI for the payment Option?
Please it's Important✊
Boa, É possível ?
Would you like to update the github? Some of your coding is outdated and cannot build the entire program work
Hi can u build a pos app for restaurant ?
I made the change to SingleProduct class to get product images from the network but still, I am getting blank screen after login in. I do have the appbar but no product display.
Solved this after I included a "shrinkWrap = true" to the GridView.count builder. But then I ran into another issue, that of type mismatch (String and toDouble() method as I posted earlier). Please help
@@DejAyEnterprise Hello bro, I also facing the same problems even after adding the "shrinkWrap = true" to the GridView.count builder. If you fixed these problems please tell me how. Thanks.
thas's all
can you do paypal or gcash payment?
Im getting this error:
Exception caught by scheduler library ═════════════════════════════════
The following _CastError was thrown during a scheduler callback:
type 'UserController' is not a subtype of type 'UserController' in type cast where
UserController is from package:petmypet/controllers/AuthController.dart
package:petmypet/controllers/AuthController.dart:1
when is 2nd one comming ?
On Wednesday
Waiting for it sir ❤️
How do learn flutter
Will there be a part three for the admin dashboard?
can i use web to run this app ?
Product not showing..
neither is mine
Bonita!
Can i make flutter app using only vs code?
For sure
can use it without auth ??
Well, no, but I should do that
Hi guys, my app doesn't display any products from the firebase database and doesn't show any errors. What can I do?
same error pls tell if u solved it
Lets add Paypal and Stripe payment, Thanks
Thanks for the suggestion
@@SantosEnoque Maybe the Invoice Ninja is better option since you can use different payment gateways
@@rezashah22 I second that option of invoice Ninja or any api that allows other payment gateways for wider acceptance and utility. Thx
paypal and cash would be nice .
Hey all, I've clone the app and did some changes so that it'll work with my Firebase. However I'm stuck at figuring out why the products are not listed. I've added all the images and record into Firebase. I'm able to register and sign in successfully. But the problem is no products are shown and there is no error. Anybody else experience this? Or could anybody suggest a tip on how to troubleshoot? Thanks!
Got it dudes. It's becoz I got this error:class 'string' has no instance method 'todouble'. Just replace all occurrences of data[PRICE]).toDouble() & data[COST]).toDouble() to use parsing: num.tryParse(data[PRICE])?.toDouble()
Might as well throw some null safety too :D
@Shane Pereira make sure firebase is all set up i.e. you're able to register, sign in, sign out etc. You would need to upload those images to firebase storage. Then create document(records) in firestore following the format in the video.
@Shane Pereira I was wrong. You ONLY need to change the one in lib/models/product.dart line 21. Just on that 1 line. No need to change in other file. Hope this helps
@@faizalmansor3427 done everything but still no products showing can you help me please I've got college project on Saturday to submit.
Please someone help us solve this issue🥺😕😭