Flutter - Payments with Stripe

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ธ.ค. 2024

ความคิดเห็น •

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

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

  • @rehaangautamofficial
    @rehaangautamofficial 3 ปีที่แล้ว +1

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

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

  • @GET_1T_D0NE
    @GET_1T_D0NE 3 ปีที่แล้ว +1

    function need billing any other method do you have

  • @mitchellknox8094
    @mitchellknox8094 2 ปีที่แล้ว

    This video was super helpful Raja, thank you!

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

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

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

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

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

  • @Vijay-oo4ue
    @Vijay-oo4ue 2 ปีที่แล้ว

    Hi is this available for indian users?

  • @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!

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

  • @artemis5507
    @artemis5507 3 ปีที่แล้ว +1

    Can you Introduce course on flights API in flutter?

  • @mohanpreetsingh716
    @mohanpreetsingh716 3 ปีที่แล้ว

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

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

  • @marcusneo6980
    @marcusneo6980 3 ปีที่แล้ว +1

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

    • @rajayogan8884
      @rajayogan8884  3 ปีที่แล้ว

      Please watch out for my next video (yet to be released) sir. (I have shown how to do that).

    • @shaifmohammadreasatdihan2706
      @shaifmohammadreasatdihan2706 3 ปีที่แล้ว

      @@rajayogan8884 that would be great.

  • @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 - th-cam.com/video/1K2LDIkGI-w/w-d-xo.html

  • @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!

  • @Pismice
    @Pismice 3 ปีที่แล้ว

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

  • @Pluralist
    @Pluralist 3 ปีที่แล้ว +2

    That was awesome Raja, Thanks :)

    • @rajayogan8884
      @rajayogan8884  3 ปีที่แล้ว

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

  • @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 ? - th-cam.com/video/1K2LDIkGI-w/w-d-xo.html

  • @shaifmohammadreasatdihan2706
    @shaifmohammadreasatdihan2706 3 ปีที่แล้ว

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

  • @이승현-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

  • @sayedsulimanvideos
    @sayedsulimanvideos 3 ปีที่แล้ว

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

  • @kuldeepsaini135
    @kuldeepsaini135 2 ปีที่แล้ว

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

  • @bibash3128
    @bibash3128 3 ปีที่แล้ว +1

    What about flutter web?

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

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

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

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

  • @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 2 ปีที่แล้ว

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

  • @DrSpllinter
    @DrSpllinter 3 ปีที่แล้ว +1

    You are the best!

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

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

  • @kelvinchikwati9136
    @kelvinchikwati9136 3 ปีที่แล้ว

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

  • @XCA7IBUR
    @XCA7IBUR 3 ปีที่แล้ว

    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  3 ปีที่แล้ว +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 3 ปีที่แล้ว

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

    • @rajayogan8884
      @rajayogan8884  3 ปีที่แล้ว +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 3 ปีที่แล้ว

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

  • @TheMaffeu
    @TheMaffeu 2 ปีที่แล้ว

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

  • @rashidkhan1845
    @rashidkhan1845 ปีที่แล้ว

    source code?

  • @ianbilello2202
    @ianbilello2202 3 ปีที่แล้ว +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?

  • @easyforus915
    @easyforus915 3 ปีที่แล้ว

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

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

  • @qamarabbasi4695
    @qamarabbasi4695 2 ปีที่แล้ว

    how to customize stripe UI?

  • @MrAdamGalloway
    @MrAdamGalloway 3 ปีที่แล้ว +1

    Great video!

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

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

  • @astra4351
    @astra4351 3 ปีที่แล้ว

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

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

  • @trinib1
    @trinib1 3 ปีที่แล้ว

    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?? :(

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

  • @majd4405
    @majd4405 2 ปีที่แล้ว

    WHERE IS THE SOURCE CODE !!!!!

  • @BeautyOfPakistan32
    @BeautyOfPakistan32 3 ปีที่แล้ว

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

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

  • @austinevick
    @austinevick 3 ปีที่แล้ว +2

    Thanks for this

  • @junaidnasir8716
    @junaidnasir8716 3 ปีที่แล้ว

    how to make payout from stripe using flutter ?

  • @Juliapak
    @Juliapak 2 ปีที่แล้ว

    thank you very much

  • @ErSubhradeb
    @ErSubhradeb 3 ปีที่แล้ว +1

    Thanks

  • @cartideveloper9608
    @cartideveloper9608 2 ปีที่แล้ว +1

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

    • @rajayogan8884
      @rajayogan8884  2 ปีที่แล้ว

      this one - th-cam.com/video/1K2LDIkGI-w/w-d-xo.html ?

  • @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,

  • @maindev598
    @maindev598 3 ปีที่แล้ว

    thanks ... great video

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

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

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

  • @albanr8028
    @albanr8028 3 ปีที่แล้ว

    Thank you !

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

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

  • @kamalCode
    @kamalCode 3 ปีที่แล้ว +1

    Flutter Multivendor Ecommerce app course

  • @mauriziomancini8990
    @mauriziomancini8990 3 ปีที่แล้ว +1

    I Love you :)

  • @muhL1k
    @muhL1k 3 ปีที่แล้ว

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

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