Enum BillingErrorCode
- Namespace
- VpnHood.AppLib.Abstractions.Billing
- Assembly
- VpnHood.AppLib.Abstractions.dll
The store-agnostic vocabulary for billing failures. Providers translate their store's own error codes into these; the UI branches on nothing finer. Anything a store can say that has no user-meaningful bucket here is Unknown — the store's own message still travels with the exception for display and logs, it just never becomes a branch.
public enum BillingErrorCode
Fields
Unknown = 0A failure with no bucket of its own; the store's message goes with it.
Cancelled = 1The person closed the store's payment flow; not an error to show.
Pending = 2The store accepted the order but the payment has not settled yet.
Billing does not work on this device or store account at all (unsupported device/region, store app missing or outdated, policy restriction).
NetworkError = 4Transient trouble reaching the store's billing service; retrying can help.
The chosen product cannot be bought right now (not in this store/region).
AlreadyOwned = 6The store account already owns this subscription.
NotOwned = 7The store account owns no such purchase.