예제 #1
0
        // tính securehash merchant
        public string get_MerchantSecure_Hash_SHA()
        {
            Secure_Hash_SHA sha = new Secure_Hash_SHA();

            return(sha.GetSHAHash(this.Merchant_secure_key + this.Bank_code + this.Command
                                  + this.Current_code + this.Good_code + this.Merchant_code + this.Merchant_trans_id
                                  + this.Nest_code + this.Response_code + this.Service_code + this.Ship_fee + this.Tax + this.Trans_id).ToUpper());
        }
예제 #2
0
        // tính securehash keypay
        public string get_Secure_Hash_SHA()
        {
            Secure_Hash_SHA sha = new Secure_Hash_SHA();

            return(sha.GetSHAHash(this.Merchant_secure_key + this.Command + this.Country_Code
                                  + this.Current_code + this.Current_local + this.Good_code + this.Merchant_code + this.Merchant_trans_id
                                  + this.Nest_code + this.Return_url + this.Service_code + this.Ship_fee + this.Tax + this.Version).ToUpper());
        }