private XmlNode EncryptInfos(string shopId, string currencyCode, string total, string transactionId)
    {
        var wsCrypt = new WSCryptDecrypt();

        return(wsCrypt.Encrypt(shopId, currencyCode, total, transactionId, string.Empty, string.Empty, string.Empty,
                               string.Empty, string.Empty, string.Empty, string.Empty, string.Empty));
    }
Exemple #2
0
    private XmlNode GetTransactionResult()
    {
        var myshoplogin = Utility.SearchConfigValue("SELLACODE"); // "GESPAY54218"
        // Banca Sella ws (crypt / decrypt)
        var wsCrypt           = new WSCryptDecrypt();
        var responseToDecrypt = Request.QueryString["b"];

        return(wsCrypt.Decrypt(myshoplogin, responseToDecrypt));
    }