Response Property
Contains the response to the recurring transaction.
Syntax
[VB.NET] Public ReadOnlyProperty Response As EPRecurringResponse
[C#] public EPRecurringResponse Response {get;}
Remarks
This property will contain the response returned from the Gateway server. It should be inspected (and logged) after a call to CreateSubscription, UpdateSubscription, or CancelSubscription. The EPRecurringResponse type contains the following fields:
ApprovalCode | Contains an authorization code for an approved transaction. |
Approved | Indicates whether the transaction was successful (True) or unsuccessful (False). |
AVSResult | Contains the Address Verification System result code. Used for fraud detection. |
Code | Indicates the success or failure of the transaction. |
CVVResult | Contains the returned CVV result code if it was requested. Used for fraud detection. |
Data | Contains the raw response from the host. |
ErrorCode | Additional code returned for declined or failed transactions. |
ErrorText | Description of the error which occurred. |
InvoiceNumber | Merchant-generated invoice number echoed back in the response. |
ProcessorCode | Return code generated by the processor, or additional gateway response code that may contain more information beyond "Approved" or "Declined". |
Text | Contains a human-readable message explaining the code. |
TransactionId | Host-generated transaction identifier, used for Captures, Credits, or Voids. |
SubscriptionId | Contains the Subscription or Profile Identifier for the recurring payment. |
Note that many gateways do not return values in all of these fields. Any field in the Data which has not been parsed into these Response fields may be retrieved with the GetResponseVar method.
This property is read-only and not available at design time.