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

Visualize transaction data in confirmation dialog #195

Open
mobinauten opened this issue Dec 23, 2024 · 6 comments
Open

Visualize transaction data in confirmation dialog #195

mobinauten opened this issue Dec 23, 2024 · 6 comments
Assignees

Comments

@mobinauten
Copy link

mobinauten commented Dec 23, 2024

The EU LSP projects NOBID, EWC implemented SCA and payment initiation via OIDVP.
SCA is btw. mandatoryfo rmany parties bacled by eiDAS2.
This new API/protocol should also visualize transaction data as defined in https://openid.net/specs/openid-4-verifiable-presentations-1_0.html#name-transaction-data

The payment and SCA flows are described here - https://github.com/nobid-consortium/payment-reference-documentation/blob/main/payment-reference-doc.md

@leecam
Copy link
Collaborator

leecam commented Jan 8, 2025

I think the responsibility for visualizing this transaction data belongs to the wallet, not the browser. So I don't think the DC API spec needs to concern itself directly with transaction data that maybe included in any given presentation protocol.

That said platforms may offer wallets native API to optimize this UX flow. Indeed Android provides Wallets an API to visualize payment transaction data directly onto to selector screen. This is purely a UX optimization, the wallet app is still the one responsible for parsing the transaction data and displaying it. To give you an idea the screenshot below is what the developer preview UX looks like on Android today if the wallet detects transaction data in the request.

Ultimately though this is the responsibly of the wallet. The platforms are free to optimize this how they wish (if at all), not something we'd mandate at the DC API level.

image

@mobinauten
Copy link
Author

Yes, the Wallet should cover most of the payment specifis within their visualization, I agree, as prototyped in the 1st screen attached
IMG_3002 but the "Wallet Selection Screen" could already show not only what kind of credential but for what transaction data the wallet should be used. I agree one doesn't need to be, it's a CX/comfortability feature (see second attached image, the Wallet Selector).
Image.
How one use this payment screen attached in the browser? Probably then too many screens, steps. Just thinking?

@leecam
Copy link
Collaborator

leecam commented Jan 12, 2025

Yep agree.

The screenshot I posted above is Android doing what you are suggesting. Its optimizing the selection UI screen (your 2nd screenshot) to show the transaction data directly. This potentially saves the wallet from having to do it in a follow up screen, saving a click and making it feel more like payment confirmation. This is just a platform specific UX optimization though, not something we can spec at the browser API level at this point I don't think.

@mobinauten
Copy link
Author

As suggested I am currently adding the traditional Payment Screen to the Android Wallet in see how it feels. That is not an issue I assume. I believe we'll find a suitable way. Sill not sure if we not should visualize the transaction data on the Wallet selection screen. This would not only help payment but maybe also QES use cases?

@timcappalli
Copy link
Member

@mobinauten the credential selector (what you referred to as the wallet selection screen) is not something that is defined by the Digital Credentials API specification.

@mobinauten
Copy link
Author

Ah, Understood. Thx. Who then? The Credential Manager API?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants