List of CCAvenue Response Code

NameDescriptionType (length)
order_idUnique ID sent by the merchant at the time of initiating the transaction.Alphanumeric (30)
tracking_idUnique payment reference number generated by CCAvenue for each order.Numeric (12)
bank_ref_noReference number generated by the bank for the transaction.Alphanumeric
order_statusStatus of the transaction. Success Failure Aborted InvalidAlphabets (15)
failure_messageReason for failure.Alphanumeric
payment_modeMode of payment used by the customer Credit Card Net banking Debit Card Cash Card Mobile PaymentAlphabets
card_nameThe name of the card/bank used by the customer to make the payment. Credit Card - Visa, Mastercard, Amex Netbanking - ICICI, HDFC, SBI etc.Alphanumeric
status_codeAuthorization code received from the bank.Numeric (3)
status_messageAuthorization status message received from the bank.Alphanumeric (150)
currencyCurrency code in which the transaction was processed. INR - Indian Rupee USD - United States Dollar SGD - Singapore Dollar GBP - Pound Sterling EUR - Euro, official currency of EurozoneAlphabets (3)
amountOrder amountNumeric (12, 2)
billing_ nameName of the customerAlphabets (60)
billing_ addressCustomer's billing addressAlphanumeric (150)
billing_ cityCustomer's billing cityAlphabets (30)
billing_ stateCustomer's billing stateAlphabets (30)
billing_ zipCustomer's billing zip codeAlphanumeric (15)
billing_ countryCustomer's billing countryAlphabets (50)
billing_ telCustomer's phone numberNumeric (20)
billing_ emailCustomer's email addressAlphanumeric (70)
delivery_ nameRecipient's nameAlphabets (60)
delivery_ addressShipping addressAlphanumeric (150)
delivery_ cityShipping cityAlphabets (30)
delivery_ stateShipping stateAlphabets (30)
delivery_ zipShipping zip codeAlphanumeric (15)
delivery_ countryShipping countryAlphabets (50)
delivery_ telShipping phone numberNumeric (22)
merchant_param1Additional information about the transaction sent by the merchant.Alphanumeric (100)
merchant_param2Additional information about the transaction sent by the merchant.Alphanumeric (100)
merchant_param3Additional information about the transaction sent by the merchant.Alphanumeric (100)
merchant_param4Additional information about the transaction sent by the merchant.Alphanumeric (100)
merchant_param5Additional information about the transaction sent by the merchant.Alphanumeric (100)
vaultThis parameter can be used if merchant availing the vault option. On using vault functionality if card details are saved at CCAvenue end value returned will be Y. If card details are not saved at CCAvenue end the value returned for this parameter will be N.Character (1)
offer_typeThis parameter can be used for sending additional information if customer has used any discount or promotion while completing the transaction. If customer is using discount-coupon, value of this parameter would be discount. If customer is using promo-code, value of this parameter would be promotion.Alphabets (9)
offer_codeThis parameter can be used for sending additional information about the discount coupon and Promo code used while completing the transaction. If customer has used Discount the value sent would be Discount code. If customer has used Promotion the value sent would be Promo code.Alphanumeric (30)
discount_valueThis parameter can be used for sending additional information about the discounted amount.Numeric (12,2)

List of CCAvenue Error Codes

Error CodeShort MessageLong MessageCorrecting this Error
10002Authentication FailedMerchant Authentication failedThis error can be caused by an incorrect merchant ID, an incorrect access code, or if the order originates from an unregistered URL. Make sure that all three of these values are correct. For your security, CCAvenue does not report exactly which of these three values might be in error.
21001Missing Parameterorder_id:Required parameter missingEnsure that the order_id parameter is not blank.
21002Missing Parametercurrency: Required paramter missingEnsure that the currency parameter is not blank.
21003Missing Parameteramount:Required parameter missingEnsure that the amount parameter is not blank.
21004Missing Parameterbilling_name: Required parameter missingEnsure that the billing_name parameter is not blank.
21005Missing Parameterbilling_address: Required parameter missingEnsure that the billing_address parameter is not blank.
21006Missing Parameterbilling_city: Required parameter missingEnsure that the billing_city parameter is not blank.
21007Missing Parameterbilling_state: Required parameter missingEnsure that the billing_state parameter is not blank.
21008Missing Parameterbilling_zip: Required parameter missingEnsure that the billing_zip parameter is not blank.
21009Missing Parameterbilling_country: Required parameter missingEnsure that the billing_country parameter is not blank.
21010Missing Parameterbilling_tel: Required parameter missingEnsure that the billing_tel parameter is not blank.
21011Missing Parameterbilling_email: Required parameter missingEnsure that the billing_email parameter is not blank.
21012Missing Parameterdelivery_name: Required parameter missingEnsure that the delivery_name parameter is not blank.
21013Missing Parameterdelivery_address: Required parameter missingEnsure that the delivery_address parameter is not blank.
21014Missing Parameterdelivery_city: Required parameter missingEnsure that the billing_city parameter is not blank.
21015Missing Parameterdelivery_state: Required parameter missingEnsure that the delivery_state parameter is not blank.
21016Missing Parameterdelivery_zip: Required parameter missingEnsure that the delivery_zip parameter is not blank.
21017Missing Parameterdelivery_country: Required parameter missingEnsure that the delivery_country parameter is not blank.
21018Missing Parameterdelivery_tel: Required parameter missingEnsure that the delivery_tel parameter is not blank.
21020Missing Parametercard_name: Required parameter missingEnsure that the card_name parameter is not blank.
21021Missing Parametercard_type: Required parameter missingEnsure that the card_type parameter is not blank.
21022Missing Parameterpayment_option: Required parameter missingEnsure that the payment_option parameter is not blank.
21023Missing Parametercard_number: Required parameter missingEnsure that the card_number parameter is not blank.
21024Missing Parameterexpiry_month: Required parameter missingEnsure that the expiry_month parameter is not blank.
21025Missing Parameterexpiry_year: Required parameter missingEnsure that the expiry_year parameter is not blank.
21026Missing Parametercvv_number: Required parameter missingEnsure that the cvv_number parameter is not blank.
21027Missing Parameterissuing_bank: Required parameter missingEnsure that the issuing_bank parameter is not blank.
21028Missing Parameteremi_plan_id: Required parameter missingEnsure that the emi_plan_id parameter is not blank.
21029Missing Parameteremi_tenure_id: Required parameter missingEnsure that the emi_tenure_id parameter is not blank.
21031Missing Parametermm_id: Required parameter missingEnsure that the mmid parameter is not blank.
21032Missing Parameterotp: Required parameter missingEnsure that the otp parameter is not blank.
31001Invalid Parameterorder_id:Invalid ParameterEnsure that the order_id parameter is not Invalid.
31002Invalid Parametercurrency: Invalid ParameterEnsure that the currency parameter is not Invalid.
31003Invalid Parameteramount:Invalid ParameterEnsure that the amount parameter is not Invalid.
31004Invalid Parameterbilling_name: Invalid ParameterEnsure that the billing_name parameter is not Invalid.
31005Invalid Parameterbilling_address: Invalid ParameterEnsure that the billing_address parameter is not Invalid.
31006Invalid Parameterbilling_city: Invalid ParameterEnsure that the billing_city parameter is not Invalid.
31007Invalid Parameterbilling_state: Invalid ParameterEnsure that the billing_state parameter is not Invalid.
31008Invalid Parameterbilling_zip: Invalid ParameterEnsure that the billing_zip parameter is not Invalid.
31009Invalid Parameterbilling_country: Invalid ParameterEnsure that the billing_country parameter is not Invalid.
31010Invalid Parameterbilling_tel: Invalid ParameterEnsure that the billing_tel parameter is not Invalid.
31011Invalid Parameterbilling_email: Invalid ParameterEnsure that the billing_email parameter is not Invalid.
31012Invalid Parameterdelivery_name: Invalid ParameterEnsure that the delivery_name parameter is not Invalid.
31013Invalid Parameterdelivery_address: Invalid ParameterEnsure that the delivery_address parameter is not Invalid.
31014Invalid Parameterdelivery_city: Invalid ParameterEnsure that the billing_city parameter is not Invalid.
31015Invalid Parameterdelivery_state: Invalid ParameterEnsure that the delivery_state parameter is not Invalid.
31016Invalid Parameterdelivery_zip: Invalid ParameterEnsure that the delivery_zip parameter is not Invalid.
31017Invalid Parameterdelivery_country: Invalid ParameterEnsure that the delivery_country parameter is not Invalid.
31018Invalid Parameterdelivery_tel: Invalid ParameterEnsure that the delivery_tel parameter is not Invalid.
31020Invalid Parametercard_name: Invalid ParameterEnsure that the card_name parameter is not Invalid.
31021Invalid Parametercard_type: Invalid ParameterEnsure that the card_type parameter is not Invalid.
31022Invalid Parameterpayment_option: Invalid ParameterEnsure that the payment_option parameter is not Invalid.
31023Invalid Parametercard_number: Invalid ParameterEnsure that the card_number parameter is not Invalid.
31024Invalid Parameterexpiry_month: Invalid ParameterEnsure that the expiry_month parameter is not Invalid.
31025Invalid Parameterexpiry_year: Invalid ParameterEnsure that the expiry_year parameter is not Invalid.
31026Invalid Parametercvv_number: Invalid ParameterEnsure that the cvv_number parameter is not Invalid.
31027Invalid Parameterissuing_bank: Invalid ParameterEnsure that the issuing_bank parameter is not Invalid.
31028Invalid Parameteremi_plan_id: Invalid ParameterEnsure that the emi_plan_id parameter is not Invalid.
31029Invalid Parameteremi_tenure_id: Invalid ParameterEnsure that the emi_tenure_id parameter is not Invalid.
31030Invalid Parameterorder_uid: Invalid ParameterEnsure that the order_uid parameter is not Invalid.
31031Invalid Parametermm_id: Invalid ParameterEnsure that the mm_id parameter is not Invalid.
31032Invalid Parameterotp: Invalid ParameterEnsure that the otp parameter is not Invalid.
31034Invalid ParameterSelected EMI facility is not valid for entered cardAs verified by bank EMI transactions are not enabled on this card.


Aravind Appadurai

Aravin