diff --git a/src/Plugin.InAppBilling.Abstractions/InAppBillingExceptions.cs b/src/Plugin.InAppBilling.Abstractions/InAppBillingExceptions.cs
index 34ec9da..2dd73f5 100644
--- a/src/Plugin.InAppBilling.Abstractions/InAppBillingExceptions.cs
+++ b/src/Plugin.InAppBilling.Abstractions/InAppBillingExceptions.cs
@@ -11,10 +11,10 @@ namespace Plugin.InAppBilling.Abstractions
///
public enum PurchaseError
{
- ///
- /// Billing system unavailable
- ///
- BillingUnavailable,
+ ///
+ /// Billing API version is not supported for the type requested (Android), client error (iOS)
+ ///
+ BillingUnavailable,
///
/// Developer issue
///
diff --git a/src/Plugin.InAppBilling.Android/InAppBillingImplementation.cs b/src/Plugin.InAppBilling.Android/InAppBillingImplementation.cs
index b3c956e..b98902c 100644
--- a/src/Plugin.InAppBilling.Android/InAppBillingImplementation.cs
+++ b/src/Plugin.InAppBilling.Android/InAppBillingImplementation.cs
@@ -81,7 +81,7 @@ public async override Task> GetProductInfoAsync
{
if (serviceConnection?.Service == null)
{
- throw new InAppBillingPurchaseException(PurchaseError.BillingUnavailable, "You are not connected to the Google Play App store.");
+ throw new InAppBillingPurchaseException(PurchaseError.ServiceUnavailable, "You are not connected to the Google Play App store.");
}
IEnumerable products = null;
@@ -151,7 +151,7 @@ public async override Task> GetPurchasesAsync(
{
if (serviceConnection?.Service == null)
{
- throw new InAppBillingPurchaseException(PurchaseError.BillingUnavailable, "You are not connected to the Google Play App store.");
+ throw new InAppBillingPurchaseException(PurchaseError.ServiceUnavailable, "You are not connected to the Google Play App store.");
}
List purchases = null;
@@ -252,7 +252,7 @@ public async override Task PurchaseAsync(string productId,
if (serviceConnection?.Service == null)
{
- throw new InAppBillingPurchaseException(PurchaseError.BillingUnavailable, "You are not connected to the Google Play App store.");
+ throw new InAppBillingPurchaseException(PurchaseError.ServiceUnavailable, "You are not connected to the Google Play App store.");
}
Purchase purchase = null;
@@ -403,7 +403,7 @@ public override Task ConsumePurchaseAsync(string productId
{
if (serviceConnection?.Service == null)
{
- throw new InAppBillingPurchaseException(PurchaseError.BillingUnavailable, "You are not connected to the Google Play App store.");
+ throw new InAppBillingPurchaseException(PurchaseError.ServiceUnavailable, "You are not connected to the Google Play App store.");
}
var response = serviceConnection.Service.ConsumePurchase(3, Context.PackageName, purchaseToken);
@@ -466,7 +466,7 @@ bool ParseConsumeResult(int response)
public async override Task ConsumePurchaseAsync(string productId, ItemType itemType, string payload, IInAppBillingVerifyPurchase verifyPurchase)
{
if (serviceConnection?.Service == null)
- throw new InAppBillingPurchaseException(PurchaseError.BillingUnavailable, "You are not connected to the Google Play App store.");
+ throw new InAppBillingPurchaseException(PurchaseError.ServiceUnavailable, "You are not connected to the Google Play App store.");
if (payload == null)