Error codes

1. ILLEGAL_URL_FORMAT
Return URLs or notification URLs are in the wrong format. Example of a correct format would be http://www.dinpay.com.

2. ORDER_NO_IS_TOO_LONG
Order number should not exceed 64 characters.

3. ORDER_TIME_IS_NULL
Order time must be specified and should not be null.

4. ILLEGAL_ORDER_TIME_FORMAT
Order time is in the wrong format. Example of a correct format would be 2013-11-1 12:12:12

5. ORDER_AMOUNT_IS_NULL
Order amount must be specified and should not be null.

6. ILLEGAL_ORDER_AMOUNT_FORMAT
Order amount is in the wrong format. It must be a numeric, followed by a decimal point and two digits, for example: 0.01

7. PRODUCT_NAME_IS_NULL
Product name must be specified and should not be null.

8. PRODUCT_NAME_IS_TOO_LONG
Product name must not exceed 100 characters.

9. SHOW_URL_IS_TOO_LONG
Show URL must not exceed 200 characters.

10. ILLEGAL_SHOW_URL_FORMAT
Show URL is in the wrong format. Example of a correct format would be http://www.dinpay.com

11. ILLEGAL_PRODUCT_NUM_FORMAT
Product number is in the wrong format. It must be a numeric.

12. PRODUCT_CODE_IS_TOO_LONG
Product code must not exceed 60 characters.

13. PRODUCT_DESC_IS_TOO_LONG
Product description must not exceed 300 characters.

14. EXTRA_RETURN_PARAM_IS_TOO_LONG
Extra return parameter must not exceed 100 characters.

15. EXTEND_PARAM_IS_NULL
Extended parameter must be specified and should not be null.

16. ILLEGAL_EXTEND_PARAM_FORMAT
Extra return parameter is in the wrong format. Example of a correct format would be: name^JohnDoe|age^19

17. ILLEGAL_MD5_KEY
Password is not set. Password must be specified and should not be null.

18. TRADE_NOT_EXIST
Order number does not exist.

19. TRADE_NO_IS_NULL
Order number must be specified and should not be null.

20. ILLEGAL_SERVICE_TYPE
Service type is incorrect or null.

21. MERCHANT_CODE_IS_NULL
Merchant code must be specified and should not be null.

22. ILLEGAL_MERCHANT_CODE
Merchant code is incorrect, unregistered or inconsistent.

23. MERCHANT_STATUS_INVALID
Merchant code is in an abnormal state or is not approved.

24. ILLEGAL_ACCESS_SERVICE
Access is denied due to closure of service or merchant code is not allowed to use the service yet.

25. ILLEGAL_ACCESS_WEBSITE
Illegal access. The site could be a blacklisted website.

26. INPUT_CHARSET_IS_NULL
Input charset must be specified and should not be null.

27. ILLEGAL_INPUT_CHARSET
Input charset must be in UTF-8 or GBK.

28. CLIENT_IP_IS_TOO_LONG
Client IP must not exceed 15 characters.

29. CLIENT_IP_FORMAT_ERROR
Client IP is in the wrong format. Example of a correct format would be 192.168.1.25.

30. API_VERSION_IS_NULL
API version must be specified and should not be null.

31. ILLEGAL_API_VERSION
API version must be V3.0.

32. SIGN_TYPE_IS_NULL
Signature type must be specified and should not be null.

33. ILLEGAL_SIGN_TYPE
Signature type is in the wrong format. It must be MD5 and in upper case.

34. SIGN_IS_NULL
Signature must be specified and should not be null.

35. ILLEGAL_SIGN
Signature is incorrect or inconsistent. If signature is consistent but this message is still shown, the arrangement of the signature could be invalid. If the issue persists, then check for an Unrecognizable Code.

36. TIMEOUT_OR_ILLEGAL_REQUEST
Illegal request or timeout.

37. ILLEGAL_PAY_CLASS
Illegal payment class. Merchant does not have access to the payment method.

38. SYSTEM_BUSY_BY_CACHE
System is busy. Please try again later.