Stripe payment using flutter_stripe and firebase cloud functions

Поделиться
HTML-код
  • Опубликовано: 1 ноя 2021
  • This video will teach you to create a simple payment system using flutter, stripe, and firebase.
    Connect with me:
    Linkedin: / varun-bhalerao-677a48179
    Github: github.com/varunbhalerao56
    Code: github.com/varunbhalerao56/st...
    #flutter #stripe #firebase #payment #pub #dart

Комментарии • 41

  • @fonghuanting341
    @fonghuanting341 2 года назад

    Great first video! Love using Flutter.

  • @davidwest28.official
    @davidwest28.official Год назад +1

    Hi Varun, I found your video today and it's been very helpful for increasing my understanding of the Stripe/Flutter integration process. Thank you for putting this together and for sharing it. What I liked most about your presentation was that it was concise and well explained so that new developers can understand what's going on too. The process seems to be some kind of a headache, but you've made it seem easy, which shows that you're a good teacher : )

  • @vookash81
    @vookash81 2 года назад

    Finally working example of stripe, other exaples were not working. Too bad you don't have more videos.

  • @khalidabduljaleel
    @khalidabduljaleel 2 года назад +1

    thank you so much, I have watched many videos on stripe and flutter, your is the best. Subscribed!

  •  2 года назад

    The only tutorial that worked (Flutter v2.10), please create one using flutter_credit_card, thanks so much for sharing. 👋🏻👋🏻👋🏻👋🏻

  • @spiderion1
    @spiderion1 2 года назад +1

    That was fast and useful. Thanks

  • @Junior-vm9sh
    @Junior-vm9sh 5 месяцев назад

    Bro! you made my day. I wish I knew you to tips you man. You are amazing!!!

  • @afa6259
    @afa6259 2 года назад +1

    Thanks heaps man, I've struggling to integrate stripe with my app and I just made my first test stripe payment

  • @tadaspetra
    @tadaspetra 2 года назад

    Hey first comment on the next big Flutter channel! :)

  • @fluttermakers
    @fluttermakers Год назад

    very nice bro , i subscribing

  • @jamesr2408
    @jamesr2408 2 года назад +2

    Thanks for the very helpful tutorial. It worked fine.
    But the code does not check for success in payment from Stripe. How do we include this check in the initPaymentSheet() method?

  • @alacritynalozer2577
    @alacritynalozer2577 Год назад

    Hi Varun, Really helpful. Wanted to ask one thing, if we want to add a different payment method other than card, how can we do it?

  • @theplaymakerno1
    @theplaymakerno1 2 года назад

    Hello. I am getting undefined id error. When I click pay for the first time, it happens. When i click it for the second time, it works without a problem

  • @brunobmorais
    @brunobmorais 10 месяцев назад

    Para publicar na loja é necessário implementar os pagamentos nativos ou posso utilizar o stripe apenas

  • @tchuinkwacharles2670
    @tchuinkwacharles2670 2 года назад

    Can I use this to add subscription on my ios and android app or is Google and Apple still blocking third-party payments like stripe?

  • @nayabtahir8454
    @nayabtahir8454 Год назад

    Hello, Nice explanation, I am getting error when I click on pay now button: Error code: FailureCode.Canceled, localizedMessage: The payment flow has been canceled, message: The payment flow has been canceled, stripeErrorCode: null, declineCode: null, type: null). In Stripe logs, payment status is incomplete, I have followed same code, I don't understand the problem, please tell

  • @LearnWithShajeel
    @LearnWithShajeel 2 года назад +1

    How is it saving the card information for Future Payments? Which parameter is being used for that?

    • @varuncodingtips8013
      @varuncodingtips8013  2 года назад

      Not sure about it, you can check the package github page github.com/flutter-stripe/flutter_stripe if you find anything there.

    • @swayamshreemohantyvlogs8126
      @swayamshreemohantyvlogs8126 2 года назад

      Yes, in my stripe payment sheet the card save option is not there.

    • @ashleyhylton802
      @ashleyhylton802 2 года назад

      I think it saves it automatically once it is attached to a customer

  • @alltruevalue
    @alltruevalue Год назад +1

    The security behind this is scary...

    • @Junior-vm9sh
      @Junior-vm9sh 5 месяцев назад

      Please explain what you mean.

  • @monappliga8937
    @monappliga8937 2 года назад +1

    [error: ''Int'' can't be a subtype of ''String''] Can anyone help please? probably because of amount type

    • @theplaymakerno1
      @theplaymakerno1 2 года назад

      You are probably not sending the amount as a string

  • @Afrojack278
    @Afrojack278 2 года назад

    Hi Varun, I received this error on the jsonResponse which is [log] {success: false, error: Cannot read properties of undefined (reading 'id')} , Im not sure what is the problem, I've followed your step and still got an error

    • @nonnon-6698
      @nonnon-6698 Год назад

      in initPaymentSheet , change customerId from customerId: jsonResponse['customer'], to customerId: jsonResponse['customer.id'],

  • @alexandroschristou6710
    @alexandroschristou6710 2 года назад

    Hi, is there any chance to hide the card numbers?

    • @chind0na
      @chind0na 9 месяцев назад

      your server functions don't store the card number, Stripe does.

  • @haidernaqvi87
    @haidernaqvi87 Год назад

    Paypal missing

  • @swayamshreemohantyvlogs8126
    @swayamshreemohantyvlogs8126 2 года назад

    Hee, bro are you implement this flutter_stripe on IOS app or android app?

    • @varunbhalerao1106
      @varunbhalerao1106 2 года назад

      It should work on both, I looked at some of the issues, try updating the package version

  • @vibz4182
    @vibz4182 2 года назад +1

    {success: false, error: Cannot read property 'id' of undefined}

    • @vibz4182
      @vibz4182 2 года назад

      can you please fix this error

    • @varuncodingtips8013
      @varuncodingtips8013  2 года назад

      you might be getting this error because the Id cannot be found on the customer, have you made sure that the code works? Please check the github

    • @vibz4182
      @vibz4182 2 года назад

      @@varuncodingtips8013 I tested your code, when I press the button for the first time I get this error, then when I press a second time it works. I think there is a problem when checking the existence of the client

    • @arulguru27
      @arulguru27 2 года назад

      I'm also facing the same issue. Pls help

    • @varunbhalerao1106
      @varunbhalerao1106 2 года назад

      @@vibz4182 sry, it is working fine for me, but let me take a look and if there I find the issue I will let you know

  • @Simon-tv8lq
    @Simon-tv8lq 9 месяцев назад

    Hello, can I put the payment process in my cloud function while using the checkout sheet from flutter-stripe? I want to add some custom actions such as adding a transaction record or updating user account balance.