Intergration Error Codes

Below is a table explaining the error codes that are associated with CadiPay integration

Error CodeDetails
ERROR_CODE100One of fields used for creating the hashkey is missing
ERROR_CODE101Invalid or missing order method (xsp_method). should be LIVE or DEMO
ERROR_CODE200Invalid Merchant ID or you account is either in demo mode or suspended
ERROR_CODE201Invalid Hash Key
ERROR_CODE300Missing order type (xsp_ctype)
ERROR_CODE301Invalid order type. Sould be STANDARD, DONATION or BUTTON
ERROR_CODE302Missing required user details
ERROR_CODE303Missing shipping field (xsp_shipping)
ERROR_CODE304Invalid shipping argument. Set to YES or NO
ERROR_CODE305Missing same shipping argument (xsp_same_shipping)
ERROR_CODE306Invalid xsp_same_shipping. Set to YES or NO
ERROR_CODE307Missing required shipping details
ERROR_CODE400No item set for purchase in your cart. Missing xsp_i_1_total field
ERROR_CODE401Cart product error. Missing required product fields
ERROR_CODE402Invalid quantity (xsp_i_1_qty). Should be an interger.
ERROR_CODE403Invalid price value (xsp_i_1_unit_price)
ERROR_CODE404Invalid total value (xsp_i_1_total). Maximum of 2 decimal places. Accepted formats xxx, xxx.x and xxx.xx
ERROR_CODE405Quantity by unit price not equal to total
ERROR_CODE406Invalid VAT value (xsp_vat). Maximum of 2 decimal places. Accepted formats xxx, xxx.x and xxx.xx
ERROR_CODE407Invalid discount value (xsp_discount). Maximum of 2 decimal places. Accepted formats xxx, xxx.x and xxx.xx
ERROR_CODE500Invalid currency.
ERROR_CODE600Plugin Error
ERROR_CODE601Plugin missing paramata