Stripe Payment Gateway Integration in Flutter

  Рет қаралды 12,222

Snehasis Ghosh

Snehasis Ghosh

Күн бұрын

Пікірлер: 46
@increasedw
@increasedw 8 ай бұрын
Thanks. Worked for me. If you're implementing this in an existing project with a lot of dependencies then chances are you are going to do the chicken dance with Gradle till you find something that works.
@wardirashid8874
@wardirashid8874 8 ай бұрын
I am going through this now 😂😂😂
@kareem5655
@kareem5655 8 ай бұрын
What do you mean ?
@VarunMalik-mo6mr
@VarunMalik-mo6mr 6 ай бұрын
Bro don’t stop to make such a high quality video ❤️
@vishalgandhi9242
@vishalgandhi9242 7 ай бұрын
thanks for your video, i tried from lots of video but this works like charmmmm ;)
@minhthuandang369
@minhthuandang369 10 ай бұрын
thank you so much for this video, can you do the tutorial how to save it on firebase with cloud funtion?
@ConectaIdeas
@ConectaIdeas 7 ай бұрын
Thank you so much, with your help i can do all the installation of needed changes gradle, etc
@bluehydrogen1
@bluehydrogen1 8 ай бұрын
Thanks for tutorial. lots of knowledge
@Hamza-dw4iw
@Hamza-dw4iw 6 ай бұрын
great tutorial
@rahulagarwal968
@rahulagarwal968 10 ай бұрын
Hi. If I have to implement a monthly or yearly subscription model for my mobile application. Then is it mandatory to use In-App-Purchases ? I mean we cannot use an external payment gateway. How Netflix is redirecting users to its website to avoid 30% fees. Please talk about this.
@Snehasis4321
@Snehasis4321 10 ай бұрын
If you accepting payments within your app then you need to pay 30% for each payment this cant be avoided. If you ask users to subscribe from your website you don't need to pay 30%. Remember you cannot redirect the user from your app to website for payment this will violate policy. In case of Netflix they urge users to subscribe through their website.
@rahulagarwal968
@rahulagarwal968 10 ай бұрын
@@Snehasis4321 Thank you ! Bdw if possible please make a video on this in future how to implement or ask user to pay from website. I mean a flutter basic app for both mobile and website. Because 30% fee is a concern.
@CodingSanjeevani
@CodingSanjeevani 7 ай бұрын
thank you so much for this video.
@MrAwaisChand
@MrAwaisChand 5 ай бұрын
i am facing that kind of issue when i run my flutter project or hot restart the app: Error loading .env file or initializing Stripe: Instance of 'FileNotFoundError'
@Snehasis4321
@Snehasis4321 5 ай бұрын
Make sure that you have done this steps - 1) created the .env file and also added your stripe published and secret key on that 2) and also you have added .env in assets of pubspec.yaml file. Just verify once and tell
@askwhykartik
@askwhykartik 8 ай бұрын
thanks brother really helpful
@jordannyambe5563
@jordannyambe5563 6 ай бұрын
Such a great tutorial! Can we get google and Apple Pay integration in Part 2?
@pratikpatrimath4887
@pratikpatrimath4887 6 ай бұрын
Thanks brother.👍
@hassanahmadansari8269
@hassanahmadansari8269 9 ай бұрын
Thank you soo much Sir ❤
@MichelangeloTurillo
@MichelangeloTurillo 9 ай бұрын
Hi thanks for your precious help! I have just a question, why do you use the enableOnBackInvokedCallback ? What is the needs?
@Snehasis4321
@Snehasis4321 9 ай бұрын
enableOnBackInvokedCallback is used for gesture of the back button that we press on the android app to go back or exit the app.
@MichelangeloTurillo
@MichelangeloTurillo 9 ай бұрын
@@Snehasis4321 Ok but if it is set to true the back to the previous route closes the app and it doesn't redirect the user to the previous page. Try the pushNamed() method to see the effect. Furthermore the parameter customerEphemeralKeySecret is not inside the result of the API of the paymentIntent, where do you get this information?
@msrecords6354
@msrecords6354 6 ай бұрын
Worked 🎉
@naveedrajput6991
@naveedrajput6991 4 ай бұрын
can you tell how can we save card info using stripe?????????????
@azeemhussain1109
@azeemhussain1109 9 ай бұрын
Android Gradle plugin requires Java 17 to run. You are currently using Java 11. Your current JDK is located in C:\Program Files\Android\Android Studio\jre You can try some of the following options: - changing the IDE settings. - changing the JAVA_HOME environment variable. - changing `org.gradle.java.home` in `gradle.properties`. I am getting this error
@Snehasis4321
@Snehasis4321 9 ай бұрын
Make sure that you have Java installed on your system, and the error suggest it searching Java from the android folder not the system, so to fix you need to modify file gradle.properties file `org.gradle.java.home=C:\Program Files\{your system Java path}` add this in gradle.properties and try again
@ishasingh6726
@ishasingh6726 9 ай бұрын
what about the production mode like what would be the changes
@Snehasis4321
@Snehasis4321 9 ай бұрын
if you change it to production mode only your publisher key and secret key will change, and you need to replace them with the test ones, else everything will be the same.
@daniyallodhi7765
@daniyallodhi7765 7 ай бұрын
what is your jdk version?
@Snehasis4321
@Snehasis4321 7 ай бұрын
Actually you need to edit this gradle.properties otherwise It will not work. org.gradle.java.home=C:/Program Files/Java/jdk17 [replace with your path] android.useAndroidX=true android.enableJetifier=true org.gradle.jvmargs=-Xmx4G
@daniyallodhi7765
@daniyallodhi7765 7 ай бұрын
@@Snehasis4321 thanks bro it is running now i was not adding the package on Activity file
@karmavisualz
@karmavisualz 7 ай бұрын
anyone receiving a ':flutter_credit_card' namespace error?
@SubramanyanS-x3t
@SubramanyanS-x3t 6 ай бұрын
hey man stripe payment not available inida? i cant signup with india as country dont know why it showing you need invitation
@Snehasis4321
@Snehasis4321 6 ай бұрын
If you have an old verified account then it will work, but for now due to rbi regulations they stopped new account sign up, they will again open after they comply with rbi regulations. You can create test account and key, but cannot deploy it to production. I am also facing the same problem 😔.
@SubramanyanS-x3t
@SubramanyanS-x3t 6 ай бұрын
@@Snehasis4321 iam not looking for production its for learning purpose even for testing they are not allowing i signed with another country and got the test key
@AbhayKumar-op3pb
@AbhayKumar-op3pb 9 ай бұрын
When i click on pay button it goes to browser mode and when comes back it says something went wrong The error i captured in console is aw_browser_terminator
@Snehasis4321
@Snehasis4321 9 ай бұрын
This should not be happening, it should open and intent within the app, can you tell your Android version so that I can replicate the error?
@tallesprog
@tallesprog 9 ай бұрын
please help me , i've tryed everything , but i keed having the error: Android Gradle plugin requires Java 17 to run. You are currently using Java 11. i've no idea how to fix, i've already tryed everything
@smuhammadtayabain507
@smuhammadtayabain507 8 ай бұрын
update the java version
@thodorissamaras2791
@thodorissamaras2791 7 ай бұрын
i had the same problem and i modified app/build.gradle compileOptions { sourceCompatibility JavaVersion.VERSION_17 targetCompatibility JavaVersion.VERSION_17 } kotlinOptions { jvmTarget = '17' } thanks to chat gpt 😅
@sanjaynp2126
@sanjaynp2126 9 ай бұрын
bro here we dont need to implement firebase cloud functions?
@Snehasis4321
@Snehasis4321 9 ай бұрын
No it is not required here
@htuaung3252
@htuaung3252 Ай бұрын
23:34 you dont even mention what it is.
@Snehasis4321
@Snehasis4321 Ай бұрын
Have mentioned in later part of the video. Briefing you again: We need to provide customer id, and client secret for calling the stripe init payment sheet function, for that we are calling stipe api and getting all the response that is required. I used thunder client for showing an example how to send post request to stripe api endpoint.
@htuaung3252
@htuaung3252 Ай бұрын
@@Snehasis4321 Thank you 🙏🌿
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 30 МЛН
Accepting Payments in Flutter Using Stripe | The Right Way
4:05
HeyFlutter․com
Рет қаралды 11 М.
Build a Complete Notes App in Flutter & SQLite
1:00:39
Dear Programmer
Рет қаралды 3,1 М.
Mastering Enums in Flutter: Simplify Your Development
13:19
Creative Blaq Studios
Рет қаралды 13 М.
Flutter Clean Architecture - Full Course
1:14:08
Flutter Mapp
Рет қаралды 87 М.
10x Your Speed With Flutter
8:04
Flutter Mapp
Рет қаралды 88 М.
Flutter State Management with Provider: A Comprehensive Guide
25:48
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН