|
|
|
@ -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 {
|
|
|
|
|