|
|
|
|
@ -3,6 +3,7 @@ import 'package:flutter_paytabs_bridge/BaseBillingShippingInfo.dart';
|
|
|
|
|
import 'package:flutter_paytabs_bridge/IOSThemeConfiguration.dart';
|
|
|
|
|
import 'package:flutter_paytabs_bridge/PaymentSdkConfigurationDetails.dart';
|
|
|
|
|
import 'package:flutter_paytabs_bridge/PaymentSdkLocale.dart';
|
|
|
|
|
import 'package:flutter_paytabs_bridge/PaymentSdkTokenFormat.dart';
|
|
|
|
|
import 'package:flutter_paytabs_bridge/PaymentSdkTokeniseType.dart';
|
|
|
|
|
import 'package:flutter_paytabs_bridge/PaymentSdkTransactionType.dart';
|
|
|
|
|
import 'package:flutter_paytabs_bridge/flutter_paytabs_bridge.dart';
|
|
|
|
|
@ -49,7 +50,8 @@ class PayTabsViewModel extends ChangeNotifier {
|
|
|
|
|
appState.getAuthenticatedUser()!.mobileNumber ?? "0000000000", "Riyadh", "SA", "Riyadh", "Riyadh", "12626"),
|
|
|
|
|
alternativePaymentMethods: [],
|
|
|
|
|
linkBillingNameWithCardHolderName: true,
|
|
|
|
|
simplifyApplePayValidation: true);
|
|
|
|
|
simplifyApplePayValidation: true,
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
paymentConfiguration.iOSThemeConfigurations = IOSThemeConfigurations(
|
|
|
|
|
// logoImage: "assets/images/png/hmg_logo.png",
|
|
|
|
|
@ -71,9 +73,11 @@ class PayTabsViewModel extends ChangeNotifier {
|
|
|
|
|
placeholderColorDark: "2E3039",
|
|
|
|
|
buttonColor: "ED1C2B",
|
|
|
|
|
buttonColorDark: "ED1C2B",
|
|
|
|
|
// buttonFont: "Poppins",
|
|
|
|
|
);
|
|
|
|
|
inputsCornerRadius: 12
|
|
|
|
|
// buttonFont: "Poppins",
|
|
|
|
|
);
|
|
|
|
|
paymentConfiguration.tokeniseType = PaymentSdkTokeniseType.MERCHANT_MANDATORY;
|
|
|
|
|
paymentConfiguration.tokenFormat = PaymentSdkTokenFormat.Hex32Format;
|
|
|
|
|
|
|
|
|
|
notifyListeners();
|
|
|
|
|
}
|
|
|
|
|
|