Skip to content
Sachin Nautiyal edited this page Jun 1, 2021 · 5 revisions

This is a WIP FAQ for Razorpay | Frequently asked questions about the Razorpay Checkout

FAQ

Question: What is order id and how to implement it?

Answer: Order id helps you associate every payment with an order, thus preventing multiple payments.

For more details and integration process follow this link.

Question: What should you do if you see the following error?

dyld: Library not loaded: @rpath/libswiftCoreGraphics.dylib
  Referenced from: /private/var/mobile/Containers/Bundle/Application/696F0EAD-E2A6-4C83-876F-07E3D015D167/<Your_App>.app/Frameworks/<Framework_Name>.framework/<Framework_Name>
  Reason: image not found 

Answer:

  1. To work around this issue, set the Embedded Content Contains Swift Code (EMBEDDED_CONTENT_CONTAINS_SWIFT) build setting to YES in your app.

For more info, you can follow this link - https://developer.apple.com/library/archive/qa/qa1881/_index.html

  1. Ensure that you have the framework added in Frameworks, Libraries, and Embed Content under Target settings - General. Change Embed status from - 'Do not Embed' to 'Embed & Sign'.

Question: Is Capacitor supported in Razorpay Cordova Plugin?

Answer: No we don't support Capacitor in our plugin as it has its own demerits - follow this link for more details.

Question: What is the process for raising a request for a new feature?

Answer: If you think of a new feature that can add more values or if that should be included in our plugin, please raise a pull request or create a feature request from New Issue -> Feature Request.

Question: In the new M1 MacBook laptop I am not able to compile the React Native Razorpay plugin for release mode?

Answer: There are new changes introduced in Xcode 12, due to which you can see this issue in your build process.

  1. Use Rosetta 2 for launching the app on your Mac.

  2. Add these lines to Podfile -

post_install do |installer|
    installer.pods_project.build_configurations.each do |config|
      config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64"
    end
  End

Click here for more details.

Follow this link if you want more FAQ's or if your issue is not reported here - https://razorpay.com/docs/payment-gateway/ios-integration/faq/

Clone this wiki locally