Skip to main content

I have created around 5 promo codes for my in app product which is a one time purchase on Google Play console, and I want to redeem it through my app but I am not able to do that, as my app does not provide more options by which I can redeem it through, like the purchase dialogue comes to the screen and it only allows me to select the test card option for the purchases( as of now my app is in development stage), so my questions are :

  1. Is I have to create/ put some more code in my app to able to use promo code. Right now I am using react native IAP library to do so. If yes, than is there any specific link/ document which I have to follow to implement the promo codes.
  2. Can I redeem code outside my app, by putting it directly on play Store app ( in redeem & gift card section)for in app purchases(subscription and one time purchase) ,if yes ,so what all are the scenarios which I have to follow to validate the purchase, or whom can I give that redeem purchase through play store directly.
    Thanks.

Hi @Harsh Raghuvanshi,

Have you checked out our doc on Android promo codes? I think it’ll cover some of your questions about how to implement this: https://docs.revenuecat.com/docs/android-promo-codes#redeeming-promo-codes

  1. You don't need to add anything different to your paywall. When the user hits Purchase for a product, if a promo code is available to them, they'll see an option to Redeem the code. They are then guided through Google's payment sheet flow to redeem the code.

    To see an example of what this flow looks like, see this guide on Google: https://developer.android.com/google/play/billing/promo#redeem 
     
  2. To redeem outside of your app, the user can manually enter the code in the Google Play Store by clicking the Play Store left navigation menu and tapping Redeem Code, or by following a deep link to the Google Play Store. You can read more about this in our doc: https://docs.revenuecat.com/docs/android-promo-codes#google-play-store-redemption 

the purchase dialogue comes to the screen and it only allows me to select the test card option for the purchases( as of now my app is in development stage)

The option to enter the code will only show up if the user is eligible for the promotion - maybe try using a few different test accounts? Google also has a small guide on testing promo codes that might be helpful as well: https://developer.android.com/google/play/billing/test#promo


Links for your document are not available 


Reply