Skip to content

Commit

Permalink
Fix issue with captureMethod on iOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-gutev committed Nov 29, 2024
1 parent c1bb2dc commit 5f11876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/StripeSdk+PaymentSheet.swift
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,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 5f11876

Please sign in to comment.