public override void init(bool debugMode, string callbackClass, string callbackMethod, TheBaseAccountDelegate.Function callback)
 {
 public override void pay(string productID, string productName, float productPrice, string tradeNo, string userID, string notifyUrl, string callbackClass, string callbackMethod, TheBaseAccountDelegate.Function callback)
 {
     if ((Singleton <AccountManager> .Instance.accountConfig.paymentBranch != ConfigAccount.PaymentBranch.APPSTORE_CN) && (Singleton <AccountManager> .Instance.accountConfig.paymentBranch == ConfigAccount.PaymentBranch.ORIGINAL_ANDROID_PAY))
     {
         if (Singleton <ChannelPayModule> .Instance.GetPayMethodId() == ChannelPayModule.PayMethod.ALIPAY)
         {
             string[] textArray1 = new string[] { "subject=", productID, "&out_trade_no=", tradeNo, "&uid=", userID };
             string   str        = SecurityUtil.Md5(string.Concat(textArray1)) + userID;
             string   str4       = (((string.Empty + "partner=\"" + ALIPAY_PARTNER + "\"") + "&out_trade_no=\"" + tradeNo + "\"") + "&subject=\"" + productID + "\"") + "&body=\"" + str + "\"";
             string   content    = (((((string.Concat(new object[] { str4, "&total_fee=\"", productPrice, "\"" }) + "&notify_url=\"" + WWW.EscapeURL(notifyUrl) + "\"") + "&service=\"mobile.securitypay.pay\"" + "&_input_charset=\"utf-8\"") + "&return_url=\"" + WWW.EscapeURL("http://m.alipay.com") + "\"") + "&payment_type=\"1\"") + "&seller_id=\"" + ALIPAY_SELLER + "\"") + "&it_b_pay=\"1m\"";
             string   s          = RSAFromPkcs8.sign(content, ALIPAY_RSAPRIVATE, "utf-8");
             content = content + "&sign=\"" + WWW.EscapeURL(s) + "\"&sign_type=\"RSA\"";
             object[] args = new object[] { content };
             base._delegate.Call("pay", args);
         }
         else if (Singleton <ChannelPayModule> .Instance.GetPayMethodId() == ChannelPayModule.PayMethod.WEIXIN_PAY)
         {
             object[] objArray3 = new object[] { WEIXIN_PAY_APP_ID, this.weixinPrepayOrderInfo.partnerID, this.weixinPrepayOrderInfo.prepayID, WEIXIN_PAY_PACKAGE_VALUE, this.weixinPrepayOrderInfo.nonceStr, this.weixinPrepayOrderInfo.timestamp, this.weixinPrepayOrderInfo.sign };
             this._delegate_weixin.Call("pay", objArray3);
         }
     }
 }