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

КОМЕНТАРІ • 101

  • @blesfemy
    @blesfemy 3 роки тому +31

    If by the end this thing would work. I'll gift you $100

    • @SantosEnoque
      @SantosEnoque  3 роки тому +12

      🔥😂😂 now thats a great motivation, LET'S GOOOO

    • @andyz2747
      @andyz2747 11 місяців тому

      So what happened it works ????

    • @AnanSalim
      @AnanSalim 6 місяців тому

      haha@@andyz2747

  • @clemco6
    @clemco6 3 роки тому +3

    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

    • @SantosEnoque
      @SantosEnoque  3 роки тому +1

      Thank you Mr Clem

    • @balajil6361
      @balajil6361 3 роки тому

      Can you please tell me , how to get started and how you started learning flutter. That would be helpful for me. Thanks in advance.

  • @clemco6
    @clemco6 3 роки тому +1

    You have me excited for more video! send them as soon as possible ! please.

  • @muhammadsaad2539
    @muhammadsaad2539 3 роки тому +2

    Excellent work! waiting for the next part

    • @SantosEnoque
      @SantosEnoque  3 роки тому

      Coming soon

    • @johnsonokoli4040
      @johnsonokoli4040 3 роки тому

      Can someone help point to the previous video before this stage? where the cart display, user authentications and the rest was done.

  • @hashankannangara8723
    @hashankannangara8723 3 роки тому +2

    Wonderful video with GetX! Thanks

  • @clemco6
    @clemco6 3 роки тому +1

    Excellent !!!!!!!!!!!!!! well done ,i love it looking forward to the rest of it !

  • @mohdazam3776
    @mohdazam3776 3 роки тому

    Also add option to favorite the product.
    Eagerly waiting for the next video.

  • @DejAyEnterprise
    @DejAyEnterprise 3 роки тому +1

    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

    • @SantosEnoque
      @SantosEnoque  3 роки тому

      Next week

    • @DejAyEnterprise
      @DejAyEnterprise 3 роки тому

      @@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?

  • @ardeshirojan1468
    @ardeshirojan1468 3 роки тому

    Thanks for the amazing video.... just one question is this way optimized?

  • @alikerivan8716
    @alikerivan8716 3 роки тому +1

    I can't wait for part 2

    • @SantosEnoque
      @SantosEnoque  3 роки тому +1

      Shortly

    • @사랑아화이팅
      @사랑아화이팅 3 роки тому +1

      dont wait for it, this guy never finishes anything lol

    • @SantosEnoque
      @SantosEnoque  3 роки тому

      @@사랑아화이팅 hello mate, look I understand your frustration, and I am sorry for that, nevertheless I will be working to fix that, Thank you

    • @alikerivan8716
      @alikerivan8716 3 роки тому

      @@사랑아화이팅 Take it easy. He will finish what hr started I believe

  • @AlexDevL
    @AlexDevL 3 роки тому +1

    WOWOWOWOWOWOW I really really really appreciate this video! Thanks a lot!

  • @camilosierra7932
    @camilosierra7932 3 роки тому +1

    Great Video! Can you explain how to make it null safety?

  • @Maxh
    @Maxh 3 роки тому +1

    I see you 🤲🏾

  • @dgdfacil
    @dgdfacil 3 роки тому

    Afinal Kiba é programador 😍❤️

  • @Juliapak
    @Juliapak 2 роки тому

    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

  • @muhammadafzal237
    @muhammadafzal237 2 роки тому

    I suggest to create payment system for PayPal, Stripe and one of Pakistan's payment system. Thanks

  • @collinrobinson1294
    @collinrobinson1294 3 роки тому

    Hey you do a video with flutter and AWS Amplify

  • @serticode
    @serticode 2 роки тому

    Hey Santos ...
    Thanks for the video ...
    I noticed my stream doesn't close after the docs are gotten what could be the issue ?

  • @aqua_dio
    @aqua_dio 3 роки тому

    thank you the video)
    what name is of video where you show models?

  • @josbexerr5166
    @josbexerr5166 3 роки тому

    Gracias Mister Santos

  • @Juliapak
    @Juliapak 2 роки тому

    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.

    • @Elif-ww1fw
      @Elif-ww1fw Рік тому +1

      were you able to complete?

  • @mainty_app
    @mainty_app 3 роки тому

    Hi, just curious if using firebase as constants is better than putting them in a GetX service ?

  • @fawadmir6419
    @fawadmir6419 3 роки тому

    Can we do the same procedure using Firebase Realtime database . kindly guide about this also.

  • @danyegon5530
    @danyegon5530 3 роки тому

    Can you integrate PayPal/credit card payment system?Will be really great

  • @rajpotdar6903
    @rajpotdar6903 3 роки тому +1

    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?

  • @ziaurrezajoy
    @ziaurrezajoy 2 роки тому

    Thank you so much ❤️

  • @manishmg3994
    @manishmg3994 3 роки тому

    can i use your code without need of any copyright licence, if i can then thanks ,keep creating such content

  • @johnsonokoli4040
    @johnsonokoli4040 3 роки тому

    Can someone help point to the previous video before this stage? where the cart display, user authentications and the rest was done.

  • @eldersonlaborit2290
    @eldersonlaborit2290 3 роки тому

    Nice work

  • @Juliapak
    @Juliapak 2 роки тому

    Does this map the user to the cart? I looked and it doesn't seem so

  • @rifanaldio4640
    @rifanaldio4640 2 роки тому

    love it

  • @maskeypawan2876
    @maskeypawan2876 2 роки тому

    Can't load data from firebase and userheader. Solved all the null errors but still can't load the data . Little help here !!

  • @santoshmaharana4020
    @santoshmaharana4020 3 роки тому

    Can you make Django + Flutter CRUD app? with Secure User Authentication!

  • @marcomazino3135
    @marcomazino3135 3 роки тому

    The products aren't showing for me & don't know how to fix it ??

  • @lesliechiu1437
    @lesliechiu1437 3 роки тому

    Wonderful

  • @alialubady725
    @alialubady725 3 роки тому

    Thanks man

  • @DejAyEnterprise
    @DejAyEnterprise 3 роки тому +1

    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.

  • @Rapshart
    @Rapshart 3 роки тому

    Bro can you use the M-pesa ApI for the payment Option?
    Please it's Important✊

    • @dgdfacil
      @dgdfacil 3 роки тому

      Boa, É possível ?

  • @auliasabril1899
    @auliasabril1899 Рік тому

    Would you like to update the github? Some of your coding is outdated and cannot build the entire program work

  • @leumaix
    @leumaix 3 роки тому

    Hi can u build a pos app for restaurant ?

  • @DejAyEnterprise
    @DejAyEnterprise 3 роки тому

    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.

    • @DejAyEnterprise
      @DejAyEnterprise 3 роки тому +1

      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

    • @hossamTTV
      @hossamTTV 3 роки тому

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

    • @odin_0077
      @odin_0077 2 роки тому

      thas's all

  • @condenzalbonia6673
    @condenzalbonia6673 2 роки тому

    can you do paypal or gcash payment?

  • @camilosierra7932
    @camilosierra7932 3 роки тому

    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

  • @ronishsiwakoti6428
    @ronishsiwakoti6428 3 роки тому

    when is 2nd one comming ?

  • @Picker22
    @Picker22 3 роки тому

    How do learn flutter

  • @drammeh1209
    @drammeh1209 3 роки тому

    Will there be a part three for the admin dashboard?

  • @rifanaldio4640
    @rifanaldio4640 2 роки тому

    can i use web to run this app ?

  • @rahulsingh-cd2ok
    @rahulsingh-cd2ok 3 роки тому +1

    Product not showing..

  • @ricard458
    @ricard458 3 роки тому

    Bonita!

  • @wafaaibrahim7240
    @wafaaibrahim7240 3 роки тому

    Can i make flutter app using only vs code?

  • @abdo_star3
    @abdo_star3 3 роки тому

    can use it without auth ??

  • @Ambrozekwerondaa
    @Ambrozekwerondaa 3 роки тому

    Hi guys, my app doesn't display any products from the firebase database and doesn't show any errors. What can I do?

    • @buu4504
      @buu4504 3 роки тому

      same error pls tell if u solved it

  • @rezashah22
    @rezashah22 3 роки тому +1

    Lets add Paypal and Stripe payment, Thanks

    • @SantosEnoque
      @SantosEnoque  3 роки тому

      Thanks for the suggestion

    • @rezashah22
      @rezashah22 3 роки тому

      @@SantosEnoque Maybe the Invoice Ninja is better option since you can use different payment gateways

    • @DejAyEnterprise
      @DejAyEnterprise 3 роки тому

      @@rezashah22 I second that option of invoice Ninja or any api that allows other payment gateways for wider acceptance and utility. Thx

  • @clemco6
    @clemco6 3 роки тому

    paypal and cash would be nice .

  • @faizalmansor3427
    @faizalmansor3427 3 роки тому

    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!

    • @faizalmansor3427
      @faizalmansor3427 3 роки тому

      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

    • @faizalmansor3427
      @faizalmansor3427 3 роки тому

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

    • @faizalmansor3427
      @faizalmansor3427 3 роки тому +1

      @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

    • @maskeypawan2876
      @maskeypawan2876 2 роки тому

      @@faizalmansor3427 done everything but still no products showing can you help me please I've got college project on Saturday to submit.

    • @Jss1-l7x
      @Jss1-l7x 2 роки тому

      Please someone help us solve this issue🥺😕😭