Open idipak opened 1 year ago
PaymentFailureResponse function is not giving a failure message instead it is throwing some exceptions.
Flutter Version :
Flutter 3.3.10 • channel stable • https://github.com/flutter/flutter.git Framework • revision 135454af32 (3 months ago) • 2022-12-15 07:36:55 -0800 Engine • revision 3316dd8728 Tools • Dart 2.18.6 • DevTools 2.15.0
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
1. Give the wrong orderId in the option
var options = { 'key': 'key' 'id': bookingId, 'receipt': bookingId, 'order_id': bookingId, 'amount': amount, 'name': 'Name, // 'description': 'Fine T-Shirt', 'retry': {'enabled': true, 'max_count': 1}, 'send_sms_hash': true, 'prefill': {'contact': phone, 'email': email}, 'external': { 'wallets': ['paytm', 'freecharge', 'mobikwik'], }, };
Expected Results
type 'String' is not a subtype of type 'Map<dynamic, dynamic>?' in type cast
hey, were you able to get any workaround for this issue?
PaymentFailureResponse function is not giving a failure message instead it is throwing some exceptions.
Flutter Version :
Flutter 3.3.10 • channel stable • https://github.com/flutter/flutter.git Framework • revision 135454af32 (3 months ago) • 2022-12-15 07:36:55 -0800 Engine • revision 3316dd8728 Tools • Dart 2.18.6 • DevTools 2.15.0
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
Expected Results
type 'String' is not a subtype of type 'Map<dynamic, dynamic>?' in type cast