When I integrate Stripe on a SwiftUI page, after evoking paymentOptionsSheet, I click on a blank area of the page to close the payment process, but paymentOptionsSheet calls onOptionsCompletion, and not PaymentSheetResult in the and does not return canceled in the PaymentSheetResult, see the demo video for details。
Here is my code:
Here is a video :
https://github.com/user-attachments/assets/9e4fc656-ce7c-4f07-9e7f-93dcbc41877e