|
@@ -2064,6 +2064,7 @@ class KMPurchaseEmbeddedWindowController: NSWindowController {
|
|
let requestDic: NSDictionary = dic["result"] as? NSDictionary ?? [:]
|
|
let requestDic: NSDictionary = dic["result"] as? NSDictionary ?? [:]
|
|
let status:String = requestDic["status"] as? String ?? ""
|
|
let status:String = requestDic["status"] as? String ?? ""
|
|
if(status.uppercased() == "COMPLETED") {
|
|
if(status.uppercased() == "COMPLETED") {
|
|
|
|
+ KMPurchaseSuccessWindowController.shared.showWindow(nil)
|
|
NotificationCenter.default.post(name: NSNotification.Name(rawValue: "KMIAPSubscriptionLoadedNotification"), object: nil)
|
|
NotificationCenter.default.post(name: NSNotification.Name(rawValue: "KMIAPSubscriptionLoadedNotification"), object: nil)
|
|
self.stopPolling()
|
|
self.stopPolling()
|
|
|
|
|