@jimrising/easymerchantsdk-react-native 2.2.8 → 2.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
// EasyPay
|
|
4
4
|
//
|
|
5
5
|
// Created by Mony's Mac on 06/09/24.
|
|
6
|
+
//
|
|
6
7
|
|
|
7
8
|
import UIKit
|
|
8
9
|
|
|
@@ -417,7 +418,7 @@ class PaymentInfoVC: BaseVC, BillingInfoVCDelegate {
|
|
|
417
418
|
super.viewDidLoad()
|
|
418
419
|
logOut()
|
|
419
420
|
|
|
420
|
-
// Then: safely start new API call
|
|
421
|
+
// // Then: safely start new API call
|
|
421
422
|
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
|
|
422
423
|
self.request?.paymentIntentApi { success in
|
|
423
424
|
if success {
|
|
@@ -433,7 +434,8 @@ class PaymentInfoVC: BaseVC, BillingInfoVCDelegate {
|
|
|
433
434
|
}
|
|
434
435
|
}
|
|
435
436
|
|
|
436
|
-
|
|
437
|
+
|
|
438
|
+
|
|
437
439
|
|
|
438
440
|
viewAppearanceOn()
|
|
439
441
|
|
|
@@ -649,58 +651,58 @@ class PaymentInfoVC: BaseVC, BillingInfoVCDelegate {
|
|
|
649
651
|
self.viewCrypto.isHidden = true
|
|
650
652
|
|
|
651
653
|
if request.is_recurring == true {
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
654
|
+
self.txtFieldChosePlanCard.isHidden = false
|
|
655
|
+
if request.recurringStartDateType == .custom {
|
|
656
|
+
self.txtFieldStartDateCard.isHidden = false
|
|
657
|
+
self.txtFieldSelectDateSingleSavedCard.isHidden = false
|
|
658
|
+
self.txtFieldSelectDateNewCardView.isHidden = false
|
|
659
|
+
self.txtFieldSelectDateViewBankFields.isHidden = false
|
|
660
|
+
self.txtFieldSelectDateSingleSavedBankView.isHidden = false
|
|
661
|
+
self.txtFieldSelectDateNewAccountView.isHidden = false
|
|
662
|
+
self.txtFieldSelectDateGrailPayBankView.isHidden = false
|
|
663
|
+
self.txtFieldSelectDateNewGrailPayBankView.isHidden = false
|
|
664
|
+
|
|
665
|
+
if request.saveAccount == false {
|
|
666
|
+
self.heightViewBankFields.constant = 802
|
|
667
|
+
self.heightViewNewAccountFields.constant = 852
|
|
668
|
+
} else {
|
|
669
|
+
self.heightViewBankFields.constant = 848
|
|
670
|
+
self.heightViewNewAccountFields.constant = 902
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
if request.saveCard == false {
|
|
674
|
+
self.heightViewNewCardFields.constant = 595
|
|
675
|
+
} else {
|
|
676
|
+
self.heightViewNewCardFields.constant = 648
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
self.heightSubViewNewAccountFields.constant = 872
|
|
680
|
+
} else {
|
|
681
|
+
self.txtFieldStartDateCard.isHidden = true
|
|
682
|
+
self.txtFieldSelectDateSingleSavedCard.isHidden = true
|
|
683
|
+
self.txtFieldSelectDateNewCardView.isHidden = true
|
|
684
|
+
self.txtFieldSelectDateViewBankFields.isHidden = true
|
|
685
|
+
self.txtFieldSelectDateSingleSavedBankView.isHidden = true
|
|
686
|
+
self.txtFieldSelectDateNewAccountView.isHidden = true
|
|
687
|
+
self.txtFieldSelectDateGrailPayBankView.isHidden = true
|
|
688
|
+
self.txtFieldSelectDateNewGrailPayBankView.isHidden = true
|
|
689
|
+
|
|
690
|
+
if request.saveAccount == false {
|
|
691
|
+
self.heightViewBankFields.constant = 712
|
|
692
|
+
self.heightViewNewAccountFields.constant = 754
|
|
693
|
+
} else {
|
|
694
|
+
self.heightViewBankFields.constant = 752
|
|
695
|
+
self.heightViewNewAccountFields.constant = 808
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
if request.saveCard == false {
|
|
699
|
+
self.heightViewNewCardFields.constant = 500
|
|
700
|
+
} else {
|
|
701
|
+
self.heightViewNewCardFields.constant = 553
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
self.heightSubViewNewAccountFields.constant = 757
|
|
705
|
+
}
|
|
704
706
|
|
|
705
707
|
self.txtFieldSelectPlanSingleSavedCard.isHidden = false
|
|
706
708
|
self.txtFieldSelectPlanNewCardView.isHidden = false
|
|
@@ -729,11 +731,11 @@ class PaymentInfoVC: BaseVC, BillingInfoVCDelegate {
|
|
|
729
731
|
self.txtFieldSelectDateNewGrailPayBankView.isHidden = true
|
|
730
732
|
|
|
731
733
|
if request.saveAccount == false {
|
|
732
|
-
self.heightViewBankFields.constant =
|
|
733
|
-
self.heightViewNewAccountFields.constant =
|
|
734
|
+
self.heightViewBankFields.constant = 616
|
|
735
|
+
self.heightViewNewAccountFields.constant = 656
|
|
734
736
|
} else {
|
|
735
|
-
self.heightViewBankFields.constant =
|
|
736
|
-
self.heightViewNewAccountFields.constant =
|
|
737
|
+
self.heightViewBankFields.constant = 656
|
|
738
|
+
self.heightViewNewAccountFields.constant = 716
|
|
737
739
|
}
|
|
738
740
|
|
|
739
741
|
if request.saveCard == false {
|
|
@@ -742,7 +744,7 @@ class PaymentInfoVC: BaseVC, BillingInfoVCDelegate {
|
|
|
742
744
|
self.heightViewNewCardFields.constant = 458
|
|
743
745
|
}
|
|
744
746
|
|
|
745
|
-
self.heightSubViewNewAccountFields.constant =
|
|
747
|
+
self.heightSubViewNewAccountFields.constant = 662
|
|
746
748
|
}
|
|
747
749
|
|
|
748
750
|
if selectedPaymentMethod == "Card" {
|