Showing results for 
Search instead for 
Did you mean: 

Integration of ARB in .net framework 2.0

I want to to know how to integrate ARB in .net framework 2.0. Is there any sample code, or sdk link or SDK documents to integrate ARB in .net frameword 2.0.


@rahulknair  We would first recommend considering a supported version for your platforms, libraries and tools as required by PCI DSS.



Administrator Administrator

Hi Sir,

We have already implemented Authorise.Net Credit Card Payment integration in our project. I am pasting my code below. Sir I want to know whether it possible to integrate recurring billing in that.


  public static TransactionResponseInfo ProcessPayment(TransactionRequestInfo transaction, AuthNetAccountInfo account)
        TransactionResponseInfo response = new TransactionResponseInfo();

        WebClient objRequest = new WebClient();

        System.Collections.Specialized.NameValueCollection objInf = new System.Collections.Specialized.NameValueCollection(30);

        byte[] objRetBytes;
        string[] objRetVals;
        string strError = string.Empty;

        #region Set Request Values
        objInf.Add("x_version", account.AuthNetVersion);
        objInf.Add("x_login", account.AuthNetLoginID);
        objInf.Add("x_tran_key", account.AuthNetTransKey);

        objInf.Add("x_method", "CC");
        objInf.Add("x_type", "AUTH_CAPTURE");
        objInf.Add("x_amount", transaction.ChargeAmount.ToString());
        //objInf.Add("x_description", transaction.Description);

        objInf.Add("x_delim_data", "TRUE");
        objInf.Add("x_delim_char", "|");
        objInf.Add("x_relay_response", "FALSE");

        //objInf.Add("x_encap_char", "|");

        //// Billing Address
        objInf.Add("x_cust_id", transaction.CustomerID);        
        objInf.Add("x_first_name", transaction.FirstName);
        objInf.Add("x_last_name", transaction.LastName);
        objInf.Add("x_address", transaction.Address);
        objInf.Add("x_city", transaction.City);
        objInf.Add("x_state", transaction.State);
        objInf.Add("x_zip", transaction.Zip);
        objInf.Add("x_country", transaction.Country);
        objInf.Add("x_phone", transaction.Phone);
        objInf.Add("x_email", transaction.Email);

        // Card Details
        objInf.Add("x_card_num", transaction.CardNumber);
        objInf.Add("x_exp_date", transaction.ExpDate);

        //// Authorization code of the card (CCV)
        objInf.Add("x_card_code", transaction.SecurityCode);

        //// Currency setting. Check the guide for other supported currencies
        objInf.Add("x_currency_code", "USD");       

        if (account.IsTestMode)
            // Pure Test Server
            objInf.Add("x_test_request", "True");
            objRequest.BaseAddress = account.TestURL;         
        else if (!account.IsTestMode)
            // Actual Server
            objInf.Add("x_test_request", "False");
            objRequest.BaseAddress = account.ProductionURL;           

            objRetBytes = objRequest.UploadValues(objRequest.BaseAddress, "POST", objInf);

            objRetVals = System.Text.Encoding.ASCII.GetString(objRetBytes).Split(",".ToCharArray());

            response.ReturnCode = objRetVals[0].Trim(char.Parse("|"));
        catch (Exception ex)

        HandleResponse(response.ReturnCode, response);

        return response;

@rahulknair We cannot assist you with this. As @RichardH pointed out, Microsoft stopped supporting .NET 2.0 in April 2016. This means that using .NET 2.0 in a payment processing application, is a potential violation of the Payment Card Industry Data Security Standard.

We strongly urge you to upgrade your application to use .NET 4.6.1, which is currently supported by Microsoft, and for which we can provide SDKs to help your development.

"Move fast and break things," out. "Move carefully and fix what you break," in.