paytabscom / paytabs-android-library-sample

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

Using Test card displaying toast message "Authentication failed. Check authentication header." #22

Closed mostasim closed 3 years ago

mostasim commented 3 years ago

How to fix this? I am using test card showing In the developer section to PAY NOW.

mohamedkhairy953 commented 3 years ago

Hello Please take a look in these common issues you will find the correct answer there.

https://github.com/paytabscom/paytabs-android-library-sample/blob/PT2/common_issues.md

mohamedkhairy953 commented 3 years ago

This issue mainly happens because of incorrect keys so, please contact customercare@paytabs.com to check your correct ones.

mostasim commented 3 years ago

I think you should check currency format that you provided. In my case i was trying with "AED" and getting authentication error. Then i just changed it to "SAR" then this error gone. I don’t know what is related to that currency with authentication.

On Fri, 30 Apr 2021, 2:08 pm Niranjan Sheshadri, @.***> wrote:

Hi, We are trying to integrate the PT2 Android SDK getting Authentication failed. Check authentication header. error. I have checked the keys, keys looks to be correct as the same keys are working while calling API web application.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/paytabscom/paytabs-android-library-sample/issues/22#issuecomment-829922499, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACPF54SOCNNT4QXZBPB6JK3TLJQQLANCNFSM43DLNTXA .