|
| 1 | +# Secure Payment Confirmation: Non-normative UX Guidelines |
| 2 | + |
| 3 | +Status: This is a **draft** document without consensus. |
| 4 | + |
| 5 | +A key step of the user journey for Secure Payment Confirmation (SPC) is the |
| 6 | +display of and user interaction with the [transaction confirmation UX]. This |
| 7 | +step communicates information from the caller of SPC (e.g., a merchant website, |
| 8 | +perhaps on behalf of a payment service provider or issuing bank) to the user, |
| 9 | +for the user to verify and ultimately sign via WebAuthn. |
| 10 | + |
| 11 | +While web specifications do not generally make recommendations about how User |
| 12 | +Agents implement UX, it can be useful for both integrators of SPC (e.g., |
| 13 | +financial organizations) and implementors of SPC (i.e., User Agents) to have |
| 14 | +some general guidelines about the information that can be provided and will be |
| 15 | +shown. This file aims to document those guidelines, based on implementor |
| 16 | +experience and payment industry feedback. |
| 17 | + |
| 18 | +## Information presented in the transaction confirmation UX |
| 19 | + |
| 20 | +### Payee information |
| 21 | + |
| 22 | +Relevant fields: [payeeName], [payeeOrigin] |
| 23 | + |
| 24 | +### Payment instrument information |
| 25 | + |
| 26 | +Relevant fields: [instrument.displayName], [instrument.icon], [instrument.details] |
| 27 | + |
| 28 | +### Payment entity logos |
| 29 | + |
| 30 | +Relevant fields: [paymentEntitiesLogos], [paymentEntitiesLogos[x].url], [paymentEntitiesLogos[x].label] |
| 31 | + |
| 32 | +## UX differences across different screen sizes/layouts |
| 33 | + |
| 34 | +[instrument.details]: https://w3c.github.io/secure-payment-confirmation/#dom-paymentcredentialinstrument-details |
| 35 | +[instrument.displayName]:https://w3c.github.io/secure-payment-confirmation/#dom-paymentcredentialinstrument-displayname |
| 36 | +[instrument.icon]: https://w3c.github.io/secure-payment-confirmation/#dom-paymentcredentialinstrument-icon |
| 37 | +[payeeName]: https://w3c.github.io/secure-payment-confirmation/#dom-securepaymentconfirmationrequest-payeename |
| 38 | +[payeeOrigin]: https://w3c.github.io/secure-payment-confirmation/#dom-securepaymentconfirmationrequest-payeeorigin |
| 39 | +[paymentEntitiesLogos]: https://w3c.github.io/secure-payment-confirmation/#dom-securepaymentconfirmationrequest-paymententitieslogos |
| 40 | +[paymentEntitiesLogos[x].label]: https://w3c.github.io/secure-payment-confirmation/#dom-paymententitylogo-label |
| 41 | +[paymentEntitiesLogos[x].url]: https://w3c.github.io/secure-payment-confirmation/#dom-paymententitylogo-url |
| 42 | +[transaction confirmation UX]: https://w3c.github.io/secure-payment-confirmation/#sctn-transaction-confirmation-ux |
0 commit comments