Closed ynzehettema closed 1 year ago
Hi,
I think you've done everything correctly. Have you tried uninstalling and reinstalling the app?
Sometimes it happens to me that I call Sumup.init(key)
with the wrong key, then I put the correct one and it gives me the same error when I try to login. Uninstalling and reinstalling the app fixes the issue usually.
After exhaustive testing it appears that I was indeed calling Sumup.init(key)
with the wrong key. But curiously only in iOS.
Mea culpa.
Greetings,
In my testing I'm having trouble getting the SumUp login to work on iOS devices.
Following is a list of steps I take to reproduce this issue:
Sumup.init(key)
with an affiliate key that my company maintains (this call returns a successful plugin response)Sumup.login()
and attempt to login with an account which is registered in the SumUp dashboard. Both the overarching account credentials and the employee credentials produce the same result. -> The SumUp overlay fails with the following message: "Server error. These credentials are incorrect. Please check your username and password and try again" (translated from Dutch as I work for a Dutch company)This was tested on an iPhone 8 running iOS 16.3. It recently updated to this version so I tried this same flow in iOS simulators with earlier versions. Both iOS 14.5 and 15.5 produce the same output so I can only conclude this is unrelated. The same codepath runs fine on Android devices with the same credentials.
Additional thoughts: The Info.plist contains usage strings for both Location and Bluetooth usage. Me and my co-workers are stumped.