I spent a week looking for solution to upgrade/downgrade subscriptions on Android InAppBilling.
There\'s a reference page about this function: http
at first thanks for aidl file.
But for me it is not working. I always get an error code 5:
Invalid arguments provided to the API. This error can also indicate that the application was not correctly signed or properly set up for In-app Billing in Google Play, or does not have the necessary permissions in its manifest
I don't think that the permissions are wrong or it is not correctly signed as all other payment requests work.
This is my code:
List subs = new ArrayList<>();
subs.add(current_sub);
buyIntentBundle = mService.getBuyIntentToReplaceSkus(3, "package", subs,
key, "subs", getResources().getString(R.string.developer_payload));
How do you execute an upgrade request or do you see any error in my request?
Thanks Solidus