Authorize.net Update on Akamai

Authorize.Net will update access to internet connections that serve our data centers. Instead of allowing direct connections, all internet traffic will be routed through Akamai, a third-party cloud network that routes and delivers internet traffic.

New Akamai Transaction URLs Available Now:

https://api2.authorize.net/xml/v1/request.api

https://api2.authorize.net/soap/v1/Service.asmx

https://secure2.authorize.net/gateway/transact.dll

How do I go about updating my current system to use them?

require_once 'anet_php_sdk/AuthorizeNet.php'; 
    define("AUTHORIZENET_API_LOGIN_ID", $authLogin);
    define("AUTHORIZENET_TRANSACTION_KEY", $authKey);
    //Set to true for test account, set to false for real account
    define("AUTHORIZENET_SANDBOX", false);
    $sale = new AuthorizeNetAIM;
    $sale->amount = $rate;
    $sale->card_num = $ccnumber;
    $sale->exp_date = $ccexpire;
    $sale->card_code = $cccvv;
    $response = $sale->authorizeOnly();
    //If approved, use this for getting the transaction ID.
    if ($response->approved) {
        $transaction_id = $response->transaction_id;


    require_once 'anet_php_sdk/AuthorizeNet.php';
    define("AUTHORIZENET_API_LOGIN_ID", $authLogin);
    define("AUTHORIZENET_TRANSACTION_KEY", $authKey);
    $subscription                          = new AuthorizeNet_Subscription;
    $subscription->name                    = "Monitoring";
    $subscription->intervalLength          = "1";
    $subscription->intervalUnit            = "months";
    $subscription->startDate               = $subStartDate;
    $subscription->totalOccurrences        = "9999";
    $subscription->amount                  = $rate;
    $subscription->creditCardCardNumber    = $ccnumber;
    $subscription->creditCardExpirationDate= $ccexpire;
    $subscription->creditCardCardCode      = $cccvv;
    $subscription->billToFirstName         = $firstname;
    $subscription->billToLastName          = $lastname;

    $request = new AuthorizeNetARB;
    $response = $request->createSubscription($subscription);
    $subscription_id = $response->getSubscriptionId();

      

+3


source to share


1 answer


Version 1.8.5 SDK Authorize.Net now supports new Akamai endpoints. You can get them here: https://Github.com/authorizenet



+4


source







All Articles