From acff47bf8ac490e4f8c21047d7d1d3e0572b6840 Mon Sep 17 00:00:00 2001 From: max-klaus Date: Wed, 7 Apr 2021 18:22:36 +0300 Subject: [PATCH] Fix huawei subscription detail --- .../net/osmand/plus/inapp/InAppPurchaseHelperImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src-huawei/net/osmand/plus/inapp/InAppPurchaseHelperImpl.java b/OsmAnd/src-huawei/net/osmand/plus/inapp/InAppPurchaseHelperImpl.java index 3fc73e6f1d..6f930fec1d 100644 --- a/OsmAnd/src-huawei/net/osmand/plus/inapp/InAppPurchaseHelperImpl.java +++ b/OsmAnd/src-huawei/net/osmand/plus/inapp/InAppPurchaseHelperImpl.java @@ -233,7 +233,7 @@ public class InAppPurchaseHelperImpl extends InAppPurchaseHelper { } private PurchaseInfo getPurchaseInfo(InAppPurchaseData purchase) { - return new PurchaseInfo(purchase.getProductId(), purchase.getOrderID(), purchase.getPurchaseToken()); + return new PurchaseInfo(purchase.getProductId(), purchase.getSubscriptionId(), purchase.getPurchaseToken()); } private void fetchInAppPurchase(@NonNull InAppPurchase inAppPurchase, @NonNull ProductInfo productInfo, @Nullable InAppPurchaseData purchaseData) {