payu-intrepos / PayUCheckoutPro-Android

PayUCheckoutPro SDK for Android
9 stars 9 forks source link

Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject, Error code 5014 #20

Open groomefynit opened 2 years ago

groomefynit commented 2 years ago

not able find documentation for this error code

luojt commented 2 years ago

me too

Rahul-Hooda commented 2 years ago

@groomefynit @luojt Please verify that you're using correct key and env. This is error occur when key and env are different like test key is used in prod or vice versa.

groomefynit commented 2 years ago

i was using 'com.payumoney.sdkui:plug-n-play:1.5.0' lib and then someone from payu said they stopped supporting payumoney, user should migrate to OnePayU and Checkout Pro SDK. Now i am using in.payu:payu-checkout-pro:1.7.5 with same credentials that i was using with 'com.payumoney.sdkui:plug-n-play:1.5.0' lib.

luojt commented 2 years ago

@Rahul-Hooda Why does the SDK request return HTML, which causes JSON parsing to fail

aboutlan commented 2 years ago

What's the difference between PayUCheckoutPro and PayUMoney?And Which one I should use https://payumobile.gitbook.io/sdk-integration/ and https://developer.payumoney.com/redirect/ Integrate into my app. I’m confusing.

Rahul-Hooda commented 2 years ago

Please use PayUCheckoutPro SDK. Please reach out to mobile.integration@payu.in for all your integration related queries.

groomefynit commented 2 years ago

At least PayU should inform everyone for this migration. We faced some problem then payu told us about "not supporting the PayUMoney any more".

ghost commented 1 year ago

onError: Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject

same issue faced in in.payu:payu-checkout-pro lib

shahfaizalc commented 1 year ago

@devang-p-eq kindly use the latest version of Checkout-pro lib. if you still face the issue , please write us to mobile.integration@payu.in. we will help you.

ghost commented 1 year ago

@shahfaizalc yes still facing the issue after updating the new SDK Thanks for the response.

Newsigmasoftware commented 1 year ago

PayuMoney: Value <!DOCTYPE of type java.lang.String cannot be converted to JSONObject

Issue still persist.

shahfaizalc commented 1 year ago

@devang-p-eq @Newsigmasoftware please write us to mobile.integration@payu.in. we will help you.