Reputation: 86
I keep getting this response"BILLING_RESPONSE_RESULT_DEVELOPER_ERROR" when testing my in-app Subscription.
I generated signed apk of my app in release mode and uploaded on google play for alpha testing. I followed this tutorial https://codelabs.developers.google.com/codelabs/play-billing-codelab/#0 It is working fine when testing for static response for "android.test.purchased" product. but giving above response when testing my Subscriptions.
this is the code where i getting this response
mBillingClient.startConnection(new BillingClientStateListener() {
@Override
public void onBillingSetupFinished(@BillingClient.BillingResponse int billingResponse) {
if (billingResponse == BillingClient.BillingResponse.OK) {
Log.i(TAG, "onBillingSetupFinished() response: " + billingResponse);
if (executeOnSuccess != null) {
executeOnSuccess.run();
}
} else {
Log.w(TAG, "onBillingSetupFinished() error code: " + billingResponse);
}
}
@Override
public void onBillingServiceDisconnected() {
Log.w(TAG, "onBillingServiceDisconnected()");
}
});
also, when i uploaded my apk, google asked if i want to opt-in for "Let Google manage and protect your app signing key (recommended)" so i did... I read some solutions for my problem but all these involve one step that is "App signing" but i can't do anything there now: https://ibb.co/d71LvCK.
i created test user too, and got link to download my app. i'm testing my app with same user. (of course different than my play store account) Please help, thanks :)
Upvotes: 1
Views: 1479
Reputation: 126
Clear you Google Play Store app cache in settings, took me a while to figure it out
Upvotes: 2
Reputation: 13836
BILLING_RESPONSE_RESULT_DEVELOPER_ERROR: Invalid arguments provided to the API. This error can also indicate that the application was not correctly signed or properly set up for Google Play Billing, or does not have the necessary permissions in its manifest
So this indicates that some error is being made when calling the API.
Possible errors:
Upvotes: 0