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
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.
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?
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.)
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.
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
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!
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
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).
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.
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!
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?
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.
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 ???
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.
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.
@@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?
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?
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.
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)
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?
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
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 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.
@@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
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).
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.
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!!!
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 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(); }, ),
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
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.
Hello sir, Could you please help me in This.
Google pay and Apple pay Buttons are not visible in payment sheet
Error: could not handle the request
Same error !
Did you figure out the solution? I have the same problem
@@romainbenhamou7482 Did you figure out the solution? I have the same problem
function need billing any other method do you have
This video was super helpful Raja, thank you!
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?
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.)
@@rajayogan8884 Yes please make a video on it. Please also elaborate on if someone want to save more than one card
when will the Flutter Stripe Connect video come out?
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.
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
How to pass amount while calling the function from dart file?
In the url. I'll show that in the next video. Thanks.
@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.
Hi is this available for indian users?
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!
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
Can you Introduce course on flights API in flutter?
I noticed you didn't change anything in the ios folder, so does this work on ios as well?
Can we use this for the flutter web as well?
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).
Hi, May I ask how to get the payment ID after payment successful?
Please watch out for my next video (yet to be released) sir. (I have shown how to do that).
@@rajayogan8884 that would be great.
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?
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.
I was actually doing that here - th-cam.com/video/1K2LDIkGI-w/w-d-xo.html
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!
This method is for in app payment or outside the app ? (Does the store takes 30% with this method ?)
That was awesome Raja, Thanks :)
Thanks for watching.. :) Have a nice day.. :)
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?
Like this one ? - th-cam.com/video/1K2LDIkGI-w/w-d-xo.html
how to get the Successful Payment Info to display?
like Payment ID, so that i can map with Application Users
Do you think it does work on Flutter Web as well? Hope to see anyone’s words
not its not, we need flutter web video
is this work in pakistan. Mean stripe work in pakistan or not
Will you create a video on how to integrate it for the flutter web.
What about flutter web?
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.
Doesn’t seem to allow typing on payment sheet when using Xcode. Maybe I just did something wrong 😅
I'll give a video on using this with iOS as well. Sorry about that.
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 ???
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.
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.
Hey, Thank you for this video, I have one question about stripe , is any possible way stripe use on flutter web with random amount ?
Can you do a Pay package tutorial for Google and Apple Pay with firebase
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)
@@rajayogan8884 here only atm card only used for payments right? Other than this option available?
You are the best!
How to do stripe checkout (subscription)
I've used revenuecat for that. I'll make a video soon on that. Thanks.
how to show payment screen without firebase and url
There is a long video coming out soon with stripe + flutter bro.. (I haven't edited it yet)
@@rajayogan8884 thanks for replying.
i am having this error "Functions deploy had errors with the following functions:
stripePayment(us-central1)"
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.
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.
@@rajayogan8884 will this cost me anything????
@@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.
@@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?
Great video! Could you kindly show how to add Ideal payments to the current setup?
source code?
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?
sir is there is any other way to do this without writing js code
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.
how to customize stripe UI?
Great video!
hey how we can give the amount manually instead of hard coded?
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)
@@rajayogan8884 thanks but i am working in a charity app in which user can enter amount according to his capacity.
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?
type 'Null' is not a subtype of type 'String'
I am getting an error like this
Thanks for the video.
But how do I change the amount to amount desired ?
amount: req.query.amount,
@@jose-ze8dd tried this before, but doesn't work under test mode, not sure it would be working for live or not
@@chuckjackson1762 Updated (and much longer) video coming out soon. Sorry for the inconvenience. Thanks.
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
No source code for this?? :(
thak u sir, great tutorial can u give us a link to ur github repo to get acess to the code??
WHERE IS THE SOURCE CODE !!!!!
> Manifest merger failed with multiple errors, see logs
I am getting this error please help me sir
Thanks nice video, can we have a video on flutter web with some complex components.
Yes, there seems to be very basic tutorial on flutter web, and almost all video tutorial and library is only on flutter mobile.
Thanks for this
Thanks for watching.. :)
how to make payout from stripe using flutter ?
thank you very much
Thanks
still waiting on the video... I think you gave up on us
this one - th-cam.com/video/1K2LDIkGI-w/w-d-xo.html ?
Thank you for the video, How to pass amount while calling the function?
amount: req.query.amount,
thanks ... great video
Waiting for upcoming videos
It's actually a very long one.. I'll edit it this week probably.. :)
@@rajayogan8884 yahh since last two months
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
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.
@@rajayogan8884 still waiting for that video :)
@@cartideveloper9608 Totally understand.. I fell sick and recovering from a bad fever for the past 2 weeks. Sorry for the inconvenience
@@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.
@@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
Even after cancelling the payment with the cross button on the sheet, it says successful, Even though it does not process the payment
Thank you !
This video is really helpful for me. Please make a video on subscription plan with firebase, stripe and flutter.
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).
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.
@@rajayogan8884 Thanks for responding back quickly. Your are doing great work.
@@rajayogan8884 Great. Waiting for your upcoming videos.
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!!!
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.
@@rajayogan8884 sure !! great.
Flutter Multivendor Ecommerce app course
I Love you :)
Update: Firebase Funtions arent free anymore so don't try this specific method
you should put your code on github, and Thank You Very Much !!!!!!!!!!
Watch at X2 speed
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
You want to know how to use stripe_connect to receive payments on behalf of a vendor ?
@@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
));}
Can you make a video about flutter Coinbase commerce, the library is already at pub.dev
Sure, I've been playing around with crypto recently. I'll make a couple of vides
@@rajayogan8884 please do make it ASAP, I need it