Skip to content

Commit

Permalink
fix #1949
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasbark authored and Remon committed Nov 17, 2024
1 parent 0b9a775 commit 4e845d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ class StripeSdkModule(val reactContext: ReactApplicationContext) : ReactContextB
}

paymentSheetFragment?.paymentSheetIntentCreationCallback?.complete(params)
promise.resolve(null)
}

private fun payWithFpx() {
Expand Down
1 change: 1 addition & 0 deletions packages/stripe_ios/ios/Classes/StripePlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,7 @@ extension StripePlugin {
}

intentCreationCallback(result: params, resolver: resolver(for: result), rejecter: rejecter(for: result))
result(nil)
}

func dangerouslyUpdateCardDetails(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
Expand Down

0 comments on commit 4e845d3

Please sign in to comment.