SecurePaymentConfirmationChoice Enum
The choice of the user in the transaction dialog of Secure Payment Confirmation (https://w3c.github.io/secure-payment-confirmation/#sctn-transaction-confirmation-outcome).
public enum SecurePaymentConfirmationChoiceFields
| Name | Value | Description |
|---|---|---|
Decline | 0 | The user does not want to proceed with the payment: the promise of show() is rejected with an AbortError. |
Accept | 1 | The user proceeds with the payment and authenticates with a credential: the promise of show() is resolved with a response whose details are the PublicKeyCredential of the authentication. |
AuthenticateAnotherWay | 2 | The user proceeds with the payment but does not want to (or cannot) use a credential: the promise of show() is rejected with a NotAllowedError. |
OptOut | 3 | The user opts out of the process for the relying party: the promise of show() is rejected with an OptOutError. The choice is only possible when SecurePaymentConfirmationPrompt.ShowOptOut is set, otherwise it is a SecurePaymentConfirmationChoice.Decline. |