Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 this issue Jan 24, 2024 · 2 comments

Comments

@krishnamadugu
Copy link

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
Copy link

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

@Bhushan-20
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants