|
|
|
|
@ -17,6 +17,7 @@ import 'package:hmg_patient_app_new/features/habib_wallet/habib_wallet_view_mode
|
|
|
|
|
import 'package:hmg_patient_app_new/features/payfort/models/apple_pay_request_insert_model.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/features/payfort/payfort_view_model.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/generated/locale_keys.g.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/services/navigation_service.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/widgets/appbar/collapsing_list_view.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/theme/colors.dart';
|
|
|
|
|
import 'package:hmg_patient_app_new/widgets/chip/app_custom_chip_widget.dart';
|
|
|
|
|
@ -319,15 +320,13 @@ class _WalletPaymentConfirmPageState extends State<WalletPaymentConfirmPage> {
|
|
|
|
|
paymentReference: payfortViewModel.payfortCheckPaymentStatusResponseModel!.fortId!,
|
|
|
|
|
onSuccess: (value) {
|
|
|
|
|
LoaderBottomSheet.hideLoader();
|
|
|
|
|
showCommonBottomSheetWithoutHeight(
|
|
|
|
|
context,
|
|
|
|
|
child: Utils.getSuccessWidget(loadingText: "Payment Successful!"),
|
|
|
|
|
showCommonBottomSheetWithoutHeight(getIt.get<NavigationService>().navigatorKey.currentContext!, child: Utils.getSuccessWidget(loadingText: "Payment Successful!"),
|
|
|
|
|
callBackFunc: () {
|
|
|
|
|
habibWalletVM.initHabibWalletProvider();
|
|
|
|
|
habibWalletVM.getPatientBalanceAmount();
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
Navigator.of(context).pop();
|
|
|
|
|
},
|
|
|
|
|
Navigator.of(getIt.get<NavigationService>().navigatorKey.currentContext!).pop();
|
|
|
|
|
Navigator.of(getIt.get<NavigationService>().navigatorKey.currentContext!).pop();
|
|
|
|
|
},
|
|
|
|
|
isFullScreen: false,
|
|
|
|
|
isCloseButtonVisible: true,
|
|
|
|
|
isAutoDismiss: true
|
|
|
|
|
|