Relay Response URL

Purpose

Relay Response instructs the payment gateway to return transaction results using an HTML form POST to a specified URL on the merchants Web server.

Common Usage

A script or program at the URL can be used to create a custom receipt page using the transaction information. The custom receipt page is then relayed back to the customer's browser. Relay Response does not redirect the end user back to the merchant’s server, but relays the page content to the end user instead of displaying the Authorize.Net default receipt page.

 

Request XML:

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<ManageAccount
xmlns="http://schemas.abcommerce.com/ABC/v2.0/TransactionProcessing">
<sessionToken>PHNhbWw6Q</sessionToken>
<transaction
xmlns:ns1="http://schemas.abcommerce.com/ABC/v2.0/Transactions/StoredValue"
xsi:type="ns1:StoredValueTransaction">
<ns2:RelayResponseUrl
xmlns:ns2="http://schemas.abcommerce.com/ABC/v2.0/Transactions">https://www.relayresponse.com/Notification.aspx</ns2:RelayResponseUrl>
<ns3:CustomerData
xmlns:ns3="http://schemas.abcommerce.com/ABC/v2.0/Transactions"
xsi:nil="true"/>
<ns4:ReportingData
xmlns:ns4="http://schemas.abcommerce.com/ABC/v2.0/Transactions">
<ns4:Comment
xsi:nil="true"/>
<ns4:Description
xsi:nil="true"/>
<ns4:Reference>3444444</ns4:Reference>
</ns4:ReportingData>
<ns5:Addendum
xmlns:ns5="http://schemas.abcommerce.com/ABC/v2.0/Transactions"
xsi:nil="true"/>
<ns1:TenderData>
<ns6:PaymentAccountDataToken
xmlns:ns6="http://schemas.abcommerce.com/ABC/v2.0/Transactions"
xsi:nil="true"/>
<ns7:SecurePaymentAccountData
xmlns:ns7="http://schemas.abcommerce.com/ABC/v2.0/Transactions"
xsi:nil="true"/>
<ns8:EncryptionKeyId
xmlns:ns8="http://schemas.abcommerce.com/ABC/v2.0/Transactions"
xsi:nil="true"/>
<ns9:SwipeStatus
xmlns:ns9="http://schemas.abcommerce.com/ABC/v2.0/Transactions"
xsi:nil="true"/>
<ns1:CardData>
<ns1:TrackData
xsi:nil="true"/>
<ns1:AccountNumber>09300000555001</ns1:AccountNumber>
<ns1:Expire>1215</ns1:Expire>
<ns1:Track1Data/>
<ns1:Track2Data/>
</ns1:CardData>
<ns1:CardSecurityData
xsi:nil="true"/>
<ns1:CardholderId
xsi:nil="true"/>
<ns1:ConsumerIdentifications
xsi:nil="true"/>
</ns1:TenderData>
<ns1:TransactionData>
<ns10:Amount
xmlns:ns10="http://schemas.ipcommerce.com/CWS/v2.0/Transactions">150.00</ns10:Amount>
<ns11:CurrencyCode
xmlns:ns11="http://schemas.ipcommerce.com/CWS/v2.0/Transactions">USD</ns11:CurrencyCode>
<ns12:TransactionDateTime
xmlns:ns12="http://schemas.ipcommerce.com/CWS/v2.0/Transactions">2015-01-15T14:48:21</ns12:TransactionDateTime>
<ns13:CampaignId
xmlns:ns13="http://schemas.ipcommerce.com/CWS/v2.0/Transactions"
xsi:nil="true"/>
<ns14:Reference
xmlns:ns14="http://schemas.ipcommerce.com/CWS/v2.0/Transactions"
xsi:nil="true"/>
<ns1:EmployeeId>5</ns1:EmployeeId>
<ns1:IndustryType>Retail</ns1:IndustryType>
<ns1:CardRestrictionValue xsi:nil="true"/>
<ns1:EntryMode>Keyed</ns1:EntryMode>
<ns1:OperationType>Activate</ns1:OperationType>
<ns1:OrderNumber>12345</ns1:OrderNumber>
</ns1:TransactionData>
</transaction>
<applicationProfileId>17406</applicationProfileId>
<merchantProfileId>ABCDEF 093014</merchantProfileId>
</ManageAccount>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Response XML:

<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope
xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Body>
<ManageAccountResponse
xmlns="http://schemas.abcommerce.com/ABC/v2.0/TransactionProcessing">
<ManageAccountResult
i:type="b:StoredValueTransactionResponse"
xmlns:a="http://schemas.abcommerce.com/ABC/v2.0/Transactions"
xmlns:b="http://schemas.abcommerce.com/ABC/v2.0/Transactions/StoredValue"
xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:Status>Successful</a:Status>
<a:StatusCode>0</a:StatusCode>
<a:StatusMessage>Approval</a:StatusMessage>
<a:TransactionId>58FDD9BDA0df8C3DEE35A85F</a:TransactionId>
<a:OriginatorTransactionId>1002</a:OriginatorTransactionId>
<a:ServiceTransactionId/>
<a:ServiceTransactionDateTime>
<a:Date>2015-01-15</a:Date>
<a:Time>14:48:21.000</a:Time>
<a:TimeZone>-07:00</a:TimeZone>
</a:ServiceTransactionDateTime>
<a:Addendum
i:nil="true"/>
<a:CaptureState>ReadyForCapture</a:CaptureState>
<a:TransactionState>NotSet</a:TransactionState>
<a:IsAcknowledged>false</a:IsAcknowledged>
<a:Reference
i:nil="true"/>
<b:Amount>0.00</b:Amount>
<b:FeeAmount>0.00</b:FeeAmount>
<b:ApprovalCode>13465465</b:ApprovalCode>
<b:CVResult>NotSet</b:CVResult>
<b:CashBackAmount>0.00</b:CashBackAmount>
<b:LockAmount>0.00</b:LockAmount>
<b:NewBalance>150.00</b:NewBalance>
<b:PreviousBalance>0.00</b:PreviousBalance>
<b:CardStatus>NotSet</b:CardStatus>
<b:AccountNumber/>
<b:CVData/>
<b:CardRestrictionValue
i:nil="true"/>
<b:PaymentAccountDataToken>58fdd9bd-716a53191d9d</b:PaymentAccountDataToken>
<b:MaskedPAN>0930004354540001</b:MaskedPAN>
<b:OrderId>802</b:OrderId>
<b:Expire i:nil="true"/>
</ManageAccountResult>
</ManageAccountResponse>
</s:Body>
</s:Envelope>

 

 

 

 

Comments