15

This is the Error Message that is showing I/chromium: [INFO:CONSOLE(1)] "Uncaught TypeError: window.getDeviceDetails is not a function", source: https://api.razorpay.com/v1/checkout/public?version=1.5.16&library=checkoutjs&platform=android (1)

1 Answers1

0

I thing flutter WebView in which Razorpay is running doesn't have access to the getDeviceDetails function. This could be due to a number of reasons:

The function is not defined: Ensure that the getDeviceDetails function is properly defined in your code.

The function is not in scope: If the function is defined, make sure it's in the correct scope. JavaScript functions can only be called from within the scope they're defined in.

The WebView settings: The settings for the WebView might be preventing the function from being called. You might need to enable JavaScript or adjust other settings.

The Razorpay library: There might be an issue with the version of the Razorpay library you're using. Try updating to the latest version or down grade some version.