Skip to content
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

Terminal payments not working using uri deeplink + solo lite #240

Open
ctigrisht opened this issue Feb 1, 2025 · 0 comments
Open

Terminal payments not working using uri deeplink + solo lite #240

ctigrisht opened this issue Feb 1, 2025 · 0 comments

Comments

@ctigrisht
Copy link

ctigrisht commented Feb 1, 2025

Hey,
I am starting the intent from my MAUI C# app, it seems to work at first but when I select card reader as a payment method it tells me the transaction is failed/cancelled before even trying a payment. The card reader payments work fine if they aren't launched from my app.

I have also added my package name to affilitate key dashboard.

Solo Lite (version 2.2.1.3) + Android (API 33)

        await Launcher.OpenAsync(new Uri(
            "sumupmerchant://pay/1.0"
            + $"?affiliate-key=\"sup_afk_XXXXX\""
            + "&app-id=com.[appPackageName]" // fake package for github
            + $"&total={_totalAmount}"
            + "&currency=EUR" 
            + $"&title=Remote Payment" 
            + "&receipt-mobilephone=+33000000000" // fake number for github 
            + "&receipt-email=example@mail.com" 
            + "&foreign-tx-id=" + Guid.NewGuid() 
            + "&skip-screen-success=true"
            + "&callback=mydeeplink://sumupresult" // fake deeplink for github
        ));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant