#Kaushal-android-client-secret
1 messages ยท Page 1 of 1 (latest)
Hi ๐ I'm not sure, my first guess was that the contents of the variable were wrong or hadn't been set yet. Did you try adding logging just before the function that is erroring to double check the contents of the variable at that time?
ya logged it, its coming correctly, and also while throwing error, launcher is printing the error with the secret key which i passed
like this : Invalid Payment Intent client secret: "pi_3Lg7PCGfgz2J4wP20RUTUIcy_secret_zVZ3OItHEf39eJmFlxH4VdSXJ"
Hm, as far as I can tell that looks right. Can you add your hard-coded value that you know works, and then just before calling that function do a comparison between the hard coded value and the generated one?
ok fine
hey fixed the issue, it was related to the jsonObject mapping which i get from my server
thanks for the response
Glad to hear you were able to get to the bottom of it!
thanks ๐