Response


Path: CnPAPI.Engine.Response

Replies from the gateway (Authorize, Decline) are provided in this container.

ResponseCode

Name  

ResponseCode  

Path  

CnPAPI.Engine.Response.ResponseCode  

Description  

An integer value response for transaction.  

Data Type  

Int  

Range  

See Response Codes|tag=System Response Codes;document=WordDocuments\PaaS.docx for detail  

Operation  

All operations  

Input/output  

Output  

Version/Release  

1.2  

Required  

Yes  

 


System Response Codes

Code range  

Description  

0  

No errors operation successfully processed  

1000  

All Internal Errors  

2000  

All errors related to parameters sent  

3000  

All errors related to request operation  

4000  

All errors related to transaction before processing  

5000  

All errors related to decline  

 

Code range  

Description  

2051  

XML/JSON Error  

2052  

XML Error  

2053  

XML Error  

2054  

Total amount is wrong  

2055  

AccountGuid is not valid  

2056  

AccountId is not valid  

2057  

Username is not valid  

2058  

Password is not valid  

2059  

Invalid recurring parameters  

2060  

Account is disabled  

2101  

Cardholder information is null  

2102  

Cardholder information is null  

2103  

Cardholder information is null  

2104  

Invalid billing country  

2105  

Credit Card number is not valid  

2106  

Cvv2 is blank  

2107  

Cvv2 length error  

2108  

Invalid currency code  

2109  

CreditCard object is null  

2110  

Invalid card type  

2111  

Card type not currently accepted  

2112  

Card type not currently accepted  

2210  

Order item list is empty  

2212  

CurrentTotals is null  

2213  

CurrentTotals is invalid  

2214  

TicketList lenght is not equal to quantity  

2215  

NameBadge lenght is not equal to quantity  

2216  

Invalid textonticketbody  

2217  

Invalid textonticketsidebar  

2218  

Invalid NameBadgeFooter  

2304  

Shipping CountryCode is invalid  

2401  

IP address is null  

2402  

Invalid operation  

2501  

WID is invalid  

2502  

Production transaction is not allowed. Contact support for activation.  

2601  

Invalid character in a Base-64 string  

2701  

ReferenceTransaction Information Cannot be NULL  

2702  

Invalid Reference¬†Transaction Information  

2703  

Expired credit card  

2805  

eCheck Account number is invalid  

2807  

Invalid payment method  

2809  

Invalid payment method  

2811  

eCheck payment type is currently not accepted  

2812  

Invalid check number  

Message

Name  

Message  

Path  

CnPAPI.Engine.Response.Message  

Description  

Friendly detailed message about any errors  

Data Type  

String  

Range  

See Descriptions|tag=Message Descriptions;document=WordDocuments\PaaS.docx for detail  

Operation  

All operations  

Input/output  

Output  

Version/Release  

1.2  

Required  

Yes  

 

 

 

Message Descriptions

Code  

Action  

Description  

0  

D  

Operation successfully processed  

1001  

R  

Internal error. Retry transaction  

1002  

R  

Error occurred on external gateway please try again  

2001  

D  

Invalid account information  

2002  

D  

Transaction total is not correct  

2003  

D  

Invalid parameters  

2004  

D  

Document is not a valid xml file  

2005  

D  

OrderList can not be empty  

3001  

D  

Invalid RefrenceTransactionID  

3002  

D  

Invalid operation for this transaction  

4001  

D  

Fraud transaction  

4002  

D  

Duplicate transaction  

5001  

D  

Declined (general)  

5002  

D  

Declined (lost or stolen card)  

5003  

D  

Declined (fraud)  

5004  

D  

Declined (Card expired)  

5005  

D  

Declined (Cvv2 is not valid)  

5006  

D  

Declined (Insufficient fund)  

5007  

D  

Declined (Invalid credit card number)  

 

 

 

 




 RSS of this page