diff --git a/lib/api/services/payment_service.dart b/lib/api/services/payment_service.dart index f771218..93bbdd2 100644 --- a/lib/api/services/payment_service.dart +++ b/lib/api/services/payment_service.dart @@ -11,8 +11,7 @@ class PaymentService { Future processQuickPayWithinBank(Transfer transfer) async { try { await Future.delayed(const Duration(seconds: 3)); // Simulate delay - final response = - await _dio.post('/api/payment/transfer', data: transfer.toJson()); + await _dio.post('/api/payment/transfer', data: transfer.toJson()); return PaymentResponse( isSuccess: true, @@ -20,8 +19,6 @@ class PaymentService { creditedAccount: transfer.toAccount, amount: transfer.amount, currency: "INR", - errorMessage: response.data['errorMessage'], - errorCode: response.data['errorCode'], ); } on DioException catch (e) { log('DioException: ${e.toString()}');