4D Payments SDK 2016 .NET Edition
4D Payments SDK 2016 .NET Edition
Questions / Feedback?

FDMSRcResponse Type

Contains the response to the authorization.

Remarks

This type contains the results of a transaction made with the FDMSECommerce or FDMSRetail component. The fields contained by this type are listed below.

Fields

ApprovalCode
String

The Approval Code returned from the server after a successful authorization.

This value holds the approval code returned by the authorizer. This value will contain up to 8 characters. Only alphanumeric characters and spaces will be returned.

AuthorizedAmount
String

The amount actually charged to the card.

This value holds the amount charged to the card. In the case of a partial authorization this will be different than the amount specified in TransactionAmount.

You must collect the remainder via another form of payment, or Reverse the authorization if the customer does not have an additional form of payment.

This amount is to be presented with an implied decimal point. For example, US $10.00 must be represented as 1000, and $0.10 is likewise simply 10. The positioning of any implied decimal point is dictated by the CurrencyCode. The default currency code is for the United States.

The maximum number of digits allowed is 12 regardless of the position of the implied decimal point. This field may not contain a negative number.

AuthorizingNetworkId
String

This field indicates the network Id as returned by the host, if available.

This value is up to 3 alphanumeric characters.

AuthorizingNetworkName
String

This field indicates the authorizing network name as returned by the host, when available.

AVSResult
String

Contains the Address Verification System result code.

This one character field contains the Address Verification System (AVS) result code. This field is populated if a value is present in the response. An AVS result code can provide additional information concerning the authentication of a particular transaction for which cardholder address verification was requested. Possible AVS codes are listed in the table below.

Visa Card AVS Codes

CodeDescription
A Street address matches, postal code does not match
B Street addresses match; postal code not verified due to incompatible formats
C Street address and postal code not verified
D Street address and postal code match (International only)
F Street address and postal code match (UK)
G Address information not verified for international transaction. Issuer is not an AVS Participant, or, AVS data was present in the request but the issuer did not return an AVS result, or no address on file (International only)
I Address verification service not performed (International only)
M Street address and postal codes match (International only)
N No match; neither the street addresses nor the postal codes match
P Postal code matches; street address not verified
R Retry, system unavailable to process
S Service not supported
U Address information is unavailable
Y Both postal code and address match
Z Postal code matches, Street address does not match or Street address not included in request

MasterCard AVS Codes

A Street address matches, postal code does not match
E Error: Transaction ineligible for address verification or edit error found in the message that prevents AVS from being performed
N No match; neither the street addresses nor the postal codes match
R Retry, system unavailable to process
S Service not supported
U Address information is unavailable
W U.S. - Street Address does not match, nine digit postal code matches; For address outside the U.S., postal code matches, address does not
X Exact: U.S. - Address and 9-digit postal code match; For address outside the U.S., postal code matches, address does not
Y Yes: Address and 5-digit postal code match for US address
Z Five digit postal code matches, address does not match

Amex AVS Codes

A Street address matches, postal code does not match
N No match; neither the street addresses nor the postal code matches
R Retry, system unavailable to process
S Service not supported
U Address information is unavailable
Y Both postal code and address match
Z Nine or five digit postal code matches, address does not match
L Card member Name and Billing Postal Code match
M Card member Name, Billing Address and Postal Code match
O Card member Name and Billing Address match
K Card member Name matches
D Card member Name incorrect, Billing Postal Code matches
E Card member Name incorrect, Billing Address and Postal Code match
F Card member Name incorrect, Billing Address matches
W No, Card member Name, Billing Address and Postal Code are all incorrect

Discover or JCB

A Both address and five digit postal code match
G Address information not verified for international transaction
N No match; neither the street addresses nor the postal code matches
R Retry, system unable to process
S Service not supported
T No data received from Issuer
W Nine digit postal code matches, address does not match
X All digits match (nine digit zip code)
Y Street address matches, postal code does not match
Z Five digit postal code matches, address does not match

Balance
String

Contains the remaining available balance left on the card.

This balance amount will only be returned for prepaid cards.

CardLevelResult
String

This field is only applicable to Visa card. This field holds a two character value returned by Visa to designate the type of card product used to process the transaction.

Code
String

Contains the 3 digit response code indicating success or reason of failure.

This field contains a 3 digit code indicating success or the reason of failure. A value of 000 indicates approval. For all other values please see the Response Codes section.

CommercialCard
FDMSRcCommercialCards

Indicates whether the credit card charged is a corporate commercial card.

This is only applicable to Visa cards. Visa Business, corporate, and purchasing cards are subsets of commercial cards. Therefore, the user should send Level 2 (and possibly Level 3) data when calling Capture when this property indicates a commercial card was used. The following table indicates the type of commercial card:

fccNotCommercial (0)Card presented for authorization is not a commercial card
fccPurchaseCard (1)Card presented for authorization is a Visa Purchasing Card.
fccCorporateCard (2)Card presented for authorization is a Visa Corporate Card.
fccBusinessCard (3)Card presented for authorization is a Visa Business Card.
fccUnknown (4)Unable to obtain information from processor.

Note: Tax amounts should be included with the Level2 or Level3 data when calling Capture in order to receive the best interchange rate.

CVVResult
String

Contains the returned CVV result code (if CVV data was sent in the request).

If a CVV value was sent in the authorization, this field will contain the host returned Card Verification Value result code. This field is populated if a value is present in the response. The following is a list of current result codes:

Match Values match
NoMtch Values do not match
NotPrc Not processed
NotPrv Value not provided
NotPrt Issuer not participating
Unknwn Unknown

DatawireReturnCode
String

Contains an error code providing more details about the DatawireStatus received.

When a transaction is successfully passed from the application, through the Datawire system to the FDMS payment processor and back, the DatawireStatus will be "OK" and the DatawireReturnCode will be "000". These two fields have NO BEARING on the actual results of any transaction. Even though the transaction has successfully passed through the Datawire system, it can still fail to be processed successfully by FDMS. This field only indicates that the request reached FDMS, and that FDMS responded with some data.

The CaptureFlag and ApprovalCode fields contain the actual transaction result that was returned by FDMS.

The following is a list of possible Datawire return codes:

000 Transaction successfully passed through the Datawire system to the FDMS Payment Processor and back.
200 Host Busy - The processor's Host is busy and is currently unable to service this request.
201 Host Unavailable - The processor's Host is currently unavailable. For example, the server is sending NAK.
202 Host Connect Error - Could not connect to the processor's Host.
203 Host Drop - The processor's Host disconnected during the transaction before sending a response.
204 Host Comm Error - An error was encountered while communicating with the processor's Host.
205 No Response - No response from the processor's Host
206 Host Send Error - An error has encountered when sending the request to the processor, and the Host daemon cannot continue sending packets to the processor because the connection is broken.
405 Vxn Timeout - The request could not be processed.
505 Network Error - The request could not be processed.

DatawireStatus
String

Status of the communication with Datawire.

When a transaction is successfully passed from the application, through the Datawire system to the FDMS payment processor and back, the DatawireStatus will be "OK" and the DatawireReturnCode will be "000". These two fields have NO BEARING on the actual results of any transaction. Even though the transaction has successfully passed through the Datawire system, it can still fail to be processed successfully by FDMS. This field only indicates that the request reached FDMS, and that FDMS responded with some data.

The CaptureFlag and ApprovalCode fields contains the actual FDMS Transaction Result that was returned.

The following is a list of possible Datawire response status codes:

OKTransaction has successfully passed through the Datawire system to the FDMS Payment processor and back.
AuthenticationErrorDatawireId in the request was not successfully authenticated.
UnknownServiceIDServiceId part of the URL (in the Service Discovery or Ping request) is unknown.
WrongSessionContextThe SessionContext element of the Session Transaction request does not match the SessionContext returned by the InitiateSession response (applicable to the FDMSSettle component).
AccessDeniedGenerally, occurs when you try to register a merchant after a merchant has already been activated to use the Datawire VXN.
FailedYour Merchant Registration has failed. Contact tech.support@datawire.net for more information.
RetryRegistration is not yet complete. You must send the Registration request again.
TimeoutNo response from the Service Provider was received during the expected period of time.
XMLErrorRequest contains some XML error, such as malformed XML, violation of this DTD, etc.
OtherError Unspecified error occurred.
008Network Error

EMVData
String

Contains the EMV data returns in the response (if any).

This field is only applicable to Retail and Debit transactions.

POSData
String

This field holds transaction specific information returned by the issuer (if any). This is only applicable to MasterCard, Discover, and AmEx card transactions.

ReturnedACI
String

Returned Authorization Characteristics Indicator contains CPS qualification status.

This one character field contains the returned Authorization Characteristics Indicator (ACI) for Visa transactions. This value provides information concerning the transaction's Customer Payment Service (CPS) qualification status. It is not recommended that the Point of Sale (POS) system attempt to interpret the meaning of this value.

Possible returned ACI values are:

ValueDescription
A Card Present
C Card present with merchant name and location data (cardholder activated)
E Card present with merchant name and location data
F Card not present, Account Funding
K Key Entered Transaction (error while reading magnetic stripe data)
N Not a custom payment service transaction
R Card-not-present, AVS not required
S Card not present, e-commerce 3-D secure attempt
T Transaction cannot participate in CPS programs
U Card not present, 3-D secure
V Card-not-present, AVS requested
W Card not present, e-commerce non-3-D secure

RoutingIndicator
String

Indicates whether the transaction was processed as Credit or Debit. Possible values are:

ValueMeaning
CCredit
DDebit

SettlementDate
String

The date the transaction will be settled in the format MMDD.

Text
String

This field may hold additional text which describes the reason for a decline, the field in error, etc. Applications should not be coded to the text in this field as it is subject to change.

TransactionDate
String

The transaction date returned from the server in yyyyMMddHHmmss format.

This 15 digit field contains the transaction date and time returned by the Rapid Connect system. This is not a local datetime, it is the time according the Rapid Connect system.

TransactionId
String

Card issuer's Transaction Reference Number.

This field contains a Visa Transaction Id, MasterCard BankNet data, American Express Transaction Id, or Discover Network Result Indicator (NRID). If returned in the response, this field should be printed on the receipt.

Constructors

[VB.NET]
Public FDMSRcResponse()

[C#]
public FDMSRcResponse();



 
 
Copyright (c) 2020 4D Payments Inc. - All rights reserved.
4D Payments SDK 2016 .NET Edition - Version 16.0 [Build 7502]