Answers for "errorCode:5014,errorMsg:Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject"

0

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
Posted by: Guest on August-21-2021

Code answers related to "errorCode:5014,errorMsg:Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject"

Code answers related to "Javascript"

Browse Popular Code Answers by Language