PaymentSheetErrors Class
The errors that the payment sheet shows to the user: the errors of the last update of the details by the page (https://w3c.github.io/payment-request/#dom-paymentdetailsupdate), or the errors given to PaymentResponse.retry() (https://w3c.github.io/payment-request/#dom-paymentvalidationerrors).
public sealed class PaymentSheetErrorsConstructors
| Name | Description |
|---|---|
| PaymentSheetErrors() |
PaymentSheetErrors()
public PaymentSheetErrors()No documentation is available.
Properties
| Name | Description |
|---|---|
| Error | Gets a general description of the error (e.g. why no shipping option is available for the address), or null. |
| Payer | Gets the errors of the payer details, or null. |
| PaymentMethod | Gets the errors specific to the payment method, serialized to JSON, or null. |
| ShippingAddress | Gets the errors of the shipping address, or null. |
Gets the errors of the payer details, or null.
public PayerErrors? Payer { get; init; }Property value
PaymentMethod
PaymentSheetPrompt.csShippingAddress
PaymentSheetPrompt.csGets the errors of the shipping address, or null.
public AddressErrors? ShippingAddress { get; init; }