You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Describe the bug
In the Flutter Stripe lib we got the following issue
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.stripe-react-native/ios/PaymentMethodFactory.swift
Line 158 in 3d32e7d
User created a pull request on our lib but since we sync the SDK with this repo it would be better to fix it here. Pull request: https://github.com/flutter-stripe/flutter_stripe/pull/901/files
The text was updated successfully, but these errors were encountered: