|
|
|
@ -9,20 +9,23 @@ import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart';
|
|
|
|
|
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
|
|
|
|
|
|
|
|
|
|
class MyInAppBrowser extends InAppBrowser {
|
|
|
|
|
// static String SERVICE_URL =
|
|
|
|
|
// 'https://hmgwebservices.com/PayFortWeb/pages/SendPayFortRequest.aspx'; // Payfort Payment Gateway URL UAT
|
|
|
|
|
|
|
|
|
|
static String SERVICE_URL =
|
|
|
|
|
'https://hmgwebservices.com/PayFortWeb/pages/SendPayFortRequest.aspx'; // Payfort Payment Gateway URL UAT
|
|
|
|
|
'https://hmgwebservices.com/PayFortWebLive/pages/SendPayFortRequest.aspx'; //Payfort Payment Gateway URL LIVE
|
|
|
|
|
|
|
|
|
|
// static String SERVICE_URL =
|
|
|
|
|
// 'https://hmgwebservices.com/PayFortWebLive/pages/SendPayFortRequest.aspx'; //Payfort Payment Gateway URL LIVE
|
|
|
|
|
// static String PREAUTH_SERVICE_URL =
|
|
|
|
|
// 'https://hmgwebservices.com/PayFortWeb/pages/SendPayFortRequest.aspx'; // Payfort PreAuth Payment Gateway URL UAT
|
|
|
|
|
|
|
|
|
|
static String PREAUTH_SERVICE_URL =
|
|
|
|
|
'https://hmgwebservices.com/PayFortWeb/pages/SendPayFortRequest.aspx'; // Payfort PreAuth Payment Gateway URL UAT
|
|
|
|
|
'https://hmgwebservices.com/PayFortWebLive/pages/SendPayFortRequest.aspx'; //Payfort PreAuth Payment Gateway URL Live Store
|
|
|
|
|
|
|
|
|
|
// static String PREAUTH_SERVICE_URL =
|
|
|
|
|
// 'https://hmgwebservices.com/PayFortWebLive/pages/SendPayFortRequest.aspx'; //Payfort PreAuth Payment Gateway URL Live Store
|
|
|
|
|
// static String PRESCRIPTION_PAYMENT_WITH_ORDERID =
|
|
|
|
|
// 'https://uat.hmgwebservices.com/epharmacy/checkout/OpcCompleteRedirectionPaymentClientbyOrder?orderID=';
|
|
|
|
|
|
|
|
|
|
static String PRESCRIPTION_PAYMENT_WITH_ORDERID =
|
|
|
|
|
'https://uat.hmgwebservices.com/epharmacy/checkout/OpcCompleteRedirectionPaymentClientbyOrder?orderID=';
|
|
|
|
|
'https://mdlaboratories.com/exacartapi/checkout/OpcCompleteRedirectionPaymentClientbyOrder?orderID='; //Live
|
|
|
|
|
|
|
|
|
|
static List<String> successURLS = [
|
|
|
|
|
'success',
|
|
|
|
@ -260,7 +263,6 @@ class MyInAppBrowser extends InAppBrowser {
|
|
|
|
|
String patientName,
|
|
|
|
|
dynamic patientID,
|
|
|
|
|
AuthenticatedUser authUser) async {
|
|
|
|
|
|
|
|
|
|
String pharmacyURL = PRESCRIPTION_PAYMENT_WITH_ORDERID +
|
|
|
|
|
order.orderGuid +
|
|
|
|
|
'&&CustomerId=' +
|
|
|
|
@ -336,7 +338,6 @@ class MyInAppBrowser extends InAppBrowser {
|
|
|
|
|
'</body>' +
|
|
|
|
|
'</html>';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class MyChromeSafariBrowser extends ChromeSafariBrowser {
|
|
|
|
|