Questions tagged [flutter-stripe]
45 questions
10
votes
3 answers
Failed to find sync for id=0 in Flutter
I am using flutter_stripe package and have changed android files according to their requirements.
flutter sdk : 3.0.5
flutter_stripe : 4.0.0
device : MacBook Pro m1 pro
What showing in the console is
/SurfaceSyncer(12958): Failed to find sync…

Uvais
- 155
- 1
- 1
- 13
4
votes
2 answers
Execution failed for task ':stripe_android:compileDebugKotlin'
I am facing this issue while integrating stripe payment in my app. I am using kotlin version 1.6.10 and also having minimum SDK version 21.
Error is showing that:
e:…

Affan Minhas
- 41
- 5
3
votes
2 answers
Flutter Stripe CardField not working in web
I am trying to get a CardField from the flutter_stripe package to appear on web. Simply with this code, a card field will display on ios and android. Though once I run on the app on Chrome, a blank line appears with the error, "Bad state: Source…

Deja
- 91
- 7
2
votes
2 answers
Flutter: Stripe payment sheet does not appear
I copied this code from various pieces found on the internet. I followed Stripe's instructions for the integration and now I do not receive any errors:
Use Android 5.0 (API level 21) and above
Use Kotlin version 1.5.0 and above:…

Simone
- 83
- 6
2
votes
0 answers
How to get only token Id from card info using flutter stripe?
I am trying to make a token-id from card information like card number, month, year, and CVC.
This could be possible by the stripe_payment package with the given code:
StripePayment.paymentRequestWithCardForm(
CardFormPaymentRequest())
…

Kafiul Islam
- 86
- 5
2
votes
1 answer
Is it PCI compliant to create PaymentIntent directly from my Flutter app?
I have tried different ways to handle payment via no webhook flow, but the only solution is to call stripe API directly from my dart code as follows:
var response = await http.post(
Uri.parse('https://api.stripe.com/v1/payment_intents'),
…

Marko
- 127
- 9
2
votes
1 answer
flutter_stripe - change CardFormField labels / text color
is there a way to change CardFormField labels & text color?
CardFormField(
backgroundColor: Colors.black,
onCardChanged: (CardFieldInputDetails? change) {
var completed = change != null && change.complete;
},
controller:…

itzhar
- 12,743
- 6
- 56
- 63
1
vote
4 answers
Flutter - Stripe : type 'List' is not a subtype of type 'Map?' error in method_channel_stripe.dart:263
It's my first post here.
I'm struggling with a Stripe integration in a Flutter project and can't find any other similar issue or problem on the web.
I'm using flutter Bloc and Stripe.
Once I run the function await…

Arthur Pellegrin
- 23
- 4
1
vote
0 answers
Flutter Stripe Payment Sheet Google Pay Not Showing Android
I have integrated Stripe into flutter app, using flutter_stripe: ^7.0.0, every thing works fine when showing payment sheet for getting transaction from cards. Now I want to add Google Pay and Apple Pay as well, i have configured all things according…

Musa Khan
- 31
- 8
1
vote
0 answers
googlepay_button_content missing stripe
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
>…

tee Swift
- 11
- 2
1
vote
0 answers
Flutter Stripe and Firebase Initialisation
I'm trying to implement Stripe to my web app using Firebase. I've tried a lot of different ways, but so far nothing works.
I'm trying with flutter_stripe, but when I want to do that:
Future main() async {
…

nativ
- 39
- 1
- 6
1
vote
1 answer
Flutter Stripe payment intent without secret-key
I'm trying to add Stripe payment intent in flutter but the issue is in the new library flutter_stripe: ^7.0.0 requires a secret key but the secret key is handled in the backend API(server).
I did it earlier with stripe_payment but now the library…

Aneeq Shah
- 126
- 3
- 11
1
vote
1 answer
Your Main Activity class com.ryanheise.audioservice.AudioServiceActivity is not a subclass FlutterFragmentActivity
I'm trying to create music app uses just_audio & just_audio_background plugins, App is working fine but I'm trying to integrate Stripe from flutter_stripe plugin. I get an exception when click on checkout button. its look like class…

Arsal Malik
- 13
- 2
1
vote
1 answer
flutter_stripe payment sheet not showing google pay button in mobile
Apple pay button is showing in ios device
but google pay button is not showing in both the devices.
Here is my initPaymentSheet method
await Stripe.instance.initPaymentSheet(
paymentSheetParameters: SetupPaymentSheetParameters(
applePay: true,
…

Tejas
- 11
- 4
1
vote
0 answers
Stripe subscription with Apple Pay
I’m trying to setup a payment method for a subscription on mobile with flutter and .net as backend.
For that here is my flow :
I create a customer and a SetupIntent backend side
I send the details to flutter and it present the payment sheet to…

Dragouf
- 4,676
- 4
- 48
- 55