razorpay / razorpay-flutter

Razorpay Flutter Plugin
MIT License
108 stars 149 forks source link

Example code not Run in flutter #394

Open Naimishimaker opened 4 months ago

Naimishimaker commented 4 months ago

C:\Users\LENOVO\Downloads\razorpay-flutter-master\android\src\main\java\com\razorpay\razorpay_flutter\UpiTurbo.java:10: error: cannot find symbol import com.razorpay.GenericPluginCallback;

symbol: class GenericPluginCallback location: package com.razorpay C:\Users\LENOVO\Downloads\razorpay-flutter-master\android\src\main\java\com\razorpay\razorpay_flutter\UpiTurbo.java:29: error: cannot find symbol checkout = new Checkout().upiTurbo(activity);

symbol: method upiTurbo(Activity) location: class Checkout C:\Users\LENOVO\Downloads\razorpay-flutter-master\android\src\main\java\com\razorpay\razorpay_flutter\UpiTurbo.java:40: error: cannot find symbol checkout.upiTurbo.linkNewUpiAccount(customerMobile, color , new GenericPluginCallback(){

symbol: class GenericPluginCallback location: class UpiTurbo C:\Users\LENOVO\Downloads\razorpay-flutter-master\android\src\main\java\com\razorpay\razorpay_flutter\UpiTurbo.java:41: error: method does not override or implement a method from a supertype

C:\Users\LENOVO\Downloads\razorpay-flutter-master\android\src\main\java\com\razorpay\razorpay_flutter\UpiTurbo.java:51: error: method does not override or implement a method from a supertype

C:\Users\LENOVO\Downloads\razorpay-flutter-master\android\src\main\java\com\razorpay\razorpay_flutter\UpiTurbo.java:40: error: cannot find symbol checkout.upiTurbo.linkNewUpiAccount(customerMobile, color , new GenericPluginCallback(){

symbol: variable upiTurbo location: variable checkout of type Checkout C:\Users\LENOVO\Downloads\razorpay-flutter-master\android\src\main\java\com\razorpay\razorpay_flutter\UpiTurbo.java:73: error: cannot find symbol checkout.upiTurbo.manageUpiAccounts(customerMobile, color , new GenericPluginCallback(){

symbol: class GenericPluginCallback location: class UpiTurbo C:\Users\LENOVO\Downloads\razorpay-flutter-master\android\src\main\java\com\razorpay\razorpay_flutter\UpiTurbo.java:74: error: method does not override or implement a method from a supertype

C:\Users\LENOVO\Downloads\razorpay-flutter-master\android\src\main\java\com\razorpay\razorpay_flutter\UpiTurbo.java:78: error: method does not override or implement a method from a supertype

C:\Users\LENOVO\Downloads\razorpay-flutter-master\android\src\main\java\com\razorpay\razorpay_flutter\UpiTurbo.java:73: error: cannot find symbol checkout.upiTurbo.manageUpiAccounts(customerMobile, color , new GenericPluginCallback(){

symbol: variable upiTurbo location: variable checkout of type Checkout Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 10 errors

FAILURE: Build failed with an exception.

akilan997ak commented 2 months ago

please any one reply this above error

Shiba-Kar commented 1 month ago

Same issue !!