paytabscom / paytabs-android-library-sample

Sample for Paytabs android library
MIT License
11 stars 7 forks source link

Return URL does not start with expected value in Release variant #44

Closed Hussein-Al-Zuhile closed 4 months ago

Hussein-Al-Zuhile commented 1 year ago

Hello Paytabs support team,

First, thanks for the hard work ❤️. I am facing an issue when building Release apk and try to test the payment , I got the message: "Return URL does not start with expected value" in the onError() callback method. I added these proguard rules: -keep public class com.payment.paymentsdk.**{;} -keep class com.paytabs.pt2sdk.**{ ; }

What I have noticed that the request body in the dashboard is obfuscated when I am using Release version, here is what I mean: In Release mode: MicrosoftTeams-image (2)

In Debug mode: MicrosoftTeams-image (4)

Would you please tell me what the problem is and thanks for your time.

KhaledAlramam commented 1 year ago

Hi Hussein Hope you are doing well

Could you share what version are you using ?

Hussein-Al-Zuhile commented 1 year ago

Hello Khaled, Thanks for reaching out.

The used version is 6.4.7

KhaledAlramam commented 1 year ago

Could you try version 6.4.12 This issue was solved on it

Hussein-Al-Zuhile commented 1 year ago

Thanks, that's worked. I will close the issue now.

Hussein-Al-Zuhile commented 1 year ago

Hello @KhaledAlramam, Hope you are doing well,

The same issue reappeared, without changing anything, can you double-check it please.

Hussein-Al-Zuhile commented 1 year ago

It worked on 6.4.11 version though.