                     error = NSError(domain: "OAuth Error", code: -1, userInfo: nil)
                     return false
                 } else { // Pay
-                    shared.payCompletionHandler?(true)
+                    shared.payCompletionHandler?(.success(()))
                 }
                 return true
             } else { // Share

                    let memo = "Unknow Error"
                    let error = NSError(domain: memo, code: -1, userInfo: nil)
                    shared.oauthCompletionHandler?(nil, nil, error)
                    shared.payCompletionHandler?(false)
                    return false
                }


        case .weChat(let urlString):
            openURL(urlString: urlString) { flag in
                if flag { return }
                completionHandler(.failure(.apiRequest(.unrecognizedError(response: nil))))
            }
        case .alipay(let urlString):
            openURL(urlString: urlString) { flag in
                if flag { return }
                completionHandler(.failure(.apiRequest(.unrecognizedError(response: nil))))
            }
        }
    }
