errorCode:5014,errorMsg:Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject
From the Payu Documentation,
This error occurs when merchant uses any of the following incorrectly.
Wrong Key
Wrong Salt
Wrong Environment
Please note that ENVIRONMENT should be 1 for test credentials and 0 for live
credentials
Solution: Please make sure the test key being used if you are hitting the test
environment and vice-versa. also check the merchant salt passed to the hash
created