Skip to content

Commit

Permalink
Fix issue with CaptureMethod.Manual on iOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Gutev authored and Alexander Gutev committed Nov 29, 2024
1 parent 9c2e704 commit 575a815
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 575a815

Please sign in to comment.