首页 > 解决方案 > 如何实现 Google Play 促销代码兑换?

问题描述

为了实现促销代码,我做了以下步骤:

  1. 在 Google Play Console>User Acquisition>Promotions 我添加了促销

  2. 在应用程序中,我使用它来将用户重定向到 Google Play 上的兑换页面:

           try {
                final Uri redeemUri = Uri.parse("https://play.google.com/redeem");
                final Intent redeemIntent = new Intent(Intent.ACTION_VIEW, redeemUri);
                activity.startActivity(redeemIntent);
            } catch (android.content.ActivityNotFoundException e) {
                // Play Store app is not installed
            }
    

当我真正点击兑换时,一切都正常。它检测到我要免费购买的 IAP,但它给了我以下错误:

BX--INV 错误

请帮忙

标签: androidgoogle-playin-app-billingandroid-billing

解决方案


根据这个帖子,谷歌已经用“这是我们知道的一个新出现的问题。我们的工程师正在努力解决这个问题”来回应这个错误代码。

兑换许多电影的数字副本,有时是电子书似乎是个问题。因此,他们的系统兑换外部内容可能是一个更普遍的问题。

但鉴于那是 3 天前的事,而这篇文章已有 6 个月的历史,我并不特别抱有希望。


推荐阅读