question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unknown type name 'RazorpayCheckout'

See original GitHub issue

Razorpay Package Version : 2.2.4

Xcode Version (iOS) : 12.4

Razorpay-pod version (iOS) : 2.2.4

What happened:

When building the app through Xcode it is throwing error : Unknown type name 'RazorpayCheckout'; did you mean 'RNRazorpayCheckout'

Steps To Reproduce

  1. Intsall the package
  2. change the ios version in podfile to 10.0
  3. pod install
  4. Build the app

Screenshot Link for the same: https://ibb.co/7W1nkDz

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Nautiyalsachincommented, Mar 22, 2021

Closing the issue in that case, feel free to add more comments here.

0reactions
ramprasadAnandcommented, Jul 27, 2021

We are able to compile without any errors, with below versions.

“dependencies”: { “@react-native-community/cli”: “^5.0.1”, “react”: “17.0.1”, “react-native”: “0.64.2”, “react-native-base64”: “^0.2.1”, “react-native-eject”: “^0.1.2”, “react-native-elements”: “^3.4.2”, “react-native-razorpay”: “^2.2.7”, “typescript”: “^4.3.4” },

Can you try with the latest versions of react-native and razorpay libraries and let us know if you still face the errors ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unknown type name 'RazorpayCheckout'; did you mean ...
I was able to build the sample app with the versions given in package.json but when I upgraded the react native and react...
Read more >
Unknown type name 'RazorpayCheckout'; did you mean ...
I am using react-native integrating Razorpay Payment Gateway. Version used : "react-native-razorpay": "^2.2.4". Perfectly works with Android, ...
Read more >
razorpay - Bountysource
Unknown type name 'RazorpayCheckout'; did you mean 'RNRazorpayCheckout'? $ 0. Created 1 year ago in razorpay/react-native-razorpay with 3 comments. Getting ...
Read more >
react-native-razorpay - npm
Call RazorpayCheckout.open method with the payment options . The method returns a JS Promise where then part corresponds to a successful payment ...
Read more >
Problem with 'error: unknown type name' : r/C_Programming
Hello, I have the following problem. I have typedef alias: typedef cx_ecfp_private_key_t privatekey_t; // In header file 'crypto.h' I also ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found