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 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-failThe 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.