LiteKite / Android-MonetizeApp

A sample which uses Google's Play Billing Library and it makes In-app Purchases and Subscriptions.
Apache License 2.0
164 stars 44 forks source link

Error while retrieving information from server [DF-AA-20] #2

Closed kashifansari786 closed 6 years ago

kashifansari786 commented 6 years ago

Every time i hit button on home page it shown me this error and when i search in internet it tell me publish ur app in alpha testing and i published app in alpha testing and again this error is happen i dont know why and some say replace your base64 string key in code but i didt see any where any key which is base64 string please help me to resolve this.

svignesh93 commented 6 years ago

Hi,

There's no need to include your BASE_64_ENCODED_PUBLIC_KEY anywhere inside your project. Simply use this new BillingClient Library 'com.android.billingclient:billing:1.0' and make sure you use same Application ID (package name) that's been used in the play store and android project as well.

6_billing_error

If you are experiencing like the above picture, please ensure that you have updated your APK in BETA Channel and make sure you are using same package name in Play Store and and in your project as well.