Stripe.instance.confirmSetupIntent throws PaymentMethodError.cardPaymentMissingParams on iOS only #900
Labels
blocked
This issue is blocked by an external dependency issue
bug
Something isn't working
Stripe sdk
Issues related to the Stripe sdk
To reproduce: Works on Android. Throws on iOS.
Probably a bug is here:
Currently we only check for
paymentMethodData?["token"]
in line 159.And then
PaymentMethodError.cardPaymentMissingParams
is thrown in line 166.We should add similar check for
paymentMethodData?["paymentMethodId"]
like token check in lane 159.flutter_stripe/packages/stripe_ios/ios/Classes/Stripe Sdk/PaymentMethodFactory.swift
Lines 159 to 167 in 6e26f1c
The text was updated successfully, but these errors were encountered: