Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RN iOS application crashes when using ApplePay to place an order #398

Open
dfragosodiaz opened this issue Jul 6, 2023 · 1 comment
Open

Comments

@dfragosodiaz
Copy link

Hello,
Our React Native iOS app is crashing when the user tries to place an order using Apple Pay. We have been using this library and Apple Pay has been very stable for the past few years until last week. The app crashes when we attempt to retrieve the encrypted token from Apple Pay.

Exception error: 'ReactNativePayments.m line 74 __28-[ReactNativePayments show:]_block_invoke Application tried to present a nil modal view controller on target.'

We have already checked our payment processing certificate, and it is not expired. Additionally, all our Apple entitlements keys remain unchanged.
Does anyone have any idea of why this might be happening? Did something change lately with this package that might be causing problems interacting with ApplePay?

@rajarshi-singh
Copy link

@dfragosodiaz and our team seemed to have figured out the root cause, it is problematic however that the error message does not provide any context what is going wrong. We were missing an important parameter while making the request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants