title: How to implement Google Play Promo Code redeem?
body: <p>To implement promo codes I've made the following steps:</p>
  
  <ol>
  <li><p>In Google Play Console>User Acquisition>Promotions I've added the promotion</p></li>
  <li><p>Inside the app I've used this to redirect user to the Redeem page on Google Play:</p>
  
  <pre><code>       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
          }
  </code></pre></li>
  </ol>
  
  <p>Everything works up to a point when I actually click redeem. It detects the IAP I'm about to purchase for free, but it gives me the following error:</p>
  
  <p><a href="https://i.stack.imgur.com/6DEA9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6DEA9.png" alt="BX--INV error"></a></p>
  
  <p>Please, help</p>