Fix huawei subscription detail

This commit is contained in:
max-klaus 2021-04-07 18:22:36 +03:00
parent 4ef66d93a7
commit acff47bf8a

View file

@ -233,7 +233,7 @@ public class InAppPurchaseHelperImpl extends InAppPurchaseHelper {
} }
private PurchaseInfo getPurchaseInfo(InAppPurchaseData purchase) { 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) { private void fetchInAppPurchase(@NonNull InAppPurchase inAppPurchase, @NonNull ProductInfo productInfo, @Nullable InAppPurchaseData purchaseData) {