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 :
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.
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.
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.
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
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.
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
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.