diff --git a/packages/stripe_ios/ios/Classes/Stripe Sdk/StripeSdk+PaymentSheet.swift b/packages/stripe_ios/ios/Classes/Stripe Sdk/StripeSdk+PaymentSheet.swift index 99ba2b78..649b0b05 100644 --- a/packages/stripe_ios/ios/Classes/Stripe Sdk/StripeSdk+PaymentSheet.swift +++ b/packages/stripe_ios/ios/Classes/Stripe Sdk/StripeSdk+PaymentSheet.swift @@ -187,7 +187,7 @@ extension StripeSdk { resolve(Errors.createError(ErrorType.Failed, "You must provide `intentConfiguration.confirmHandler` if you are not passing an intent client secret")) return } - let captureMethodString = intentConfiguration["captureMethod"] as? String + let captureMethodString = modeParams["captureMethod"] as? String let intentConfig = buildIntentConfiguration( modeParams: modeParams, paymentMethodTypes: intentConfiguration["paymentMethodTypes"] as? [String],