fix_issues
haroon amjad 5 years ago
parent 10025103ac
commit 85062859c8

@ -163,45 +163,45 @@ class _PaymentMethodState extends State<PaymentMethod> {
], ],
), ),
), ),
Container( // Container(
margin: EdgeInsets.only(top: 25.0), // margin: EdgeInsets.only(top: 25.0),
child: Flex( // child: Flex(
direction: Axis.horizontal, // direction: Axis.horizontal,
children: <Widget>[ // children: <Widget>[
Expanded( // Expanded(
child: Container( // child: Container(
child: InkWell( // child: InkWell(
onTap: () { // onTap: () {
updateSelectedPaymentMethod("ApplePay"); // updateSelectedPaymentMethod("ApplePay");
}, // },
child: Card( // child: Card(
elevation: 3.0, // elevation: 3.0,
margin: EdgeInsets.fromLTRB(8.0, 16.0, 8.0, 8.0), // margin: EdgeInsets.fromLTRB(8.0, 16.0, 8.0, 8.0),
color: Colors.white, // color: Colors.white,
shape: RoundedRectangleBorder( // shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10), // borderRadius: BorderRadius.circular(10),
side: selectedPaymentMethod == "ApplePay" // side: selectedPaymentMethod == "ApplePay"
? BorderSide( // ? BorderSide(
color: Colors.green, width: 5.0) // color: Colors.green, width: 5.0)
: BorderSide( // : BorderSide(
color: Colors.transparent, width: 0.0), // color: Colors.transparent, width: 0.0),
), // ),
child: Container( // child: Container(
height: 120.0, // height: 120.0,
padding: EdgeInsets.all(20.0), // padding: EdgeInsets.all(20.0),
child: SvgPicture.asset( // child: SvgPicture.asset(
"assets/images/new-design/applepay.svg"), // "assets/images/new-design/applepay.svg"),
), // ),
), // ),
), // ),
), // ),
), // ),
Expanded( // Expanded(
child: Container(), // child: Container(),
), // ),
], // ],
), // ),
), // ),
SizedBox( SizedBox(
height: 150.0, height: 150.0,
), ),

@ -10,17 +10,17 @@ import 'package:diplomaticquarterapp/uitl/app_shared_preferences.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart'; import 'package:flutter_inappwebview/flutter_inappwebview.dart';
class MyInAppBrowser extends InAppBrowser { class MyInAppBrowser extends InAppBrowser {
// static String SERVICE_URL =
// 'https://hmgwebservices.com/PayFortWeb/pages/SendPayFortRequest.aspx'; // Payfort Payment Gateway URL UAT
static String SERVICE_URL = 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 = // static String PREAUTH_SERVICE_URL =
// 'https://hmgwebservices.com/PayFortWebLive/pages/SendPayFortRequest.aspx'; //Payfort Payment Gateway URL LIVE // 'https://hmgwebservices.com/PayFortWeb/pages/SendPayFortRequest.aspx'; // Payfort PreAuth Payment Gateway URL UAT
static String PREAUTH_SERVICE_URL = 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 List<String> successURLS = [ static List<String> successURLS = [
'success', 'success',

Loading…
Cancel
Save