razorpay / razorpay-flutter

Razorpay Flutter Plugin
MIT License
106 stars 144 forks source link

[INFO:CONSOLE(1)] "Error: <svg> attribute height: Unexpected end of attribute. Expected length, "".", error on implementing latest razor pay flutter plugin version 1.3.6 #367

Open krishnamadugu opened 5 months ago

krishnamadugu commented 5 months ago

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

Description

I want to implement UPI options but i can't see it tried with upi turbo also but not working

Flutter Version :

3.16.2

Steps To Reproduce

Provide a detailed list of steps that reproduce the issue.

  1. added package and followed flutter docs
  2. on calling _razorpay.open(options); function getting this warning in console

[INFO:CONSOLE(1)] "Uncaught TypeError: CheckoutBridge.sendAnalyticsData is not a function" [INFO:CONSOLE(1)] "Error: attribute height: Unexpected end of attribute. Expected length, "".",

Expected Results

I'm expecting it to show all payment options incuding upi option

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

var options = { 'key': 'key val', 'amount': 100, 'name': 'Acme Corp.', 'description': 'Fine T-Shirt', 'retry': {'enabled': true, 'max_count': 1}, 'send_sms_hash': true, 'prefill': { 'contact': '8888888888', 'email': 'test@razorpay.com' }, 'external': { 'wallets': ['paytm'] } }; razorpay.on( Razorpay.EVENT_PAYMENT_ERROR, handlePaymentErrorResponse); razorpay.on(Razorpay.EVENT_PAYMENT_SUCCESS, handlePaymentSuccessResponse); razorpay.on(Razorpay.EVENT_EXTERNAL_WALLET, handleExternalWalletSelected); razorpay.open(options); },

AdhikSarak commented 3 months ago

Did you find the solution? I am facing the same issue

Bhushan-20 commented 3 months ago

Even I am facing same issue, please provide the solution.

joplangmaring commented 1 month ago

even in react also same i can't implement upi.

kaushal3103 commented 1 month ago

did the error solved ?