-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calling SumUp from a PWA #10
Comments
Hi @robwatkiss My assumption is that installing your app as a PW will create a bundle identifier that is not whitelisted for your affiliate key. Please get in touch with [email protected] so we can get you up and running. Regards, |
Hi @mollidor I understand why you have closed this issue but perhaps it's worth keeping it open until we can find a resolution? I very much doubt I'm going to be the last person to be frustrated by this issue! In the mean time I've sent a message to integration@ with some more details of our integration. Cheers, |
Sorry about that. Indeed! |
@robwatkiss Got any feedback? |
Is there a fix? I've got the same issue. |
Note for iOS and Expo: If using expo and your app runs in expo client, add |
I also have this problem. I did add the bundle id in the sumup dashboard and it is working fine for android. But on iOS i always get the connection error. |
@gmwilhelm Try add the App-IDs com.apple.mobilesafari and com.sumup.appswitch in the SumUp Dashboard. |
@phoebusryan Thanks a lot man. You fixed my issue. Added the two App-IDs and now it works. |
@okx your welcome :) |
com.sumup.appswitch is what makes the difference. |
Thank you that fixed the problem. |
Still having the same problem. Even though I have added both the payment switch bundle id and mobile safari. Any further clues? |
That should really work.. or are you using android? |
I am for sure using IOS. I have tested it only with my own device (Iphone 13 pro) as I dont have any other available. On Android it worked for multiple different devices. |
Whats your URI? Android and iOS uses different URIs for this scheme |
Hello could someone help me ? I have this same problem but can't find how to solve it. |
@christianRusso18 Try add the App-IDs com.apple.mobilesafari and com.sumup.appswitch in the SumUp Dashboard. Super simple |
The iOS (v12.1) SumUp app (v2.0.4) is being opened using a sumupmerchant://pay/1.0 link and works almost as expected when using the webapp in Safari however when the same URI is called from our WebApp installed as a PWA the SumUp app it throws an error. The error text and the test URI are included below.
(native popup)
Server Error
Something went wrong! Please try again.
(app popup)
Connection Error
We lost connection to the SumUp server
(URI)
sumupmerchant://pay/1.0?affiliate-key=<affiliate-key>&app-id=com.company.basecamppos.test&amount=1.56¤cy=CHF&title=Test%20Title&callbacksuccess=https%3A%2F%2Fpos.website.com%2F%23%2Fcallback%2Fpayment-success&callbackfail=https%3A%2F%2Fpos.website.com%2F%23%2Fcallback%2Fpayment-fail
The only difference here is that we are calling the link from a PWA not from Safari. We need to be able to run our webapp as a PWA as opposed to in Safari as it prevents the need to click 'open SumUp' every time and also helps us lock down the security of our POS devices.
The text was updated successfully, but these errors were encountered: