Pārlūkot izejas kodu

【内嵌支付】UI界面交互补充

wanjun 6 mēneši atpakaļ
vecāks
revīzija
a92017628f
24 mainītis faili ar 966 papildinājumiem un 108 dzēšanām
  1. 6 0
      PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/Contents.json
  2. 38 0
      PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseApplyColor.colorset/Contents.json
  3. 38 0
      PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseCouponBoxColor.colorset/Contents.json
  4. 38 0
      PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseCouponBoxFillColor.colorset/Contents.json
  5. 38 0
      PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseCouponColor.colorset/Contents.json
  6. 38 0
      PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseDiscountColor.colorset/Contents.json
  7. 38 0
      PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseListPriceColor.colorset/Contents.json
  8. 38 0
      PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseSubTitleColor.colorset/Contents.json
  9. 38 0
      PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseTitleColor.colorset/Contents.json
  10. 38 0
      PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseTitleColor1.colorset/Contents.json
  11. BIN
      PDF Office/PDF Master/Class/Appearance/Image.xcassets/Purchase/EmbeddedPayment18.imageset/Component 3.pdf
  12. 2 2
      PDF Office/PDF Master/Class/Appearance/Image.xcassets/Purchase/EmbeddedPayment18.imageset/Contents.json
  13. BIN
      PDF Office/PDF Master/Class/Appearance/Image.xcassets/Purchase/EmbeddedPayment18.imageset/Component 4.pdf
  14. BIN
      PDF Office/PDF Master/Class/Appearance/Image.xcassets/Purchase/EmbeddedPayment19.imageset/Component 4.pdf
  15. 1 1
      PDF Office/PDF Master/Class/Appearance/Image.xcassets/Purchase/EmbeddedPayment19.imageset/Contents.json
  16. BIN
      PDF Office/PDF Master/Class/Appearance/Image.xcassets/Purchase/EmbeddedPayment19.imageset/Component 3 (1).pdf
  17. 302 5
      PDF Office/PDF Master/Class/Purchase/DMG/KMPurchaseEmbeddedWindowController.swift
  18. 231 100
      PDF Office/PDF Master/Class/Purchase/DMG/KMPurchaseEmbeddedWindowController.xib
  19. 3 0
      PDF Office/PDF Master/Strings/en.lproj/Localizable.strings
  20. 4 0
      PDF Office/PDF Master/Strings/fr.lproj/Localizable.strings
  21. 3 0
      PDF Office/PDF Master/Strings/ja.lproj/Localizable.strings
  22. 5 0
      PDF Office/PDF Master/Strings/zh-Hans.lproj/Localizable.strings
  23. 3 0
      PDF Office/PDF Master/Strings/zh-Hant.lproj/Localizable.strings
  24. 64 0
      PDF Office/PDF Reader Pro.xcodeproj/xcuserdata/kdanwj.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

+ 6 - 0
PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/Contents.json

@@ -0,0 +1,6 @@
+{
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseApplyColor.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "98",
+          "green" : "60",
+          "red" : "39"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "219",
+          "green" : "127",
+          "red" : "78"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseCouponBoxColor.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "222",
+          "green" : "219",
+          "red" : "218"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "90",
+          "green" : "88",
+          "red" : "86"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseCouponBoxFillColor.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0xFF",
+          "green" : "0xFF",
+          "red" : "0xFF"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "62",
+          "green" : "60",
+          "red" : "57"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseCouponColor.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "230",
+          "green" : "130",
+          "red" : "73"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "219",
+          "green" : "127",
+          "red" : "78"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseDiscountColor.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0xBF",
+          "green" : "0xBA",
+          "red" : "0xB7"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "0x85",
+          "green" : "0x7F",
+          "red" : "0x7E"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseListPriceColor.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "128",
+          "green" : "119",
+          "red" : "117"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "204",
+          "green" : "201",
+          "red" : "200"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseSubTitleColor.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "128",
+          "green" : "119",
+          "red" : "117"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "133",
+          "green" : "127",
+          "red" : "126"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseTitleColor.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "20",
+          "green" : "17",
+          "red" : "14"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "255",
+          "green" : "255",
+          "red" : "255"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

+ 38 - 0
PDF Office/PDF Master/Class/Appearance/Color.xcassets/Purchase/KMPurchaseTitleColor1.colorset/Contents.json

@@ -0,0 +1,38 @@
+{
+  "colors" : [
+    {
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "40",
+          "green" : "24",
+          "red" : "16"
+        }
+      },
+      "idiom" : "universal"
+    },
+    {
+      "appearances" : [
+        {
+          "appearance" : "luminosity",
+          "value" : "dark"
+        }
+      ],
+      "color" : {
+        "color-space" : "srgb",
+        "components" : {
+          "alpha" : "1.000",
+          "blue" : "255",
+          "green" : "255",
+          "red" : "255"
+        }
+      },
+      "idiom" : "universal"
+    }
+  ],
+  "info" : {
+    "author" : "xcode",
+    "version" : 1
+  }
+}

BIN
PDF Office/PDF Master/Class/Appearance/Image.xcassets/Purchase/EmbeddedPayment18.imageset/Component 3.pdf


+ 2 - 2
PDF Office/PDF Master/Class/Appearance/Image.xcassets/Purchase/EmbeddedPayment18.imageset/Contents.json

@@ -1,7 +1,7 @@
 {
   "images" : [
     {
-      "filename" : "Component 3.pdf",
+      "filename" : "card (1).pdf",
       "idiom" : "universal"
     },
     {
@@ -11,7 +11,7 @@
           "value" : "dark"
         }
       ],
-      "filename" : "Component 4.pdf",
+      "filename" : "Component 3.pdf",
       "idiom" : "universal"
     }
   ],

BIN
PDF Office/PDF Master/Class/Appearance/Image.xcassets/Purchase/EmbeddedPayment18.imageset/Component 4.pdf


BIN
PDF Office/PDF Master/Class/Appearance/Image.xcassets/Purchase/EmbeddedPayment19.imageset/Component 4.pdf


+ 1 - 1
PDF Office/PDF Master/Class/Appearance/Image.xcassets/Purchase/EmbeddedPayment19.imageset/Contents.json

@@ -1,7 +1,7 @@
 {
   "images" : [
     {
-      "filename" : "Component 3 (1).pdf",
+      "filename" : "card.pdf",
       "idiom" : "universal"
     },
     {

BIN
PDF Office/PDF Master/Class/Appearance/Image.xcassets/Purchase/EmbeddedPayment19.imageset/Component 3 (1).pdf


+ 302 - 5
PDF Office/PDF Master/Class/Purchase/DMG/KMPurchaseEmbeddedWindowController.swift

@@ -9,13 +9,95 @@ import Cocoa
 
 // paypal alipay wxpay paddle
 @objc enum KMPaymentType: UInt32 {
-    case paypal = 1
-    case alipay
-    case wxpay
+    case paypal = 0
     case paddle
+    case wxpay
+    case alipay
 }
 
 class KMPurchaseEmbeddedWindowController: NSWindowController {
+    
+    @IBOutlet weak var yourOrderLabel: NSTextField!
+    
+    @IBOutlet weak var pdfReaderProLabel: NSTextField!
+    @IBOutlet weak var prmiumLabel: NSTextField!
+    @IBOutlet weak var oneLicenseLabel: NSTextField!
+    @IBOutlet weak var removeButton1: NSButton! // 减少按钮1
+    @IBOutlet weak var addButton1: NSButton! // 增加按钮1
+    @IBOutlet weak var amountTextField1: NSTextField! // 数目1
+    @IBOutlet weak var originalPriceLabel1: NSTextField! // 原价
+    @IBOutlet weak var discountPriceLabel1: NSTextField! // 折扣
+    
+    @IBOutlet weak var aiAddOnButton: NSButton!
+    @IBOutlet weak var aiAddOnLabel: NSTextField!
+    @IBOutlet weak var IndividualLabel: NSTextField!
+    @IBOutlet weak var removeButton2: NSButton! // 减少按钮2
+    @IBOutlet weak var addButton2: NSButton! // 增加按钮2
+    @IBOutlet weak var amountTextField2: NSTextField! // 数目2
+    @IBOutlet weak var originalPriceLabel2: NSTextField! // 原价
+    @IBOutlet weak var discountPriceLabel2: NSTextField! // 折扣
+
+    @IBOutlet weak var extendedButton: NSButton!
+    @IBOutlet weak var extendedLabel: NSTextField!
+    @IBOutlet weak var accessLabel: NSTextField!
+    @IBOutlet weak var removeButton3: NSButton! // 减少按钮3
+    @IBOutlet weak var addButton3: NSButton! // 增加按钮3
+    @IBOutlet weak var amountTextField3: NSTextField! // 数目3
+    @IBOutlet weak var originalPriceLabel3: NSTextField! // 原价
+    @IBOutlet weak var discountPriceLabel3: NSTextField! // 折扣
+    
+    
+    @IBOutlet weak var couponButton: NSButton!
+    @IBOutlet weak var couponBox: NSBox!
+    @IBOutlet weak var coupomTextField: NSTextField!
+    @IBOutlet weak var applyBox: NSBox!
+    @IBOutlet weak var applyButton: NSButton!
+    @IBOutlet weak var lastPriceLabel: NSTextField!
+    @IBOutlet weak var lastPriceLabel1: NSTextField!
+    @IBOutlet weak var discountLabel: NSTextField!
+    @IBOutlet weak var discountLabel1: NSTextField!
+    @IBOutlet weak var paySumLabel: NSTextField!
+    @IBOutlet weak var paySumLabel1: NSTextField!
+    
+    @IBOutlet weak var privacyLabel: NSTextField!
+    
+    @IBOutlet weak var billInformationLabel: NSTextField!
+    @IBOutlet weak var emailLabel: NSTextField!
+    @IBOutlet weak var emailTextField: NSTextField!
+    @IBOutlet weak var errorLabel: NSTextField!
+    @IBOutlet weak var errorLabelTopLayout: NSLayoutConstraint!
+    
+    @IBOutlet weak var paymentMethodLabel: NSTextField!
+    @IBOutlet weak var paypalButton: NSButton!
+    @IBOutlet weak var cardButton: NSButton!
+    @IBOutlet weak var wechatPayButton: NSButton!
+    @IBOutlet weak var alipayButton: NSButton!
+    
+    @IBOutlet weak var payBox: NSBox!
+    @IBOutlet weak var payBoxHeight: NSLayoutConstraint!
+    @IBOutlet weak var payExplainLabel: NSTextField!
+    
+    @IBOutlet var paypalView: NSView!
+    @IBOutlet weak var paypalBuyNowLabel: NSTextField!
+    
+    @IBOutlet var cardView: NSView!
+    
+    @IBOutlet var weChatPayView: NSView!
+    
+    @IBOutlet var payResult: NSView!
+    
+    private var pdfCount: Int = 1
+    private var pdfOriginalPrice: Float = 79.99
+    private var pdfDiscountPrice: Float = 59.99
+    private var aiAddOnCount: Int = 1
+    private var aiAddOnOriginalPrice: Float = 14.99
+    private var aiAddOnDiscountPrice: Float = 14.99
+    private var extendedCount: Int = 1
+    private var extendedOriginalPrice: Float = 39.99
+    private var extendedDiscountPrice: Float = 79.99
+    private var listPrice: Float = 79.99
+    private var discount: Float = 79.99
+    private var _paymentMethod: KMPaymentType = .paypal
 
     override func windowDidLoad() {
         super.windowDidLoad()
@@ -33,12 +115,202 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
         btn.action = #selector(btnAction)
         self.window?.contentView?.addSubview(btn)
         #endif
+        
+        xibInitialization()
+        paymentMethod = .paypal
+        priceRefresh()
     }
     
     override func showWindow(_ sender: Any?) {
         NSApp.runModal(for: self.window!)
     }
     
+    // MARK: UI
+    
+    private func xibInitialization() -> Void {
+        yourOrderLabel.stringValue = NSLocalizedString("Your Order", comment: "")
+        yourOrderLabel.textColor = NSColor(named: "KMPurchaseTitleColor")
+        yourOrderLabel.font = NSFont.SFProTextBoldFont(20.0)
+        
+        pdfReaderProLabel.stringValue = NSLocalizedString("PDF Reader Pro for Mac", comment: "")
+        pdfReaderProLabel.textColor = NSColor(named: "KMPurchaseTitleColor")
+        pdfReaderProLabel.font = NSFont.SFProTextRegularFont(14.0)
+        prmiumLabel.stringValue = NSLocalizedString("Premium and PDF to Office Converter", comment: "")
+        prmiumLabel.textColor = NSColor(named: "KMPurchaseSubTitleColor")
+        prmiumLabel.font = NSFont.SFProTextRegularFont(12.0)
+        oneLicenseLabel.stringValue = NSLocalizedString("One License for One Mac. One Time Purchase.", comment: "")
+        oneLicenseLabel.textColor = NSColor(named: "KMPurchaseSubTitleColor")
+        oneLicenseLabel.font = NSFont.SFProTextRegularFont(12.0)
+        originalPriceLabel1.textColor = NSColor(named: "KMPurchaseTitleColor")
+        originalPriceLabel1.font = NSFont.SFProTextRegularFont(16.0)
+        discountPriceLabel1.textColor = NSColor(named: "KMPurchaseDiscountColor")
+        discountPriceLabel1.font = NSFont.SFProTextRegularFont(9.0)
+
+        aiAddOnLabel.stringValue = NSLocalizedString("AI Add-on", comment: "")
+        aiAddOnLabel.textColor = NSColor(named: "KMPurchaseTitleColor")
+        aiAddOnLabel.font = NSFont.SFProTextRegularFont(14.0)
+        IndividualLabel.stringValue = NSLocalizedString("Individual monthly plan. Manually renew.", comment: "")
+        IndividualLabel.textColor = NSColor(named: "KMPurchaseSubTitleColor")
+        IndividualLabel.font = NSFont.SFProTextRegularFont(12.0)
+        originalPriceLabel2.textColor = NSColor(named: "KMPurchaseTitleColor")
+        originalPriceLabel2.font = NSFont.SFProTextRegularFont(16.0)
+        discountPriceLabel2.textColor = NSColor(named: "KMPurchaseDiscountColor")
+        discountPriceLabel2.font = NSFont.SFProTextRegularFont(9.0)
+
+        extendedLabel.stringValue = NSLocalizedString("Extended Device Access", comment: "")
+        extendedLabel.textColor = NSColor(named: "KMPurchaseTitleColor")
+        extendedLabel.font = NSFont.SFProTextRegularFont(14.0)
+        accessLabel.stringValue = NSLocalizedString("Get access to your plan on up to 2 devices. (Mac or Windows)", comment: "")
+        accessLabel.textColor = NSColor(named: "KMPurchaseSubTitleColor")
+        accessLabel.font = NSFont.SFProTextRegularFont(12.0)
+        originalPriceLabel3.textColor = NSColor(named: "KMPurchaseTitleColor")
+        originalPriceLabel3.font = NSFont.SFProTextRegularFont(16.0)
+        discountPriceLabel3.textColor = NSColor(named: "KMPurchaseDiscountColor")
+        discountPriceLabel3.font = NSFont.SFProTextRegularFont(9.0)
+
+        couponButton.title = NSLocalizedString("PDF Reader Pro for Mac", comment: "")
+        couponButton.setTitleColor(color: NSColor(named: "KMPurchaseCouponColor")!, font: NSFont.SFProTextRegularFont(14))
+        coupomTextField.placeholderString = NSLocalizedString("Enter your coupon code and Apply it", comment: "")
+        applyButton.title = NSLocalizedString("Apply", comment: "")
+        applyButton.setTitleColor(color: NSColor(named: "KMPurchaseApplyColor") ?? NSColor.black, font: NSFont.SFProTextRegularFont(13))
+        couponBox.isHidden = true
+        couponBox.borderColor = NSColor(named: "KMPurchaseCouponBoxColor") ?? NSColor.gray
+        couponBox.fillColor = NSColor(named: "KMPurchaseCouponBoxFillColor") ?? NSColor.gray
+        applyBox.isHidden = true
+        applyBox.borderColor = NSColor(named: "KMPurchaseApplyColor") ?? NSColor.black
+        lastPriceLabel.stringValue = NSLocalizedString("List Price", comment: "")
+        lastPriceLabel.textColor = NSColor(named: "KMPurchaseListPriceColor")
+        lastPriceLabel.font = NSFont.SFProTextRegularFont(16.0)
+        discountLabel.stringValue = NSLocalizedString("Discount", comment: "")
+        discountLabel.textColor = NSColor(named: "KMPurchaseListPriceColor")
+        discountLabel.font = NSFont.SFProTextRegularFont(16.0)
+        paySumLabel.stringValue = NSLocalizedString("Pay sum", comment: "")
+        paySumLabel.textColor = NSColor(named: "KMPurchaseTitleColor1")
+        paySumLabel.font = NSFont.SFProTextBoldFont(24.0)
+
+        privacyLabel.textColor = NSColor.black
+        let tipsString = NSLocalizedString("Are you a student or a professor? %@ / Want a volume purchase? Please %@.", comment: "")
+        let specialOffer = NSLocalizedString("Get Special Offer", comment: "")
+        let contactsUs = NSLocalizedString("Contact Us", comment: "")
+        let fullString = String(format: tipsString, specialOffer, contactsUs)
+        let attributedString = NSMutableAttributedString(string: fullString)
+        let specialOfferRange = (fullString as NSString).range(of: specialOffer)
+        let contactsUsRange = (fullString as NSString).range(of: contactsUs)
+        attributedString.addAttribute(.foregroundColor, value: NSColor(red: 73/255.0, green: 130/255.0, blue: 230/255.0, alpha: 1.0), range: specialOfferRange)
+        attributedString.addAttribute(.link, value: "GetSpecialOffer://", range: specialOfferRange)
+        attributedString.addAttribute(.foregroundColor, value: NSColor(red: 73/255.0, green: 130/255.0, blue: 230/255.0, alpha: 1.0), range: contactsUsRange)
+        attributedString.addAttribute(.link, value: "www.baidu.com", range: contactsUsRange)
+//        attributedString.addAttributes([.link : "www.baidu.com"], range: contactsUsRange)
+        privacyLabel.attributedStringValue = attributedString
+        privacyLabel.font = NSFont.SFProTextRegularFont(16.0)
+        privacyLabel.delegate = self
+
+        billInformationLabel.stringValue = NSLocalizedString("Bill Information", comment: "")
+        billInformationLabel.textColor = NSColor(named: "KMPurchaseTitleColor1")
+        billInformationLabel.font = NSFont.SFProTextRegularFont(14.0)
+        emailLabel.stringValue = NSLocalizedString("Email", comment: "")
+        emailLabel.textColor = NSColor(named: "KMPurchaseTitleColor1")
+        emailLabel.font = NSFont.SFProTextRegularFont(14.0)
+        emailTextField.placeholderString = NSLocalizedString("Email to receive license code", comment: "")
+        
+        paymentMethodLabel.stringValue = NSLocalizedString("Payment Method", comment: "")
+        paymentMethodLabel.textColor = NSColor(named: "KMPurchaseTitleColor1")
+        paymentMethodLabel.font = NSFont.SFProTextRegularFont(14.0)
+        
+
+        payExplainLabel.textColor = NSColor.black
+        let localizedString = NSLocalizedString("By submitting this order, I agree to the %@ and %@ for subscription products", comment: "")
+        let privacyPolicy = NSLocalizedString("Privacy Policy", comment: "")
+        let termsOfService = NSLocalizedString("Terms of Service", comment: "")
+        let fullString1 = String(format: localizedString, privacyPolicy, termsOfService)
+        let attributedString1 = NSMutableAttributedString(string: fullString1)
+        let privacyPolicyRange = (fullString as NSString).range(of: privacyPolicy)
+        let termsOfServiceRange = (fullString as NSString).range(of: termsOfService)
+        attributedString1.addAttribute(.foregroundColor, value: NSColor(red: 73/255.0, green: 130/255.0, blue: 230/255.0, alpha: 1.0), range: privacyPolicyRange)
+        attributedString1.addAttribute(.link, value: "PrivacyPolicy://", range: privacyPolicyRange)
+        attributedString1.addAttribute(.foregroundColor, value: NSColor(red: 73/255.0, green: 130/255.0, blue: 230/255.0, alpha: 1.0), range: termsOfServiceRange)
+//        attributedString1.addAttribute(.link, value: "TermsofService://", range: termsOfServiceRange)
+        attributedString1.addAttributes([.link : "www.baidu.com"], range: termsOfServiceRange)
+        payExplainLabel.attributedStringValue = attributedString
+        payExplainLabel.font = NSFont.SFProTextRegularFont(11.0)
+        payExplainLabel.delegate = self
+    }
+    
+    private func priceRefresh() -> Void {
+        
+    }
+    
+    private func paymentMethodRefresh() -> Void {
+        
+    }
+    
+    // MARK: Active
+
+    @IBAction func amountButtonAction(_ sender: NSButton) {
+        
+    }
+    
+    @IBAction func aiAddOnButtonAction(_ sender: NSButton) {
+    }
+    
+    @IBAction func extendedButtonAction(_ sender: NSButton) {
+    }
+    
+    @IBAction func payButtonAction(_ sender: NSButton) {
+        paymentMethod = KMPaymentType(rawValue: uint32(sender.tag)) ?? .paypal
+    }
+    
+    @IBAction func couponButtonAction(_ sender: NSButton) {
+        couponButton.isHidden = true
+        couponBox.isHidden = false
+        applyBox.isHidden = false
+    }
+    
+    @IBAction func applyButtonAction(_ sender: NSButton) {
+        originalPriceLabel1.stringValue = ""
+        discountPriceLabel1.stringValue = ""
+        originalPriceLabel2.stringValue = ""
+        discountPriceLabel2.stringValue = ""
+        originalPriceLabel3.stringValue = ""
+        discountPriceLabel3.stringValue = ""
+    }
+    
+    // MARK: get & set
+    
+    private var paymentMethod : KMPaymentType {
+        get {
+           return _paymentMethod
+        }
+        set {
+            _paymentMethod = newValue
+            
+            paypalButton.image = NSImage(named: "EmbeddedPayment19")
+            cardButton.image = NSImage(named: "EmbeddedPayment21")
+            wechatPayButton.image = NSImage(named: "EmbeddedPayment23")
+            alipayButton.image = NSImage(named: "EmbeddedPayment25")
+            if _paymentMethod == .paypal {
+                paypalButton.image = NSImage(named: "EmbeddedPayment18")
+                payBox.contentView = paypalView
+                payBoxHeight.constant = 40.0
+            } else if _paymentMethod == .paddle {
+                cardButton.image = NSImage(named: "EmbeddedPayment20")
+                payBox.contentView = cardView
+                payBoxHeight.constant = 130.0
+            } else if _paymentMethod == .wxpay {
+                wechatPayButton.image = NSImage(named: "EmbeddedPayment22")
+                payBox.contentView = weChatPayView
+                payBoxHeight.constant = 262.0
+            } else if _paymentMethod == .alipay {
+                alipayButton.image = NSImage(named: "EmbeddedPayment24")
+                payBox.contentView = weChatPayView
+                payBoxHeight.constant = 262.0
+            }
+        }
+    }
+    
+    
+    // MARK: ——
+    
     @objc func btnAction() {
         // 升级产品
         let productCode = "com.brother.pdfreaderpro.windows.product_1"
@@ -73,14 +345,15 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
 //                }
 //            }
 //        }
-//        self._getProductDatas { info, err in
+        self._getProductDatas { info, err in
             /*
              activity_cny_price 优惠价(人民币)
              activity_price 优惠价(美元)
              price 原价(美元)
              cny_price 原价(人民币)
              */
-//        }
+            print("111")
+        }
     }
     
     // 获取价格
@@ -920,3 +1193,27 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
            - key : status
            - value : expired
  */
+
+extension KMPurchaseEmbeddedWindowController: NSTextFieldDelegate {
+    func textView(_ textView: NSTextView, clickedOnLink link: Any, at charIndex: Int) -> Bool {
+        if let url = link as? String {
+            switch url {
+            case "GetSpecialOffer://":
+                NSWorkspace.shared.open(URL(string: NSLocalizedString("https://www.pdfreaderpro.com/store?mode=edu", comment: ""))!)
+                break
+            case "ContactUs://":
+                NSWorkspace.shared.open(URL(string: NSLocalizedString("https://www.pdfreaderpro.com/vpp-purchase-program", comment: ""))!)
+                break
+            case "PrivacyPolicy://":
+                NSWorkspace.shared.open(URL(string: "https://www.pdfreaderpro.com/privacy-policy")!)
+                break
+            case "TermsofService://":
+                NSWorkspace.shared.open(URL(string: "https://www.pdfreaderpro.com/terms_of_service")!)
+                break
+            default:
+                break
+            }
+        }
+        return true
+    }
+}

+ 231 - 100
PDF Office/PDF Master/Class/Purchase/DMG/KMPurchaseEmbeddedWindowController.xib

@@ -8,7 +8,62 @@
     <objects>
         <customObject id="-2" userLabel="File's Owner" customClass="KMPurchaseEmbeddedWindowController" customModule="PDF_Reader_Pro" customModuleProvider="target">
             <connections>
+                <outlet property="IndividualLabel" destination="Rrg-6E-gGx" id="iNG-Ph-Zvc"/>
+                <outlet property="accessLabel" destination="O5O-eG-80K" id="SFO-G6-z41"/>
+                <outlet property="addButton1" destination="5iB-42-B0l" id="eug-fa-G64"/>
+                <outlet property="addButton2" destination="fhV-YM-nNC" id="zz2-6X-oot"/>
+                <outlet property="addButton3" destination="gZ7-bj-dxC" id="zgq-3d-bNX"/>
+                <outlet property="aiAddOnButton" destination="lDe-WV-H1b" id="5Ou-sJ-eVI"/>
+                <outlet property="aiAddOnLabel" destination="ORZ-Op-6Fo" id="jcd-LJ-uKh"/>
+                <outlet property="alipayButton" destination="HXS-6q-4NR" id="Q8R-QA-pn3"/>
+                <outlet property="amountTextField1" destination="FIo-VK-rnE" id="a3o-DS-lH0"/>
+                <outlet property="amountTextField2" destination="GID-fe-T7b" id="a1X-qT-Y9f"/>
+                <outlet property="amountTextField3" destination="W2o-e2-Nwn" id="1zF-8k-20e"/>
+                <outlet property="applyBox" destination="KlW-6M-F8A" id="EYg-fv-U1f"/>
+                <outlet property="applyButton" destination="L3R-9A-gca" id="aEn-QB-rL3"/>
+                <outlet property="billInformationLabel" destination="Plj-ou-oBV" id="O7I-qB-NrY"/>
+                <outlet property="cardButton" destination="6fV-kv-Kqb" id="k3X-ok-WLX"/>
+                <outlet property="cardView" destination="X7Z-7L-aZu" id="Wcx-bf-H1g"/>
+                <outlet property="coupomTextField" destination="lA7-Px-ulG" id="Tbk-LM-yvS"/>
+                <outlet property="couponBox" destination="ECb-Ab-7Fq" id="h7u-Fk-i1A"/>
+                <outlet property="couponButton" destination="16N-22-eUq" id="ufx-sv-rRp"/>
+                <outlet property="discountLabel" destination="zuM-1n-klX" id="t9g-Ms-UQK"/>
+                <outlet property="discountLabel1" destination="n83-tW-ibP" id="9tA-NM-reb"/>
+                <outlet property="discountPriceLabel1" destination="4Ko-7d-Zp9" id="mo9-Wc-Ag0"/>
+                <outlet property="discountPriceLabel2" destination="Zgg-6x-ycD" id="MK8-XT-aPw"/>
+                <outlet property="discountPriceLabel3" destination="0yC-if-ZhG" id="g9G-YT-PUX"/>
+                <outlet property="emailLabel" destination="e5R-5a-vfZ" id="5nn-0v-GIy"/>
+                <outlet property="emailTextField" destination="sU8-qq-wLc" id="oZw-qE-aPj"/>
+                <outlet property="errorLabel" destination="GJE-gl-04P" id="qgA-LP-pwc"/>
+                <outlet property="errorLabelTopLayout" destination="5gD-hZ-xNI" id="d9E-JR-FjO"/>
+                <outlet property="extendedButton" destination="MbO-7o-ibN" id="NZR-8e-sHP"/>
+                <outlet property="extendedLabel" destination="hdH-sT-Zjy" id="CSU-f3-wES"/>
+                <outlet property="lastPriceLabel" destination="qhy-ap-sxt" id="4LY-eY-0OP"/>
+                <outlet property="lastPriceLabel1" destination="ve4-zf-dcX" id="Ubh-Qb-g1J"/>
+                <outlet property="oneLicenseLabel" destination="2wj-Wg-q7u" id="2x0-8r-KgT"/>
+                <outlet property="originalPriceLabel1" destination="JdB-wu-qih" id="TW8-re-VZ3"/>
+                <outlet property="originalPriceLabel2" destination="mG2-BE-Y6m" id="4Gi-yD-Quy"/>
+                <outlet property="originalPriceLabel3" destination="ftc-Ed-JwD" id="tgQ-F5-8Gv"/>
+                <outlet property="payBox" destination="2Fv-aT-yF4" id="w85-iG-gjw"/>
+                <outlet property="payBoxHeight" destination="R1F-08-HUX" id="gld-MP-hJK"/>
+                <outlet property="payExplainLabel" destination="Bf9-95-LZa" id="4LW-Yj-AF3"/>
+                <outlet property="payResult" destination="0Xs-W1-zNP" id="dPe-pN-hGJ"/>
+                <outlet property="paySumLabel" destination="9Ta-Z5-dCX" id="uXu-nm-3nI"/>
+                <outlet property="paySumLabel1" destination="W9v-hZ-TbY" id="Hps-F4-Vj7"/>
+                <outlet property="paymentMethodLabel" destination="32Y-Vg-5EG" id="cFh-JK-g5y"/>
+                <outlet property="paypalButton" destination="aFQ-fz-Dn4" id="Poo-PY-DdI"/>
+                <outlet property="paypalBuyNowLabel" destination="pcl-Qd-CLL" id="j2f-v2-IBZ"/>
+                <outlet property="paypalView" destination="gH9-wN-pyM" id="THF-bY-MOf"/>
+                <outlet property="pdfReaderProLabel" destination="cMG-Kh-1ON" id="POq-A6-KD2"/>
+                <outlet property="privacyLabel" destination="D4J-Se-9AB" id="vM0-xk-gle"/>
+                <outlet property="prmiumLabel" destination="cJd-qR-iKJ" id="JeP-Xv-gc2"/>
+                <outlet property="removeButton1" destination="wpz-Yh-9aJ" id="E37-6C-hJ4"/>
+                <outlet property="removeButton2" destination="MSF-9T-1cl" id="lC3-vm-gF6"/>
+                <outlet property="removeButton3" destination="bmO-1e-QTX" id="gdl-RW-1my"/>
+                <outlet property="weChatPayView" destination="pBx-yN-WZs" id="1hO-qE-DpL"/>
+                <outlet property="wechatPayButton" destination="JIl-bG-lBU" id="QWO-cp-GKX"/>
                 <outlet property="window" destination="F0z-JX-Cv5" id="gIp-Ho-8D9"/>
+                <outlet property="yourOrderLabel" destination="lJA-9J-Qba" id="auS-qa-bMM"/>
             </connections>
         </customObject>
         <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
@@ -29,9 +84,9 @@
                             <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                             <subviews>
                                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="hQ9-hE-7SE">
-                                    <rect key="frame" x="183" y="60" width="604" height="20"/>
+                                    <rect key="frame" x="382" y="60" width="206" height="20"/>
                                     <subviews>
-                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="D4J-Se-9AB">
+                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="D4J-Se-9AB">
                                             <rect key="frame" x="-2" y="2" width="210" height="16"/>
                                             <textFieldCell key="cell" lineBreakMode="clipping" title="Are you a student or a professor? " id="ag6-6K-D9d">
                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -39,43 +94,13 @@
                                                 <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                             </textFieldCell>
                                         </textField>
-                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="RYi-wA-pFI">
-                                            <rect key="frame" x="316" y="0.0" width="214" height="20"/>
-                                            <textFieldCell key="cell" lineBreakMode="clipping" title=" / Want a volume purchase? Please" id="e0K-Aw-biO">
-                                                <font key="font" metaFont="system"/>
-                                                <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
-                                                <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
-                                            </textFieldCell>
-                                        </textField>
-                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="QXq-VU-v0w">
-                                            <rect key="frame" x="526" y="2" width="80" height="16"/>
-                                            <textFieldCell key="cell" lineBreakMode="clipping" title=" Contact Us." id="9za-kb-fbS">
-                                                <font key="font" metaFont="system"/>
-                                                <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
-                                                <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
-                                            </textFieldCell>
-                                        </textField>
-                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="OAq-d0-jgU">
-                                            <rect key="frame" x="204" y="2" width="116" height="16"/>
-                                            <textFieldCell key="cell" lineBreakMode="clipping" title=" Get Special Offer " id="UbC-r8-Lyi">
-                                                <font key="font" metaFont="system"/>
-                                                <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
-                                                <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
-                                            </textFieldCell>
-                                        </textField>
                                     </subviews>
                                     <constraints>
-                                        <constraint firstItem="QXq-VU-v0w" firstAttribute="centerY" secondItem="hQ9-hE-7SE" secondAttribute="centerY" id="BzI-cT-CnL"/>
-                                        <constraint firstItem="RYi-wA-pFI" firstAttribute="centerY" secondItem="hQ9-hE-7SE" secondAttribute="centerY" id="OBn-lG-baT"/>
-                                        <constraint firstAttribute="trailing" secondItem="QXq-VU-v0w" secondAttribute="trailing" id="PEc-7x-fSh"/>
+                                        <constraint firstItem="D4J-Se-9AB" firstAttribute="top" secondItem="hQ9-hE-7SE" secondAttribute="top" constant="2" id="7aV-Ot-vTx"/>
+                                        <constraint firstAttribute="bottom" secondItem="D4J-Se-9AB" secondAttribute="bottom" constant="2" id="OtY-Cy-YeS"/>
                                         <constraint firstItem="D4J-Se-9AB" firstAttribute="centerY" secondItem="hQ9-hE-7SE" secondAttribute="centerY" id="TBD-GV-YFs"/>
-                                        <constraint firstItem="QXq-VU-v0w" firstAttribute="leading" secondItem="RYi-wA-pFI" secondAttribute="trailing" id="agt-ai-ZST"/>
-                                        <constraint firstItem="OAq-d0-jgU" firstAttribute="leading" secondItem="D4J-Se-9AB" secondAttribute="trailing" id="bWI-df-ocd"/>
-                                        <constraint firstItem="RYi-wA-pFI" firstAttribute="top" secondItem="hQ9-hE-7SE" secondAttribute="top" id="cQy-dg-hgF"/>
                                         <constraint firstItem="D4J-Se-9AB" firstAttribute="leading" secondItem="hQ9-hE-7SE" secondAttribute="leading" id="kC9-ph-ha2"/>
-                                        <constraint firstItem="RYi-wA-pFI" firstAttribute="leading" secondItem="OAq-d0-jgU" secondAttribute="trailing" id="koX-Oa-yIN"/>
-                                        <constraint firstAttribute="bottom" secondItem="RYi-wA-pFI" secondAttribute="bottom" id="uJ4-kO-c36"/>
-                                        <constraint firstItem="OAq-d0-jgU" firstAttribute="centerY" secondItem="hQ9-hE-7SE" secondAttribute="centerY" id="wZp-jz-sAd"/>
+                                        <constraint firstAttribute="trailing" secondItem="D4J-Se-9AB" secondAttribute="trailing" id="s8e-kx-aIL"/>
                                     </constraints>
                                 </customView>
                                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="pJQ-if-sS8">
@@ -154,7 +179,7 @@
                                         <customView translatesAutoresizingMaskIntoConstraints="NO" id="Dnb-jj-AQO">
                                             <rect key="frame" x="0.0" y="478" width="335" height="20"/>
                                             <subviews>
-                                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Plj-ou-oBV">
+                                                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Plj-ou-oBV">
                                                     <rect key="frame" x="-2" y="2" width="37" height="16"/>
                                                     <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="hQo-6M-c5W">
                                                         <font key="font" usesAppearanceFont="YES"/>
@@ -172,7 +197,7 @@
                                         <customView translatesAutoresizingMaskIntoConstraints="NO" id="ih0-ST-chg">
                                             <rect key="frame" x="0.0" y="418" width="335" height="52"/>
                                             <subviews>
-                                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="e5R-5a-vfZ">
+                                                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="e5R-5a-vfZ">
                                                     <rect key="frame" x="-2" y="32" width="37" height="20"/>
                                                     <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="3l6-A2-xQx">
                                                         <font key="font" usesAppearanceFont="YES"/>
@@ -180,15 +205,15 @@
                                                         <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                                     </textFieldCell>
                                                 </textField>
-                                                <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="vNJ-Rm-o8p">
+                                                <box boxType="custom" cornerRadius="1" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="vNJ-Rm-o8p">
                                                     <rect key="frame" x="0.0" y="0.0" width="335" height="28"/>
                                                     <view key="contentView" id="jVv-om-ejN">
                                                         <rect key="frame" x="1" y="1" width="333" height="26"/>
                                                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                                                         <subviews>
-                                                            <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sU8-qq-wLc">
-                                                                <rect key="frame" x="8" y="7" width="317" height="12"/>
-                                                                <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" id="7u6-O8-4hT">
+                                                            <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="sU8-qq-wLc">
+                                                                <rect key="frame" x="6" y="5" width="321" height="16"/>
+                                                                <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" placeholderString="Email to receive license code" id="7u6-O8-4hT">
                                                                     <font key="font" usesAppearanceFont="YES"/>
                                                                     <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
                                                                     <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
@@ -196,14 +221,13 @@
                                                             </textField>
                                                         </subviews>
                                                         <constraints>
-                                                            <constraint firstAttribute="bottom" secondItem="sU8-qq-wLc" secondAttribute="bottom" constant="7" id="T6j-9c-vd6"/>
                                                             <constraint firstAttribute="trailing" secondItem="sU8-qq-wLc" secondAttribute="trailing" constant="8" id="Uzu-bl-jwy"/>
-                                                            <constraint firstItem="sU8-qq-wLc" firstAttribute="top" secondItem="jVv-om-ejN" secondAttribute="top" constant="7" id="pkI-EI-eGt"/>
                                                             <constraint firstItem="sU8-qq-wLc" firstAttribute="leading" secondItem="jVv-om-ejN" secondAttribute="leading" constant="8" id="znF-ay-JIC"/>
                                                         </constraints>
                                                     </view>
                                                     <constraints>
                                                         <constraint firstAttribute="height" constant="28" id="Vp3-m1-6YK"/>
+                                                        <constraint firstItem="sU8-qq-wLc" firstAttribute="centerY" secondItem="vNJ-Rm-o8p" secondAttribute="centerY" id="kVy-UI-CIq"/>
                                                     </constraints>
                                                 </box>
                                             </subviews>
@@ -220,7 +244,7 @@
                                         <customView translatesAutoresizingMaskIntoConstraints="NO" id="O9F-uH-62i">
                                             <rect key="frame" x="0.0" y="342" width="335" height="20"/>
                                             <subviews>
-                                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="32Y-Vg-5EG">
+                                                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="32Y-Vg-5EG">
                                                     <rect key="frame" x="-2" y="2" width="107" height="16"/>
                                                     <textFieldCell key="cell" lineBreakMode="clipping" title="Payment Method" id="t4i-Kh-bbv">
                                                         <font key="font" usesAppearanceFont="YES"/>
@@ -244,27 +268,39 @@
                                                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                                         <font key="font" metaFont="system"/>
                                                     </buttonCell>
+                                                    <connections>
+                                                        <action selector="payButtonAction:" target="-2" id="cJD-F3-JGA"/>
+                                                    </connections>
                                                 </button>
-                                                <button translatesAutoresizingMaskIntoConstraints="NO" id="JIl-bG-lBU">
+                                                <button tag="2" translatesAutoresizingMaskIntoConstraints="NO" id="JIl-bG-lBU">
                                                     <rect key="frame" x="172" y="0.0" width="77" height="30"/>
                                                     <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" image="EmbeddedPayment22" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="fdq-uf-J9c">
                                                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                                         <font key="font" metaFont="system"/>
                                                     </buttonCell>
+                                                    <connections>
+                                                        <action selector="payButtonAction:" target="-2" id="161-Pt-FH2"/>
+                                                    </connections>
                                                 </button>
-                                                <button translatesAutoresizingMaskIntoConstraints="NO" id="HXS-6q-4NR">
+                                                <button tag="3" translatesAutoresizingMaskIntoConstraints="NO" id="HXS-6q-4NR">
                                                     <rect key="frame" x="257" y="0.0" width="78" height="30"/>
                                                     <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" image="EmbeddedPayment24" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="Fx2-45-Z2V">
                                                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                                         <font key="font" metaFont="system"/>
                                                     </buttonCell>
+                                                    <connections>
+                                                        <action selector="payButtonAction:" target="-2" id="qsU-ee-0Ry"/>
+                                                    </connections>
                                                 </button>
-                                                <button translatesAutoresizingMaskIntoConstraints="NO" id="6fV-kv-Kqb">
+                                                <button tag="1" translatesAutoresizingMaskIntoConstraints="NO" id="6fV-kv-Kqb">
                                                     <rect key="frame" x="86" y="0.0" width="78" height="30"/>
                                                     <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" image="EmbeddedPayment20" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="I17-Lb-MH8">
                                                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
                                                         <font key="font" metaFont="system"/>
                                                     </buttonCell>
+                                                    <connections>
+                                                        <action selector="payButtonAction:" target="-2" id="Cde-Yg-tRW"/>
+                                                    </connections>
                                                 </button>
                                             </subviews>
                                             <constraints>
@@ -291,7 +327,7 @@
                                             </constraints>
                                         </customView>
                                         <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="2Fv-aT-yF4">
-                                            <rect key="frame" x="0.0" y="244" width="335" height="40"/>
+                                            <rect key="frame" x="0.0" y="254" width="335" height="40"/>
                                             <view key="contentView" id="hfC-RP-EPJ">
                                                 <rect key="frame" x="1" y="1" width="333" height="38"/>
                                                 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
@@ -300,8 +336,8 @@
                                                 <constraint firstAttribute="height" constant="40" id="R1F-08-HUX"/>
                                             </constraints>
                                         </box>
-                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Bf9-95-LZa">
-                                            <rect key="frame" x="-2" y="220" width="339" height="16"/>
+                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Bf9-95-LZa">
+                                            <rect key="frame" x="-2" y="232" width="339" height="16"/>
                                             <textFieldCell key="cell" lineBreakMode="clipping" alignment="left" title="Label" id="xst-Rc-74s">
                                                 <font key="font" usesAppearanceFont="YES"/>
                                                 <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
@@ -311,7 +347,7 @@
                                         <customView translatesAutoresizingMaskIntoConstraints="NO" id="W7H-2A-riS">
                                             <rect key="frame" x="0.0" y="382" width="335" height="32"/>
                                             <subviews>
-                                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="GJE-gl-04P">
+                                                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="GJE-gl-04P">
                                                     <rect key="frame" x="-2" y="0.0" width="339" height="32"/>
                                                     <textFieldCell key="cell" title="Please enter the email address number to receive the sequence code" id="5DH-ru-aM0">
                                                         <font key="font" usesAppearanceFont="YES"/>
@@ -335,10 +371,10 @@
                                         <constraint firstAttribute="width" constant="335" id="A7b-dq-qHX"/>
                                         <constraint firstItem="NiL-sj-flK" firstAttribute="top" secondItem="O9F-uH-62i" secondAttribute="bottom" constant="12" id="OM0-aD-Llb"/>
                                         <constraint firstAttribute="trailing" secondItem="O9F-uH-62i" secondAttribute="trailing" id="PYx-zz-Ics"/>
-                                        <constraint firstItem="2Fv-aT-yF4" firstAttribute="top" secondItem="NiL-sj-flK" secondAttribute="bottom" constant="16" id="SXR-Vl-QIM"/>
+                                        <constraint firstItem="2Fv-aT-yF4" firstAttribute="top" secondItem="NiL-sj-flK" secondAttribute="bottom" constant="6" id="SXR-Vl-QIM"/>
                                         <constraint firstItem="ih0-ST-chg" firstAttribute="leading" secondItem="vmh-tU-E0c" secondAttribute="leading" id="YIa-4z-uz7"/>
                                         <constraint firstAttribute="trailing" secondItem="2Fv-aT-yF4" secondAttribute="trailing" id="a6c-F8-Kez"/>
-                                        <constraint firstItem="Bf9-95-LZa" firstAttribute="top" secondItem="2Fv-aT-yF4" secondAttribute="bottom" constant="8" id="axc-Dw-sq8"/>
+                                        <constraint firstItem="Bf9-95-LZa" firstAttribute="top" secondItem="2Fv-aT-yF4" secondAttribute="bottom" constant="6" id="axc-Dw-sq8"/>
                                         <constraint firstAttribute="trailing" secondItem="ih0-ST-chg" secondAttribute="trailing" id="cuj-fX-BUJ"/>
                                         <constraint firstItem="Bf9-95-LZa" firstAttribute="leading" secondItem="vmh-tU-E0c" secondAttribute="leading" id="dup-2G-Gpc"/>
                                         <constraint firstItem="O9F-uH-62i" firstAttribute="top" secondItem="W7H-2A-riS" secondAttribute="bottom" constant="20" id="fem-IW-e9b"/>
@@ -359,7 +395,7 @@
                                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="tRc-PM-BHR">
                                     <rect key="frame" x="24" y="16" width="538" height="498"/>
                                     <subviews>
-                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lJA-9J-Qba">
+                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lJA-9J-Qba">
                                             <rect key="frame" x="-2" y="482" width="542" height="16"/>
                                             <textFieldCell key="cell" lineBreakMode="clipping" title="Your Order" id="Ozs-wZ-Jdr">
                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -376,7 +412,7 @@
                                                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="nrp-eO-h7F">
                                                     <rect key="frame" x="0.0" y="0.0" width="264" height="48"/>
                                                     <subviews>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="cMG-Kh-1ON">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="cMG-Kh-1ON">
                                                             <rect key="frame" x="-2" y="32" width="268" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="PDF Reader Pro for Mac" id="QBk-Qf-dhQ">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -384,7 +420,7 @@
                                                                 <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                                             </textFieldCell>
                                                         </textField>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="cJd-qR-iKJ">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="cJd-qR-iKJ">
                                                             <rect key="frame" x="-2" y="16" width="268" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="Premium and PDF to Office Converter" id="eqO-Iv-kEM">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -392,7 +428,7 @@
                                                                 <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                                             </textFieldCell>
                                                         </textField>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="2wj-Wg-q7u">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="2wj-Wg-q7u">
                                                             <rect key="frame" x="-2" y="0.0" width="268" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="One License for One Mac. One Time Purchase." id="WE0-rH-JkS">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -428,8 +464,11 @@
                                                                 <constraint firstAttribute="height" constant="16" id="3Um-ds-i8T"/>
                                                                 <constraint firstAttribute="width" constant="16" id="MsD-wL-NNj"/>
                                                             </constraints>
+                                                            <connections>
+                                                                <action selector="amountButtonAction:" target="-2" id="pMo-Ag-UB9"/>
+                                                            </connections>
                                                         </button>
-                                                        <button translatesAutoresizingMaskIntoConstraints="NO" id="5iB-42-B0l">
+                                                        <button tag="1" translatesAutoresizingMaskIntoConstraints="NO" id="5iB-42-B0l">
                                                             <rect key="frame" x="60" y="6" width="16" height="16"/>
                                                             <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" image="EmbeddedPayment04" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="v5e-s5-twP">
                                                                 <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -439,8 +478,11 @@
                                                                 <constraint firstAttribute="width" constant="16" id="Hn8-my-Cso"/>
                                                                 <constraint firstAttribute="height" constant="16" id="sRu-MZ-Kgx"/>
                                                             </constraints>
+                                                            <connections>
+                                                                <action selector="amountButtonAction:" target="-2" id="oRa-Fl-Gfp"/>
+                                                            </connections>
                                                         </button>
-                                                        <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="FIo-VK-rnE">
+                                                        <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="FIo-VK-rnE">
                                                             <rect key="frame" x="14" y="6" width="48" height="16"/>
                                                             <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" alignment="center" title="1" id="pff-ep-vDS">
                                                                 <font key="font" metaFont="system"/>
@@ -464,7 +506,7 @@
                                                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="RLY-aN-DYZ">
                                                     <rect key="frame" x="468" y="0.0" width="70" height="48"/>
                                                     <subviews>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JdB-wu-qih">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JdB-wu-qih">
                                                             <rect key="frame" x="-2" y="32" width="74" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="USD 59.99 " id="m0k-Bv-h3C">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -472,7 +514,7 @@
                                                                 <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                                             </textFieldCell>
                                                         </textField>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="4Ko-7d-Zp9">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="4Ko-7d-Zp9">
                                                             <rect key="frame" x="33" y="16" width="39" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="79.99" id="YkX-gm-xyN">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -515,6 +557,9 @@
                                                         <constraint firstAttribute="height" constant="24" id="ZBa-N0-ylx"/>
                                                         <constraint firstAttribute="width" constant="24" id="lvK-xb-rbZ"/>
                                                     </constraints>
+                                                    <connections>
+                                                        <action selector="aiAddOnButtonAction:" target="-2" id="dkK-Uu-atB"/>
+                                                    </connections>
                                                 </button>
                                                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="dYr-QE-Sxx">
                                                     <rect key="frame" x="32" y="4" width="428" height="42"/>
@@ -522,7 +567,7 @@
                                                         <customView translatesAutoresizingMaskIntoConstraints="NO" id="vrZ-i2-cO9">
                                                             <rect key="frame" x="292" y="15" width="76" height="27"/>
                                                             <subviews>
-                                                                <button translatesAutoresizingMaskIntoConstraints="NO" id="MSF-9T-1cl">
+                                                                <button tag="2" translatesAutoresizingMaskIntoConstraints="NO" id="MSF-9T-1cl">
                                                                     <rect key="frame" x="0.0" y="6" width="16" height="16"/>
                                                                     <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" image="EmbeddedPayment03" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="3SC-SX-Q9S">
                                                                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -532,8 +577,11 @@
                                                                         <constraint firstAttribute="height" constant="16" id="0cL-4t-ciE"/>
                                                                         <constraint firstAttribute="width" constant="16" id="5XP-Ph-TIT"/>
                                                                     </constraints>
+                                                                    <connections>
+                                                                        <action selector="amountButtonAction:" target="-2" id="yZa-s4-8mL"/>
+                                                                    </connections>
                                                                 </button>
-                                                                <button translatesAutoresizingMaskIntoConstraints="NO" id="fhV-YM-nNC">
+                                                                <button tag="3" translatesAutoresizingMaskIntoConstraints="NO" id="fhV-YM-nNC">
                                                                     <rect key="frame" x="60" y="6" width="16" height="16"/>
                                                                     <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" image="EmbeddedPayment04" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="KSI-N7-2wr">
                                                                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -543,8 +591,11 @@
                                                                         <constraint firstAttribute="width" constant="16" id="Clo-J5-9hl"/>
                                                                         <constraint firstAttribute="height" constant="16" id="Hd6-m6-sao"/>
                                                                     </constraints>
+                                                                    <connections>
+                                                                        <action selector="amountButtonAction:" target="-2" id="LSV-IT-VUI"/>
+                                                                    </connections>
                                                                 </button>
-                                                                <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="GID-fe-T7b">
+                                                                <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="GID-fe-T7b">
                                                                     <rect key="frame" x="14" y="6" width="48" height="16"/>
                                                                     <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" alignment="center" title="1" id="DeQ-Uv-oPi">
                                                                         <font key="font" metaFont="system"/>
@@ -565,7 +616,7 @@
                                                                 <constraint firstAttribute="height" constant="27" id="tou-m3-mQf"/>
                                                             </constraints>
                                                         </customView>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ORZ-Op-6Fo">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ORZ-Op-6Fo">
                                                             <rect key="frame" x="-2" y="26" width="65" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="AI Add-on" id="c6g-Re-YXl">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -573,7 +624,7 @@
                                                                 <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                                             </textFieldCell>
                                                         </textField>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Rrg-6E-gGx">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Rrg-6E-gGx">
                                                             <rect key="frame" x="-2" y="6" width="248" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="Individual monthly plan. Manually renew." id="ZJx-JT-DBd">
                                                                 <font key="font" metaFont="system"/>
@@ -594,7 +645,7 @@
                                                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="hor-yk-1fT">
                                                     <rect key="frame" x="464" y="4" width="70" height="42"/>
                                                     <subviews>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="mG2-BE-Y6m">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="mG2-BE-Y6m">
                                                             <rect key="frame" x="-2" y="26" width="74" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="USD 59.99 " id="yKo-BV-WUW">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -602,7 +653,7 @@
                                                                 <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                                             </textFieldCell>
                                                         </textField>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Zgg-6x-ycD">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Zgg-6x-ycD">
                                                             <rect key="frame" x="33" y="10" width="39" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="79.99" id="eAM-U0-lTa">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -639,7 +690,7 @@
                                                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="uWl-6n-x7Q">
                                                     <rect key="frame" x="464" y="4" width="70" height="42"/>
                                                     <subviews>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ftc-Ed-JwD">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ftc-Ed-JwD">
                                                             <rect key="frame" x="-2" y="26" width="74" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="USD 59.99 " id="Ine-B6-Ntn">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -647,7 +698,7 @@
                                                                 <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                                             </textFieldCell>
                                                         </textField>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="0yC-if-ZhG">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="0yC-if-ZhG">
                                                             <rect key="frame" x="33" y="10" width="39" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="79.99" id="5fI-HR-xez">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -670,7 +721,7 @@
                                                         <customView translatesAutoresizingMaskIntoConstraints="NO" id="I0R-Y0-jgp">
                                                             <rect key="frame" x="292" y="15" width="76" height="27"/>
                                                             <subviews>
-                                                                <button translatesAutoresizingMaskIntoConstraints="NO" id="bmO-1e-QTX">
+                                                                <button tag="4" translatesAutoresizingMaskIntoConstraints="NO" id="bmO-1e-QTX">
                                                                     <rect key="frame" x="0.0" y="6" width="16" height="16"/>
                                                                     <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" image="EmbeddedPayment03" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="eRv-9c-VRo">
                                                                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -680,8 +731,11 @@
                                                                         <constraint firstAttribute="height" constant="16" id="fC6-nK-HUe"/>
                                                                         <constraint firstAttribute="width" constant="16" id="jZw-zX-46V"/>
                                                                     </constraints>
+                                                                    <connections>
+                                                                        <action selector="amountButtonAction:" target="-2" id="JOf-Yw-oZ7"/>
+                                                                    </connections>
                                                                 </button>
-                                                                <button translatesAutoresizingMaskIntoConstraints="NO" id="gZ7-bj-dxC">
+                                                                <button tag="5" translatesAutoresizingMaskIntoConstraints="NO" id="gZ7-bj-dxC">
                                                                     <rect key="frame" x="60" y="6" width="16" height="16"/>
                                                                     <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" image="EmbeddedPayment04" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="fkA-os-7XV">
                                                                         <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
@@ -691,8 +745,11 @@
                                                                         <constraint firstAttribute="height" constant="16" id="LjO-OE-7gg"/>
                                                                         <constraint firstAttribute="width" constant="16" id="R0v-5y-6oo"/>
                                                                     </constraints>
+                                                                    <connections>
+                                                                        <action selector="amountButtonAction:" target="-2" id="Svr-IU-mwR"/>
+                                                                    </connections>
                                                                 </button>
-                                                                <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="W2o-e2-Nwn">
+                                                                <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="W2o-e2-Nwn">
                                                                     <rect key="frame" x="14" y="6" width="48" height="16"/>
                                                                     <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" alignment="center" title="1" id="kDf-EN-6SG">
                                                                         <font key="font" metaFont="system"/>
@@ -713,7 +770,7 @@
                                                                 <constraint firstAttribute="width" constant="76" id="xv3-hh-ySt"/>
                                                             </constraints>
                                                         </customView>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hdH-sT-Zjy">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hdH-sT-Zjy">
                                                             <rect key="frame" x="-2" y="22" width="153" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="Extended Device Access" id="wFj-Li-6CW">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -721,7 +778,7 @@
                                                                 <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                                             </textFieldCell>
                                                         </textField>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="O5O-eG-80K">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="O5O-eG-80K">
                                                             <rect key="frame" x="-2" y="2" width="379" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="Get access to your plan on up to 2 devices. (Mac or Windows)" id="mfw-HQ-bi1">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -759,6 +816,9 @@
                                                         <constraint firstAttribute="height" constant="24" id="fEZ-v5-79J"/>
                                                         <constraint firstAttribute="width" constant="24" id="yjJ-ny-a2R"/>
                                                     </constraints>
+                                                    <connections>
+                                                        <action selector="extendedButtonAction:" target="-2" id="sBy-Nh-Yud"/>
+                                                    </connections>
                                                 </button>
                                             </subviews>
                                             <constraints>
@@ -777,18 +837,10 @@
                                         <customView translatesAutoresizingMaskIntoConstraints="NO" id="2Hk-KG-FSr">
                                             <rect key="frame" x="0.0" y="0.0" width="538" height="120"/>
                                             <subviews>
-                                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="0xu-sT-F36">
-                                                    <rect key="frame" x="-2" y="104" width="542" height="16"/>
-                                                    <textFieldCell key="cell" lineBreakMode="clipping" title="I have a coupon ?" id="KEx-0v-rVw">
-                                                        <font key="font" usesAppearanceFont="YES"/>
-                                                        <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
-                                                        <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
-                                                    </textFieldCell>
-                                                </textField>
                                                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="Imv-vq-rsc">
-                                                    <rect key="frame" x="0.0" y="76" width="538" height="20"/>
+                                                    <rect key="frame" x="0.0" y="64" width="538" height="20"/>
                                                     <subviews>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ve4-zf-dcX">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ve4-zf-dcX">
                                                             <rect key="frame" x="470" y="2" width="70" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="USD 79.99" id="PfN-Xw-Qsg">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -796,7 +848,7 @@
                                                                 <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                                             </textFieldCell>
                                                         </textField>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="qhy-ap-sxt">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="qhy-ap-sxt">
                                                             <rect key="frame" x="-2" y="2" width="61" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="List Price" id="NjG-V1-pcr">
                                                                 <font key="font" metaFont="system"/>
@@ -814,9 +866,9 @@
                                                     </constraints>
                                                 </customView>
                                                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="KXb-Fc-Ihu">
-                                                    <rect key="frame" x="0.0" y="48" width="538" height="20"/>
+                                                    <rect key="frame" x="0.0" y="36" width="538" height="20"/>
                                                     <subviews>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="zuM-1n-klX">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="zuM-1n-klX">
                                                             <rect key="frame" x="-2" y="2" width="58" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="Discount" id="fA9-YE-9nT">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -824,7 +876,7 @@
                                                                 <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                                             </textFieldCell>
                                                         </textField>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="n83-tW-ibP">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="n83-tW-ibP">
                                                             <rect key="frame" x="470" y="2" width="70" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="USD 20.00" id="iaA-9a-RmM">
                                                                 <font key="font" metaFont="system"/>
@@ -842,9 +894,9 @@
                                                     </constraints>
                                                 </customView>
                                                 <customView translatesAutoresizingMaskIntoConstraints="NO" id="ZY4-l7-Ejn">
-                                                    <rect key="frame" x="0.0" y="4" width="538" height="28"/>
+                                                    <rect key="frame" x="0.0" y="-8" width="538" height="28"/>
                                                     <subviews>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="W9v-hZ-TbY">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="W9v-hZ-TbY">
                                                             <rect key="frame" x="470" y="6" width="70" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="USD 59.99" id="zmn-H2-590">
                                                                 <font key="font" usesAppearanceFont="YES"/>
@@ -852,7 +904,7 @@
                                                                 <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                                             </textFieldCell>
                                                         </textField>
-                                                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="9Ta-Z5-dCX">
+                                                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="9Ta-Z5-dCX">
                                                             <rect key="frame" x="-2" y="6" width="55" height="16"/>
                                                             <textFieldCell key="cell" lineBreakMode="clipping" title="Pay sum" id="ed2-fx-e4R">
                                                                 <font key="font" metaFont="system"/>
@@ -869,19 +921,98 @@
                                                         <constraint firstItem="W9v-hZ-TbY" firstAttribute="centerY" secondItem="ZY4-l7-Ejn" secondAttribute="centerY" id="yeX-37-xH3"/>
                                                     </constraints>
                                                 </customView>
+                                                <customView translatesAutoresizingMaskIntoConstraints="NO" id="o5K-ag-Vbf">
+                                                    <rect key="frame" x="0.0" y="92" width="538" height="28"/>
+                                                    <subviews>
+                                                        <button translatesAutoresizingMaskIntoConstraints="NO" id="16N-22-eUq">
+                                                            <rect key="frame" x="0.0" y="6" width="45" height="16"/>
+                                                            <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" alignment="center" imageScaling="proportionallyDown" inset="2" id="wfj-Uj-4Nz">
+                                                                <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                                                                <font key="font" metaFont="system"/>
+                                                            </buttonCell>
+                                                            <connections>
+                                                                <action selector="couponButtonAction:" target="-2" id="s8h-4t-8iZ"/>
+                                                            </connections>
+                                                        </button>
+                                                        <box boxType="custom" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="ECb-Ab-7Fq">
+                                                            <rect key="frame" x="0.0" y="0.0" width="320" height="28"/>
+                                                            <view key="contentView" id="2We-vj-b92">
+                                                                <rect key="frame" x="1" y="1" width="318" height="26"/>
+                                                                <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                                                                <subviews>
+                                                                    <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lA7-Px-ulG">
+                                                                        <rect key="frame" x="-2" y="5" width="322" height="16"/>
+                                                                        <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" id="bOU-uz-Gia">
+                                                                            <font key="font" usesAppearanceFont="YES"/>
+                                                                            <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+                                                                            <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
+                                                                        </textFieldCell>
+                                                                    </textField>
+                                                                </subviews>
+                                                                <constraints>
+                                                                    <constraint firstAttribute="trailing" secondItem="lA7-Px-ulG" secondAttribute="trailing" id="1RW-JP-lfy"/>
+                                                                    <constraint firstItem="lA7-Px-ulG" firstAttribute="leading" secondItem="2We-vj-b92" secondAttribute="leading" id="M4Q-OV-nmR"/>
+                                                                </constraints>
+                                                            </view>
+                                                            <constraints>
+                                                                <constraint firstAttribute="width" constant="320" id="7qL-FY-txj"/>
+                                                                <constraint firstItem="lA7-Px-ulG" firstAttribute="centerY" secondItem="ECb-Ab-7Fq" secondAttribute="centerY" id="DJA-0Z-blU"/>
+                                                            </constraints>
+                                                        </box>
+                                                        <box boxType="custom" cornerRadius="1" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="KlW-6M-F8A">
+                                                            <rect key="frame" x="328" y="0.0" width="51" height="28"/>
+                                                            <view key="contentView" id="rjM-V4-vuc">
+                                                                <rect key="frame" x="1" y="1" width="49" height="26"/>
+                                                                <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+                                                                <subviews>
+                                                                    <button translatesAutoresizingMaskIntoConstraints="NO" id="L3R-9A-gca">
+                                                                        <rect key="frame" x="0.0" y="0.0" width="49" height="26"/>
+                                                                        <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" alignment="center" imageScaling="proportionallyDown" inset="2" id="PGl-0O-QMF">
+                                                                            <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+                                                                            <font key="font" metaFont="system"/>
+                                                                        </buttonCell>
+                                                                        <connections>
+                                                                            <action selector="applyButtonAction:" target="-2" id="Cgs-s4-Vts"/>
+                                                                        </connections>
+                                                                    </button>
+                                                                </subviews>
+                                                                <constraints>
+                                                                    <constraint firstItem="L3R-9A-gca" firstAttribute="leading" secondItem="rjM-V4-vuc" secondAttribute="leading" id="KPv-Jb-u20"/>
+                                                                    <constraint firstItem="L3R-9A-gca" firstAttribute="top" secondItem="rjM-V4-vuc" secondAttribute="top" id="KUl-SA-9OK"/>
+                                                                    <constraint firstAttribute="bottom" secondItem="L3R-9A-gca" secondAttribute="bottom" id="onv-AG-J9d"/>
+                                                                    <constraint firstAttribute="trailing" secondItem="L3R-9A-gca" secondAttribute="trailing" id="w3e-aq-a0O"/>
+                                                                </constraints>
+                                                            </view>
+                                                            <constraints>
+                                                                <constraint firstAttribute="width" constant="51" id="uC0-wq-iSp"/>
+                                                            </constraints>
+                                                        </box>
+                                                    </subviews>
+                                                    <constraints>
+                                                        <constraint firstItem="ECb-Ab-7Fq" firstAttribute="leading" secondItem="o5K-ag-Vbf" secondAttribute="leading" id="9ZF-2D-kh5"/>
+                                                        <constraint firstItem="16N-22-eUq" firstAttribute="leading" secondItem="o5K-ag-Vbf" secondAttribute="leading" id="QRi-T6-Rrf"/>
+                                                        <constraint firstItem="16N-22-eUq" firstAttribute="centerY" secondItem="o5K-ag-Vbf" secondAttribute="centerY" id="TRq-KF-6V5"/>
+                                                        <constraint firstAttribute="height" constant="28" id="akm-fS-W9J"/>
+                                                        <constraint firstAttribute="bottom" secondItem="ECb-Ab-7Fq" secondAttribute="bottom" id="h4U-Ga-39V"/>
+                                                        <constraint firstItem="KlW-6M-F8A" firstAttribute="leading" secondItem="ECb-Ab-7Fq" secondAttribute="trailing" constant="8" id="kMt-8X-ENQ"/>
+                                                        <constraint firstAttribute="bottom" secondItem="KlW-6M-F8A" secondAttribute="bottom" id="pWz-Zm-W8U"/>
+                                                        <constraint firstItem="ECb-Ab-7Fq" firstAttribute="top" secondItem="o5K-ag-Vbf" secondAttribute="top" id="r1Q-tU-ePa"/>
+                                                        <constraint firstItem="KlW-6M-F8A" firstAttribute="top" secondItem="o5K-ag-Vbf" secondAttribute="top" id="syK-Nu-TdQ"/>
+                                                    </constraints>
+                                                </customView>
                                             </subviews>
                                             <constraints>
                                                 <constraint firstItem="KXb-Fc-Ihu" firstAttribute="leading" secondItem="2Hk-KG-FSr" secondAttribute="leading" id="2ND-n1-fYL"/>
-                                                <constraint firstItem="Imv-vq-rsc" firstAttribute="top" secondItem="0xu-sT-F36" secondAttribute="bottom" constant="8" id="2qX-ld-GRV"/>
-                                                <constraint firstAttribute="trailing" secondItem="0xu-sT-F36" secondAttribute="trailing" id="9AY-Yp-9N0"/>
+                                                <constraint firstItem="o5K-ag-Vbf" firstAttribute="leading" secondItem="2Hk-KG-FSr" secondAttribute="leading" id="5wl-Gd-dUP"/>
+                                                <constraint firstItem="Imv-vq-rsc" firstAttribute="top" secondItem="o5K-ag-Vbf" secondAttribute="bottom" constant="8" id="HxS-Ie-ICF"/>
+                                                <constraint firstItem="o5K-ag-Vbf" firstAttribute="top" secondItem="2Hk-KG-FSr" secondAttribute="top" id="Iza-QQ-I4v"/>
                                                 <constraint firstAttribute="trailing" secondItem="ZY4-l7-Ejn" secondAttribute="trailing" id="RMg-ar-mLp"/>
-                                                <constraint firstItem="0xu-sT-F36" firstAttribute="leading" secondItem="2Hk-KG-FSr" secondAttribute="leading" id="URs-Mx-Bpb"/>
-                                                <constraint firstItem="0xu-sT-F36" firstAttribute="top" secondItem="2Hk-KG-FSr" secondAttribute="top" id="Xrb-gP-Ulh"/>
                                                 <constraint firstItem="Imv-vq-rsc" firstAttribute="leading" secondItem="2Hk-KG-FSr" secondAttribute="leading" id="Y0H-ih-Rgw"/>
                                                 <constraint firstItem="ZY4-l7-Ejn" firstAttribute="top" secondItem="KXb-Fc-Ihu" secondAttribute="bottom" constant="16" id="c55-3v-q3H"/>
                                                 <constraint firstAttribute="trailing" secondItem="KXb-Fc-Ihu" secondAttribute="trailing" id="iGT-gn-pAk"/>
                                                 <constraint firstAttribute="height" constant="120" id="j6Q-TK-M7b"/>
                                                 <constraint firstItem="KXb-Fc-Ihu" firstAttribute="top" secondItem="Imv-vq-rsc" secondAttribute="bottom" constant="8" id="oTP-4f-B8x"/>
+                                                <constraint firstAttribute="trailing" secondItem="o5K-ag-Vbf" secondAttribute="trailing" id="thc-FV-DHJ"/>
                                                 <constraint firstItem="ZY4-l7-Ejn" firstAttribute="leading" secondItem="2Hk-KG-FSr" secondAttribute="leading" id="ud3-KR-CPI"/>
                                                 <constraint firstAttribute="trailing" secondItem="Imv-vq-rsc" secondAttribute="trailing" id="y07-bZ-NS8"/>
                                             </constraints>
@@ -964,7 +1095,7 @@
                             </constraints>
                             <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="EmbeddedPayment14" id="Q6h-Sg-TIg"/>
                         </imageView>
-                        <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="pcl-Qd-CLL">
+                        <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="pcl-Qd-CLL">
                             <rect key="frame" x="87" y="26" width="58" height="16"/>
                             <constraints>
                                 <constraint firstAttribute="width" constant="54" id="skA-Pm-6Gg"/>
@@ -1169,7 +1300,7 @@
             <rect key="frame" x="0.0" y="0.0" width="445" height="264"/>
             <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
             <subviews>
-                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8Om-Bo-EFk">
+                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="8Om-Bo-EFk">
                     <rect key="frame" x="137" y="232" width="172" height="16"/>
                     <textFieldCell key="cell" lineBreakMode="clipping" title="Scan QR Code with WeChat" id="dCY-vA-Gcp">
                         <font key="font" usesAppearanceFont="YES"/>
@@ -1207,7 +1338,7 @@
                         <customView translatesAutoresizingMaskIntoConstraints="NO" id="Qf0-lb-5o7">
                             <rect key="frame" x="0.0" y="0.0" width="180" height="48"/>
                             <subviews>
-                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="asE-LH-mvG">
+                                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="asE-LH-mvG">
                                     <rect key="frame" x="-2" y="32" width="184" height="16"/>
                                     <textFieldCell key="cell" lineBreakMode="clipping" alignment="center" title="Purchased" id="tOJ-Jb-ivS">
                                         <font key="font" usesAppearanceFont="YES"/>
@@ -1215,7 +1346,7 @@
                                         <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
                                     </textFieldCell>
                                 </textField>
-                                <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hj7-ST-7me">
+                                <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hj7-ST-7me">
                                     <rect key="frame" x="-2" y="0.0" width="184" height="16"/>
                                     <textFieldCell key="cell" lineBreakMode="clipping" alignment="center" title="Successfully" id="h2L-ZH-7FT">
                                         <font key="font" usesAppearanceFont="YES"/>

+ 3 - 0
PDF Office/PDF Master/Strings/en.lproj/Localizable.strings

@@ -4153,3 +4153,6 @@
 "Old Document" = "Old Document";
 "Could not find a removable watermark in this document. If you see a watermark, it was not added with PDF Reader Pro and therefore cannot be detected." = "Could not find a removable watermark in this document. If you see a watermark, it was not added with PDF Reader Pro and therefore cannot be detected.";
 "Are you sure you want to remove the watermark?" = "Are you sure you want to remove the watermark?";
+
+"https://www.pdfreaderpro.com/store?mode=edu" = "https://www.pdfreaderpro.com/store?mode=edu";
+"https://www.pdfreaderpro.com/vpp-purchase-program" = "https://www.pdfreaderpro.com/vpp-purchase-program";

+ 4 - 0
PDF Office/PDF Master/Strings/fr.lproj/Localizable.strings

@@ -2953,3 +2953,7 @@
 "Old Document" = "anciens fichiers";
 "Could not find a removable watermark in this document. If you see a watermark, it was not added with PDF Reader Pro and therefore cannot be detected." = "Aucun filigrane amovible trouvé dans ce fichier. Si vous voyez un filigrane, cela signifie qu'il n'a pas été ajouté à l'aide de PDF Reader Pro et ne peut donc pas être détecté.";
 "Are you sure you want to remove the watermark?" = "Êtes-vous sûr de vouloir supprimer le filigrane du fichier ?";
+
+"https://www.pdfreaderpro.com/store?mode=edu" = "https://www.pdfreaderpro.com/fr/store?mode=edu";
+"https://www.pdfreaderpro.com/vpp-purchase-program" = "https://www.pdfreaderpro.com/fr/vpp-purchase-program";
+

+ 3 - 0
PDF Office/PDF Master/Strings/ja.lproj/Localizable.strings

@@ -3146,3 +3146,6 @@
 "Old Document" = "古い文書";
 "Could not find a removable watermark in this document. If you see a watermark, it was not added with PDF Reader Pro and therefore cannot be detected." = "このファイルには削除可能な透かしが見つかりません。ウォーターマークが表示された場合、それは PDF Reader Pro を使用して追加されたものではないため、検出できません。";
 "Are you sure you want to remove the watermark?" = "ファイルのウォーターマークを削除してもよろしいですか?";
+
+"https://www.pdfreaderpro.com/store?mode=edu" = "https://www.pdfreaderpro.com/ja/store?mode=edu";
+"https://www.pdfreaderpro.com/vpp-purchase-program" = "https://www.pdfreaderpro.com/ja/vpp-purchase-program";

+ 5 - 0
PDF Office/PDF Master/Strings/zh-Hans.lproj/Localizable.strings

@@ -4053,3 +4053,8 @@
 "Old Document" = "旧文件";
 "Could not find a removable watermark in this document. If you see a watermark, it was not added with PDF Reader Pro and therefore cannot be detected." = "无法在本文件中找到可删除的水印。如果您看到水印,其不是使用PDF Reader Pro 添加的,因此无法被检测到。";
 "Are you sure you want to remove the watermark?" = "确定要删除文件水印吗?";
+
+"https://www.pdfreaderpro.com/store?mode=edu" = "https://www.pdfreaderpro.com/zh-cn/store?mode=edu";
+"https://www.pdfreaderpro.com/vpp-purchase-program" = "https://www.pdfreaderpro.com/zh-cn/vpp-purchase-program";
+
+

+ 3 - 0
PDF Office/PDF Master/Strings/zh-Hant.lproj/Localizable.strings

@@ -4186,3 +4186,6 @@
 "Old Document" = "舊文件";
 "Could not find a removable watermark in this document. If you see a watermark, it was not added with PDF Reader Pro and therefore cannot be detected." = "無法在本文件中找到可刪除的浮水印。如果您看到浮水印,其不是使用PDF Reader Pro 新增的,因此無法被偵測到。";
 "Are you sure you want to remove the watermark?" = "確定要刪除檔案浮水印嗎?";
+
+"https://www.pdfreaderpro.com/store?mode=edu" = "https://www.pdfreaderpro.com/zh-tw/store?mode=edu";
+"https://www.pdfreaderpro.com/vpp-purchase-program" = "https://www.pdfreaderpro.com/zh-tw/vpp-purchase-program";

+ 64 - 0
PDF Office/PDF Reader Pro.xcodeproj/xcuserdata/kdanwj.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@@ -482,5 +482,69 @@
             landmarkType = "7">
          </BreakpointContent>
       </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "F1242FCE-2B49-4AD7-AB39-6095C53588EA"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "PDF Master/Class/Purchase/DMG/KMPurchaseEmbeddedWindowController.swift"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "1197"
+            endingLineNumber = "1197"
+            landmarkName = "textView(_:clickedOnLink:at:)"
+            landmarkType = "7">
+            <Locations>
+               <Location
+                  uuid = "F1242FCE-2B49-4AD7-AB39-6095C53588EA - f2292c9034421173"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMPurchaseEmbeddedWindowController.textView(_: __C.NSTextView, clickedOnLink: Any, at: Swift.Int) -&gt; Swift.Bool"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanwj/Git/Mac/PDF%20Office/PDF%20Office/PDF%20Master/Class/Purchase/DMG/KMPurchaseEmbeddedWindowController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "1197"
+                  endingLineNumber = "1197"
+                  offsetFromSymbolStart = "444">
+               </Location>
+               <Location
+                  uuid = "F1242FCE-2B49-4AD7-AB39-6095C53588EA - f2292c9034421173"
+                  shouldBeEnabled = "Yes"
+                  ignoreCount = "0"
+                  continueAfterRunningActions = "No"
+                  symbolName = "PDF_Reader_Pro.KMPurchaseEmbeddedWindowController.textView(_: __C.NSTextView, clickedOnLink: Any, at: Swift.Int) -&gt; Swift.Bool"
+                  moduleName = "PDF Reader Pro"
+                  usesParentBreakpointCondition = "Yes"
+                  urlString = "file:///Users/kdanwj/Git/Mac/PDF%20Office/PDF%20Office/PDF%20Master/Class/Purchase/DMG/KMPurchaseEmbeddedWindowController.swift"
+                  startingColumnNumber = "9223372036854775807"
+                  endingColumnNumber = "9223372036854775807"
+                  startingLineNumber = "1197"
+                  endingLineNumber = "1197"
+                  offsetFromSymbolStart = "688">
+               </Location>
+            </Locations>
+         </BreakpointContent>
+      </BreakpointProxy>
+      <BreakpointProxy
+         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
+         <BreakpointContent
+            uuid = "8F753E59-D4D4-4025-BBE7-AA6DE487E6A8"
+            shouldBeEnabled = "Yes"
+            ignoreCount = "0"
+            continueAfterRunningActions = "No"
+            filePath = "PDF Master/Class/Purchase/DMG/KMPurchaseEmbeddedWindowController.swift"
+            startingColumnNumber = "9223372036854775807"
+            endingColumnNumber = "9223372036854775807"
+            startingLineNumber = "356"
+            endingLineNumber = "356"
+            landmarkName = "btnAction()"
+            landmarkType = "7">
+         </BreakpointContent>
+      </BreakpointProxy>
    </Breakpoints>
 </Bucket>