在 2020 年 6 月 23 日之前打开此应用以确认您的订阅

Open this app to confirm your subscription before Jun 23, 2020

请在 2020 年 6 月 23 日之前打开此应用以确认您的订阅。这是什么原因造成的?

PurchaseResult 退回我购买的商品并确认为假。使用以下代码,成功解决了这个问题。

for (Purchase purchase: purchasesResult.getPurchasesList()) {
                AcknowledgePurchaseParams acknowledgePurchaseParams =
                        AcknowledgePurchaseParams.newBuilder()
                                .setPurchaseToken(purchase.getPurchaseToken())
                                .build();
                acknowledgePurchaseParams.getDeveloperPayload();

                AcknowledgePurchaseResponseListener acknowledgePurchaseResponseListener = new AcknowledgePurchaseResponseListener() {
                    @Override
                    public void onAcknowledgePurchaseResponse(BillingResult billingResult) {
                        BillingResult billingResult1 = billingResult;
                    }

                };

                mBillingClient.acknowledgePurchase(acknowledgePurchaseParams, acknowledgePurchaseResponseListener);
            }