Flutter - Payments with Stripe

Поделиться
HTML-код
  • Опубликовано: 22 окт 2024

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

  • @abdulrasheed2727
    @abdulrasheed2727 3 года назад +2

    great explanation YOU are explaining every thing i saw your flutter videos some people do coding but not showing on emulator they show at last or very late you show every single change on emulator it is easy to understand what is going on THANKS alot

  • @ErSubhradeb
    @ErSubhradeb 3 года назад +3

    This video is very helpful and also helps me to set multicurrency for different countries. and also setting of Google Pay and Apple Pay. I didn't found any article or video where it is mentioned that how much they charging. Thanks a lot.

  • @harguee
    @harguee 3 года назад +4

    Hi man thx for the nice video, Can you please show me how would you pass the amount within urls, lets say if the users is the one enter the amount instead of being hard coded as you did. My understanding is that in this case i would change the http from get to post, but I just would like to see how would you do it.

  • @dhirajkumarpatel938
    @dhirajkumarpatel938 3 года назад +3

    Hello Raja , how to get payment status and payment response after payment to store detail of payment in database ? Please provide sample code . Urgently required ! Thanks in Advance

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

    Hello sir, Could you please help me in This.
    Google pay and Apple pay Buttons are not visible in payment sheet

  • @flutteringit8748
    @flutteringit8748 3 года назад +4

    Thanks for this. It really helped. I have a question though. How do we save the card info via this for later use so that we the user do not need to enter his/her card details again and again?

    • @rajayogan8884
      @rajayogan8884  3 года назад +5

      That's actually a bit tricky, but pretty easy.. I'll make a few more elaborate videos on stripe and flutter. (I have received more requests on this payment topic on my email than all the rest of the video requests I ever got.)

    • @UsamaKarim
      @UsamaKarim 3 года назад +1

      @@rajayogan8884 Yes please make a video on it. Please also elaborate on if someone want to save more than one card

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

    This video was super helpful Raja, thank you!

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

    Great video! Could you kindly show how to add Ideal payments to the current setup?

  • @niknikhil5873
    @niknikhil5873 3 года назад

    hey I'm making an app for a startup what would you recommend razorpay or stripe ? as razorpay supports credit card,laterpay ,upi, debit card etc I'm confused which one to use

  • @GET_1T_D0NE
    @GET_1T_D0NE 3 года назад +1

    function need billing any other method do you have

  • @surendravishwakarma112
    @surendravishwakarma112 3 года назад

    @Raja sir ,I am not able to screen open in mobile application, can you help me? I am stuck last 2 weeks. and able to open payment sheet.

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

    Bro have a question.. can't we change the "add payment info" screen like i have my own payment ui page and i want the user to input their card details there and when he taps on pay button the payment should be done via stripe please can u guide me how can i do that..its urgent actually.Thanks!

  • @SHVMGRX
    @SHVMGRX 3 года назад +4

    How to pass amount while calling the function from dart file?

    • @rajayogan8884
      @rajayogan8884  3 года назад +1

      In the url. I'll show that in the next video. Thanks.

  • @andreteixeirasilva1501
    @andreteixeirasilva1501 3 года назад +1

    when will the Flutter Stripe Connect video come out?

    • @rajayogan8884
      @rajayogan8884  3 года назад +1

      I have the backend part ready. Front-end app made with flutter is yet to be edited. I'm stuck up with work and couldn't get time to edit it. (I can't upload unedited footage, since there is a lot of debugging). Apologies for the inconvenience. I promise to upload that long video in a few days. Thanks for watching and supporting me. Sorry again.

  • @Pismice
    @Pismice 3 года назад

    This method is for in app payment or outside the app ? (Does the store takes 30% with this method ?)

  • @mohanpreetsingh716
    @mohanpreetsingh716 3 года назад

    I noticed you didn't change anything in the ios folder, so does this work on ios as well?

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

    Hey, Thank you for this video, I have one question about stripe , is any possible way stripe use on flutter web with random amount ?

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

    how to get the Successful Payment Info to display?
    like Payment ID, so that i can map with Application Users

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

    For some reason my comments are being deleted. An important/critical part for the success of this tutorial was left out. The firebase function was hard coded with the amount, how does one input this amount dynamically, say at checkout?

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

      Like this one ? - ruclips.net/video/1K2LDIkGI-w/видео.html

  • @akashdalvi9000
    @akashdalvi9000 3 года назад

    Hey man, thank you for posting such great content. Learnt a lot from your video. I am getting pretty good at this stuff so started thinking about doing some freelancing? Do you do any? If not how you earn money to keep this channel running?

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

    Im having a hard time, PlatformException(flutter_stripe initialization failed). I looked for the error but I couldnt find a solution, let me know if you got something like this before. Thanks!

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

    Hey Raja, thanks for the video it's very helpful.
    For some reason, when I pay, it seems to charge twice. In my Stripe logs each time there's two POSTs, each with different id's and each from a different IP address.
    Do you know why this might be happening?

  • @nikeshnayak2584
    @nikeshnayak2584 3 года назад

    Thanks for this raja yogan. Really a good work. very good tutorial of implementation of Stripe Js. Perfect Way to Implement Stripe Js in Flutter. I recommend this video for Stripe.js Integration in Flutter.

  • @kelvinchikwati9136
    @kelvinchikwati9136 3 года назад

    i am having this error "Functions deploy had errors with the following functions:
    stripePayment(us-central1)"

  • @MrAdamGalloway
    @MrAdamGalloway 3 года назад +1

    Great video!

  • @artemis5507
    @artemis5507 3 года назад +1

    Can you Introduce course on flights API in flutter?

  • @Pluralist
    @Pluralist 3 года назад +2

    That was awesome Raja, Thanks :)

    • @rajayogan8884
      @rajayogan8884  3 года назад

      Thanks for watching.. :) Have a nice day.. :)

  • @Vijay-oo4ue
    @Vijay-oo4ue 2 года назад

    Hi is this available for indian users?

  • @austinevick
    @austinevick 3 года назад +2

    Thanks for this

  • @이승현-c2r
    @이승현-c2r 3 года назад +1

    Do you think it does work on Flutter Web as well? Hope to see anyone’s words

    • @kidstoro
      @kidstoro 3 года назад

      not its not, we need flutter web video

  • @ObinnaWGMI
    @ObinnaWGMI 3 года назад +1

    Doesn’t seem to allow typing on payment sheet when using Xcode. Maybe I just did something wrong 😅

    • @rajayogan8884
      @rajayogan8884  3 года назад

      I'll give a video on using this with iOS as well. Sorry about that.

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

    Hi, thanks for explanation, a question, how can i confirm a paid went successful? the fact that it doesn't go to the catch implies that?

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

      Well, it's actually better to run the entire stripe payment processing in a server hosted somewhere. In that case you can generate different error codes and messages when a payment fails.

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

      I was actually doing that here - ruclips.net/video/1K2LDIkGI-w/видео.html

  • @carsubco5644
    @carsubco5644 3 года назад +2

    Error: could not handle the request

    • @romainbenhamou7482
      @romainbenhamou7482 3 года назад +1

      Same error !

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

      Did you figure out the solution? I have the same problem

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

      @@romainbenhamou7482 Did you figure out the solution? I have the same problem

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

    Will you create a video on how to integrate it for the flutter web.

  • @DrSpllinter
    @DrSpllinter 3 года назад +1

    You are the best!

  • @shei69
    @shei69 3 года назад +5

    Can you do a Pay package tutorial for Google and Apple Pay with firebase

    • @rajayogan8884
      @rajayogan8884  3 года назад +1

      Yes, I'll do it when I get some time. (As of now, I've been working on a long video showing how to build a marketplace with flutter + stripe)

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

      @@rajayogan8884 here only atm card only used for payments right? Other than this option available?

  • @muraliKrishnaanimi
    @muraliKrishnaanimi 3 года назад +1

    Can we use this for the flutter web as well?

    • @rajayogan8884
      @rajayogan8884  3 года назад +1

      Honestly flutter web isn't that good.. (Whenever you try to say this out loud, a huge bunch of 'flutter experts' jump out on you and start silly arguments).

  • @aman7066
    @aman7066 3 года назад

    Even after cancelling the payment with the cross button on the sheet, it says successful, Even though it does not process the payment

  • @uzairleo2910
    @uzairleo2910 3 года назад +1

    Thanks alot sir But i have a question why we are not doing a direct request to stripe server for payment instead of first doing request to our server than when getting intent in result then doing request to stripe server kinda confusion ???

    • @rajayogan8884
      @rajayogan8884  3 года назад

      When writing an app for real, it's always safe to avoid making requests directly from the app to any 3rd party service. This will reduce the risk of security being compromised when someone reverse engineers your app.

    • @rajayogan8884
      @rajayogan8884  3 года назад

      If I was writing an app for real with payment gateways, I would have used a firewall on my server to filter out only requests from my.. I mean to filter out requests. In short, secure everything, to prevent leaks. Thanks.

  • @sayedsulimanvideos
    @sayedsulimanvideos 3 года назад

    is this work in pakistan. Mean stripe work in pakistan or not

  • @marcusneo6980
    @marcusneo6980 3 года назад +1

    Hi, May I ask how to get the payment ID after payment successful?

  • @ErSubhradeb
    @ErSubhradeb 3 года назад +1

    Thanks

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

    thank you very much

  • @easyforus915
    @easyforus915 3 года назад

    sir is there is any other way to do this without writing js code

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

    type 'Null' is not a subtype of type 'String'
    I am getting an error like this

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

    thanks ... great video

  • @lazardev.1009
    @lazardev.1009 3 года назад

    thak u sir, great tutorial can u give us a link to ur github repo to get acess to the code??

  • @nikettongare
    @nikettongare 3 года назад +1

    How to do stripe checkout (subscription)

    • @rajayogan8884
      @rajayogan8884  3 года назад

      I've used revenuecat for that. I'll make a video soon on that. Thanks.

  • @bibash3128
    @bibash3128 3 года назад +1

    What about flutter web?

  • @surendravishwakarma112
    @surendravishwakarma112 3 года назад +2

    how to show payment screen without firebase and url

    • @rajayogan8884
      @rajayogan8884  3 года назад

      There is a long video coming out soon with stripe + flutter bro.. (I haven't edited it yet)

    • @surendravishwakarma112
      @surendravishwakarma112 3 года назад

      @@rajayogan8884 thanks for replying.

  • @multiculturalvolleyballbar3467
    @multiculturalvolleyballbar3467 3 года назад +1

    Hey!!! First of all, thank you very much for making this video, you are doing something really nice by putting the effort in to explain everything to us :) On the other hand - please try to be concise and clear about your explanations, the part where you changed something in the Google Cloud Console and then said - "but don't do this", was a little bit confusing. Still, I will appreciate what you are doing and you really helped me out.
    Thumbs up

    • @rajayogan8884
      @rajayogan8884  3 года назад +3

      Yeah, sure. Sorry about that actually. There's another long video coming up that shows how to build a seller portal with stripe and flutter. Stay tuned and thanks for watching.

    • @cartideveloper9608
      @cartideveloper9608 3 года назад

      @@rajayogan8884 still waiting for that video :)

    • @rajayogan8884
      @rajayogan8884  3 года назад

      @@cartideveloper9608 Totally understand.. I fell sick and recovering from a bad fever for the past 2 weeks. Sorry for the inconvenience

    • @rajayogan8884
      @rajayogan8884  3 года назад +1

      @@cartideveloper9608 Actually, I have backend ready (With nodejs & express).. only flutter app video I have to edit.. So kindly wait for a few more days. Thank you.

    • @cartideveloper9608
      @cartideveloper9608 3 года назад

      @@rajayogan8884 no problem I do have one request could you please show each and everything for example how to change prices how to refund how to write the cloud functions how to handle url requests how to save cards for reuse and you mentioned there are many cool features of stripe package and as a developer I would love for you to explore in this long video or do a live stream im asking because I have been wanting to use payment gateway for the longest time and there is no full tutorial available on these who makes things simple. the most advanced developer is the one who can teach the most complex in the simplest straightforward manner and I think you are a very bright developer which is why I am even writing this comment but regardless wishing you the best of health I have my bell turned on just for your channel

  • @albanr8028
    @albanr8028 3 года назад

    Thank you !

  • @srjlove2102
    @srjlove2102 3 года назад +1

    Thanks nice video, can we have a video on flutter web with some complex components.

    • @kidstoro
      @kidstoro 3 года назад

      Yes, there seems to be very basic tutorial on flutter web, and almost all video tutorial and library is only on flutter mobile.

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

    Can someone please explain to me what "pay-as-you-go" is? I have to change this on my firebase server, otherwise it would not work.

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

      please change your firebase plan from spark(free) to blaze(pay-as-you-go) plan. Firebase no longer supports cloud functions in the free plan.Thanks.

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

      @@rajayogan8884 will this cost me anything????

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

      @@XCA7IBUR Pay as you go plan has a free tier as well, as long as the usage is below the free tier, then it won't cost you.

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

      @@rajayogan8884 ok, because i have to make this payment app for a school project, so i am only using it for testing some in-app purchases, so that won't be a problem right? like i dont have to pay anything?

  • @fahadahmed8085
    @fahadahmed8085 3 года назад

    hey how we can give the amount manually instead of hard coded?

    • @rajayogan8884
      @rajayogan8884  3 года назад +1

      We have to pass it along with the url in a post request.. (In a real app, the entire charging step would be handled in a node/python server running separately, you wouldn't want to bring that to the front-end)

    • @fahadahmed8085
      @fahadahmed8085 3 года назад

      @@rajayogan8884 thanks but i am working in a charity app in which user can enter amount according to his capacity.

  • @chuckjackson1762
    @chuckjackson1762 3 года назад

    Thanks for the video.
    But how do I change the amount to amount desired ?

    • @jose-ze8dd
      @jose-ze8dd 3 года назад

      amount: req.query.amount,

    • @chuckjackson1762
      @chuckjackson1762 3 года назад

      @@jose-ze8dd tried this before, but doesn't work under test mode, not sure it would be working for live or not

    • @rajayogan8884
      @rajayogan8884  3 года назад

      @@chuckjackson1762 Updated (and much longer) video coming out soon. Sorry for the inconvenience. Thanks.

  • @taranpreetsinghmanoor
    @taranpreetsinghmanoor 3 года назад +1

    This video is really helpful for me. Please make a video on subscription plan with firebase, stripe and flutter.

    • @rajayogan8884
      @rajayogan8884  3 года назад

      Before that I'm making a flutter, stripe seller marketplace like shopify where people can register as sellers and sell their stuff and others can buy. (Stripe will handle the payments and act as an intermediary).

    • @rajayogan8884
      @rajayogan8884  3 года назад

      Also, for subscriptions I have used Revenuecat for a client some time back, I haven't tried it out on stripe. I'll make a video on it soon. Thanks for watching and supporting sir.

    • @taranpreetsinghmanoor
      @taranpreetsinghmanoor 3 года назад

      @@rajayogan8884 Thanks for responding back quickly. Your are doing great work.

    • @taranpreetsinghmanoor
      @taranpreetsinghmanoor 3 года назад

      @@rajayogan8884 Great. Waiting for your upcoming videos.

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

    how to customize stripe UI?

  • @junaidnasir8716
    @junaidnasir8716 3 года назад

    how to make payout from stripe using flutter ?

  • @surajjadhav898
    @surajjadhav898 3 года назад +1

    Waiting for upcoming videos

    • @rajayogan8884
      @rajayogan8884  3 года назад

      It's actually a very long one.. I'll edit it this week probably.. :)

    • @surajjadhav898
      @surajjadhav898 3 года назад

      @@rajayogan8884 yahh since last two months

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

    source code?

  • @BeautyOfPakistan32
    @BeautyOfPakistan32 3 года назад

    > Manifest merger failed with multiple errors, see logs
    I am getting this error please help me sir

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

    still waiting on the video... I think you gave up on us

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

      this one - ruclips.net/video/1K2LDIkGI-w/видео.html ?

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

    WHERE IS THE SOURCE CODE !!!!!

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

    your videos are like courses that can cost thousands of dollars in some places .. and here you are doing it for free. well done raja

  • @nawalhussein1891
    @nawalhussein1891 3 года назад

    No source code for this?? :(

  • @sachinthasandaruwan9993
    @sachinthasandaruwan9993 3 года назад

    Thank you for the video, How to pass amount while calling the function?

    • @jose-ze8dd
      @jose-ze8dd 3 года назад

      amount: req.query.amount,

  • @ahmedtriaxo3051
    @ahmedtriaxo3051 3 года назад

    bro please make a vedio on stripe that must capture our saved card's details from sharedPreferences and use them for transaction so that we'll not have to insert details of card in every transaction
    Thanks for this vedio!!!

    • @rajayogan8884
      @rajayogan8884  3 года назад

      We need not use sharedPrefs for that. Stripe provides an option to save such data. I'll show that as well in a subsequent video. Thanks.

    • @ahmedtriaxo3051
      @ahmedtriaxo3051 3 года назад

      @@rajayogan8884 sure !! great.

  • @muhL1k
    @muhL1k 3 года назад

    Update: Firebase Funtions arent free anymore so don't try this specific method

  • @kamalCode
    @kamalCode 3 года назад +1

    Flutter Multivendor Ecommerce app course

  • @mauriziomancini8990
    @mauriziomancini8990 3 года назад +1

    I Love you :)

  • @tesfahunkebede208
    @tesfahunkebede208 3 года назад

    you should put your code on github, and Thank You Very Much !!!!!!!!!!

  • @angelsnmen
    @angelsnmen 3 года назад

    Watch at X2 speed

  • @ShubhamKumar-wy4jv
    @ShubhamKumar-wy4jv 3 года назад +1

    If possible can u demonstrate how to do it for connected accounts where vendors are involved.
    I am doing like this
    In my node server in intent creation code I use the below lines of code and able to generate payment id successfully.
    await stripe.paymentIntents.create(
    {
    payment_method_types: ['card'],
    amount: 1000,
    currency: 'usd',
    application_fee_amount: 123,
    }, {
    stripeAccount: 'acct_1Jxxxxxxxxxx',
    },
    function(err, paymentIntent){
    if(err !=null){
    console.log(err)
    }else{
    res.json({
    paymentIntent:paymentIntent.client_secret
    })
    }
    }
    )
    When using the same intent id, when I try to execute the payment sheet in my app, it opens up the sheet the then suddenly closed it out.
    Although when i removed "stripeAccount" parameter from the code and then generated id worked and it successfully opens up the sheet and also able to complete the payment.
    Any idea where I am doing wrong.
    Thanks in advance

    • @rajayogan8884
      @rajayogan8884  3 года назад

      You want to know how to use stripe_connect to receive payments on behalf of a vendor ?

    • @ShubhamKumar-wy4jv
      @ShubhamKumar-wy4jv 3 года назад

      ​@@rajayogan8884 Yes.
      Btw have you figure out what i am doing wrong here.
      In case u want to see my flutter code implementation. Please see the below code
      GestureDetector(
      child:Container(
      height: 60,
      width: 300,
      child: Center(child:
      Text("make Payment"))),
      onTap: ()async{
      await Stripe.instance.initPaymentSheet(paymentSheetParameters: SetupPaymentSheetParameters(
      paymentIntentClientSecret:'pi_1J8R8MITRt0rxxxxxx_secret_6y3hP52m4AsWkxxxxxxx',
      ));
      setState(() {
      });
      displatPaymentSheet();
      },
      ),

      displatPaymentSheet()async{
      await Stripe.instance.presentPaymentSheet(
      parameters: PresentPaymentSheetParameters(
      clientSecret: 'pi_1J8R8MITRt0rq72iYxxxxxx_secret_6y3hP52m4AsWkq2rYxxxxx',
      confirmPayment: true
      ));}

  • @jiren8991
    @jiren8991 3 года назад +1

    Can you make a video about flutter Coinbase commerce, the library is already at pub.dev

    • @rajayogan8884
      @rajayogan8884  3 года назад

      Sure, I've been playing around with crypto recently. I'll make a couple of vides

    • @jiren8991
      @jiren8991 3 года назад

      @@rajayogan8884 please do make it ASAP, I need it