diff --git a/lib/razorpay_flutter.dart b/lib/razorpay_flutter.dart index 6581b28..55ef167 100644 --- a/lib/razorpay_flutter.dart +++ b/lib/razorpay_flutter.dart @@ -165,7 +165,7 @@ class PaymentFailureResponse { static PaymentFailureResponse fromMap(Map map) { var code = map["code"] as int?; var message = map["message"] as String?; - var responseBody; + var responseBody = map["responseBody"]; if (responseBody is Map) { return PaymentFailureResponse(code, message, responseBody);