In this repository you'll find how to integrate In-App Purchases of Google Play Billing version 6.1.0+ using Java.
Pre-requisite
Google Play Console Account
Published App on Play Store
Tester Device with GMS
Configure Your Testing device by adding the gmail account to internal testing testers
and License testing.
Setup the in-app purchase subscription product in Google Play Console account
i have already created mine which are
Product ID: lifetime (for Consumeable & Non Consumeable)
Product ID: yearly and monthly (for Subscription Testing)