razorpay / razorpay-flutter

Razorpay Flutter Plugin
MIT License
106 stars 144 forks source link

Razor Pay Problem #370

Open sanju5411 opened 4 months ago

sanju5411 commented 4 months ago

Please provide all the information requested. Issues that do not follow this format are likely to stall.

Description

The plugin razorpay_flutter doesn't have a main class defined in C:\Users\User\AppData\Local\Pub\Cache\hosted\pub.dev\razorpay_flutter-1.3.5\android\src\main\java\com\razorpay\razorpay_flutter\RazorpayFlutterPlugin.java or C:\Users\User\AppData\Local\Pub\Cache\hosted\pub.dev\razorpay_flutter-1.3.5\android\src\main\kotlin\com\razorpay\razorpay_flutter\RazorpayFlutterPlugin.kt. This is likely to due to an incorrect androidPackage: com.razorpay.razorpay_flutter or mainClass entry in the plugin's pubspec.yaml. If you are the author of this plugin, fix the androidPackage entry or move the main class to any of locations used above. Otherwise, please contact the author of this plugin and consider using a different plugin in the meanwhile.

Flutter Version :

Run flutter version in your terminal and copy the results here.

Xcode Version :

Open Xcode > Go to About Xcode > copy the Xcode version here.

Cocoapod Version :

Go to iOS folder > open podfile.lock > copy the razorpay-pod version and razorpay_fluttera version.

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

1. 2.

Expected Results

Describe what you expected to happen.

Snack, code example, screenshot, or link to a repository:

Please provide a link to a repository on GitHub, or provide a minimal code example that reproduces the problem. You may provide a screenshot of the application if you think it is relevant to your bug report. Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve

vivekshindhe commented 4 months ago

Hey @sanju5411, can you please mention the flutter & dart versions used by your project? We've been unable to reproduce the issue.