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
Great first video! Love using Flutter.
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 : )
Finally working example of stripe, other exaples were not working. Too bad you don't have more videos.
thank you so much, I have watched many videos on stripe and flutter, your is the best. Subscribed!
The only tutorial that worked (Flutter v2.10), please create one using flutter_credit_card, thanks so much for sharing. 👋🏻👋🏻👋🏻👋🏻
That was fast and useful. Thanks
Bro! you made my day. I wish I knew you to tips you man. You are amazing!!!
Thanks heaps man, I've struggling to integrate stripe with my app and I just made my first test stripe payment
Hey first comment on the next big Flutter channel! :)
very nice bro , i subscribing
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?
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?
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
Para publicar na loja é necessário implementar os pagamentos nativos ou posso utilizar o stripe apenas
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?
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
How is it saving the card information for Future Payments? Which parameter is being used for that?
Not sure about it, you can check the package github page github.com/flutter-stripe/flutter_stripe if you find anything there.
Yes, in my stripe payment sheet the card save option is not there.
I think it saves it automatically once it is attached to a customer
The security behind this is scary...
Please explain what you mean.
[error: ''Int'' can't be a subtype of ''String''] Can anyone help please? probably because of amount type
You are probably not sending the amount as a string
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
in initPaymentSheet , change customerId from customerId: jsonResponse['customer'], to customerId: jsonResponse['customer.id'],
Hi, is there any chance to hide the card numbers?
your server functions don't store the card number, Stripe does.
Paypal missing
Hee, bro are you implement this flutter_stripe on IOS app or android app?
It should work on both, I looked at some of the issues, try updating the package version
{success: false, error: Cannot read property 'id' of undefined}
can you please fix this error
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
@@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
I'm also facing the same issue. Pls help
@@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
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.