pull/393/head
haroon amjad 1 month ago
parent c774109abc
commit e5a73de357

@ -47,7 +47,7 @@ class FamilyFileRequest {
"SharedPatientIdentificationID": sharedPatientIdentificationId, "SharedPatientIdentificationID": sharedPatientIdentificationId,
"SearchType": searchType, "SearchType": searchType,
"SharedPatientMobileNumber": sharedPatientMobileNumber, "SharedPatientMobileNumber": sharedPatientMobileNumber,
"zipCode": zipCode, "ZipCode": zipCode,
"isRegister": isRegister, "isRegister": isRegister,
"PatientStatus": patientStatus, "PatientStatus": patientStatus,
"isDentalAllowedBackend": isDentalAllowedBackend, "isDentalAllowedBackend": isDentalAllowedBackend,

@ -858,7 +858,7 @@ class _AppointmentPaymentPageState extends State<AppointmentPaymentPage> {
print("onBrowserLoadStart"); print("onBrowserLoadStart");
print(url); print(url);
if (selectedPaymentMethod == "tamara") { if (selectedPaymentMethod.toLowerCase() == "tamara") {
if (Platform.isAndroid) { if (Platform.isAndroid) {
Uri uri = new Uri.dataFromString(url); Uri uri = new Uri.dataFromString(url);
tamaraPaymentStatus = uri.queryParameters['status']!; tamaraPaymentStatus = uri.queryParameters['status']!;
@ -897,7 +897,7 @@ class _AppointmentPaymentPageState extends State<AppointmentPaymentPage> {
void checkPaymentStatus() async { void checkPaymentStatus() async {
LoaderBottomSheet.showLoader(loadingText: LocaleKeys.checkingPaymentStatusPleaseWait.tr(context: context)); LoaderBottomSheet.showLoader(loadingText: LocaleKeys.checkingPaymentStatusPleaseWait.tr(context: context));
if (selectedPaymentMethod == "TAMARA") { if (selectedPaymentMethod.toLowerCase() == "tamara") {
await payfortViewModel.checkTamaraPaymentStatus( await payfortViewModel.checkTamaraPaymentStatus(
transactionID: transID, transactionID: transID,
onSuccess: (apiResponse) async { onSuccess: (apiResponse) async {

@ -781,7 +781,7 @@ class _ImmediateLiveCarePaymentPageState extends State<ImmediateLiveCarePaymentP
print("onBrowserLoadStart"); print("onBrowserLoadStart");
print(url); print(url);
if (selectedPaymentMethod == "TAMARA") { if (selectedPaymentMethod.toLowerCase() == "tamara") {
if (Platform.isAndroid) { if (Platform.isAndroid) {
Uri uri = new Uri.dataFromString(url); Uri uri = new Uri.dataFromString(url);
tamaraPaymentStatus = uri.queryParameters['status'] ?? ""; tamaraPaymentStatus = uri.queryParameters['status'] ?? "";
@ -821,7 +821,7 @@ class _ImmediateLiveCarePaymentPageState extends State<ImmediateLiveCarePaymentP
void checkPaymentStatus() async { void checkPaymentStatus() async {
LoaderBottomSheet.showLoader(loadingText: LocaleKeys.checkingPaymentStatusPleaseWait.tr()); LoaderBottomSheet.showLoader(loadingText: LocaleKeys.checkingPaymentStatusPleaseWait.tr());
if (selectedPaymentMethod == "TAMARA") { if (selectedPaymentMethod.toLowerCase() == "tamara") {
await payfortViewModel.checkTamaraPaymentStatus( await payfortViewModel.checkTamaraPaymentStatus(
transactionID: transID, transactionID: transID,
onSuccess: (apiResponse) async { onSuccess: (apiResponse) async {

Loading…
Cancel
Save