iOS presentPaymentSheet errantly returns early with RN 0.85/Expo 56
Describe the bug When using the latest version of the SDK alongside Expo 56 + RN 0.85, this promise returns immediately with an error despite the sheet still being presented successfully.
To Reproduce Steps to reproduce the behavior:
- Bootstrap a project with Expo 56 and the latest Stripe RN SDK
- Call
initPaymentSheetfollowed bypresentPaymentSheet - Observe that
presentPaymentSheetimmediately returns with an error "TypeError: Cannot read property 'paymentOption' of undefined" yet the sheet still remains presented correctly.
Expected behavior The function should work as before and not return until the sheet is dismissed either from a successful payment flow, a cancellation, or legitimate error.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: Various iPhones
- OS: iOS 26
- Browser [e.g. stock browser, safari]
- Version 0.56.1
Additional context I have not tested this on Android so unknown if the same issue applies there.
Hi @rfree18, are you able to reproduce this issue in a minimal project? I tried to reproduce this in a dummy project with the latest SDK version (0.65.1), RN 0.85, and Expo 56 on an iOS 26.1 simulator, but I was unable to. In the meantime, I'd love to point you to our support channel on our Discord, where we have engineers ready to help you 24/5. Thank you!
I spent quite a bit of time debugging this and attempting to reproduce this in a sample project, but I luckily tracked down the problem to a recently fixed issue: https://github.com/expo/expo/issues/45592. After updating babel-preset-expo to 56.0.8, this is working properly again!