AuthorizeNetARB

Extends \AuthorizeNetRequest

A class to send a request to the ARB XML API.

package

AuthorizeNet

subpackage

AuthorizeNetARB

Methods

Optional. Used if the merchant wants to set a reference ID.

setRefId(string $refId) 

Arguments

$refId

string

Create an ARB subscription

createSubscription(\AuthorizeNet_Subscription $subscription) : \AuthorizeNetARB_Response

Arguments

Response

\AuthorizeNetARB_Response

Update an ARB subscription

updateSubscription(int $subscriptionId, \AuthorizeNet_Subscription $subscription) : \AuthorizeNetARB_Response

Arguments

$subscriptionId

int

Response

\AuthorizeNetARB_Response

Get status of a subscription

getSubscriptionStatus(int $subscriptionId) : \AuthorizeNetARB_Response

Arguments

$subscriptionId

int

Response

\AuthorizeNetARB_Response

Cancel a subscription

cancelSubscription(int $subscriptionId) : \AuthorizeNetARB_Response

Arguments

$subscriptionId

int

Response

\AuthorizeNetARB_Response

_handleResponse

_handleResponse(string $response) : \AuthorizeNetARB_Response

Arguments

$response

string

Response

\AuthorizeNetARB_Response

_getPostUrl

_getPostUrl() : string

Response

string

Prepare the XML document for posting.

_setPostString() 

Constructor.

__construct(string $api_login_id = false, string $transaction_key = false) 
inherited

Arguments

$api_login_id

string

The Merchant's API Login ID.

$transaction_key

string

The Merchant's Transaction Key.

Alter the gateway url.

setSandbox(bool $bool) 
inherited

Arguments

$bool

bool

Use the Sandbox.

Set a log file.

setLogFile(string $filepath) 
inherited

Arguments

$filepath

string

Path to log file.

Return the post string.

getPostString() : string
inherited

Response

string

Posts the request to AuthorizeNet & returns response.

_sendRequest() : \AuthorizeNetARB_Response
inherited

Response

\AuthorizeNetARB_Response

The response.

Constants

LIVE_URL

LIVE_URL

SANDBOX_URL

SANDBOX_URL

Properties

_request_type

_request_type

_request_payload

_request_payload

_transaction_key

_transaction_key
inherited

_post_string

_post_string
inherited

VERIFY_PEER

VERIFY_PEER
inherited

_sandbox

_sandbox
inherited

_log_file

_log_file
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited


                                
inherited