Browse Source

【内嵌支付】支付接口传入本地license

wanjun 6 months ago
parent
commit
7e93528eb2

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

@@ -923,7 +923,7 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
                 return
             }
         }
-        self._buyProduct(productID, count: pdfCount, discountId: coupomTextField.stringValue, payment: paymentMethod, email: emailTextField.stringValue) { [weak self] info, err in
+        self._buyProduct(productID, count: pdfCount, discountId: coupomTextField.stringValue, payment: paymentMethod, license: VerificationManager.default().licenseCode, email: emailTextField.stringValue) { [weak self] info, err in
             guard let self = self else { return }
             if err != nil {return}
             if let dataInfo = info {