You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 28, 2022. It is now read-only.
However, in-app purchases can be tested from PlayStore Beta distribution channel, which will contain app in release build type, obviously. And google sends empty orderId for test purhases.
In that manner, test purchase can never complete in app, downloaded from Beta channel.
I think this check should be removed from library and how about you, devs?
The text was updated successfully, but these errors were encountered:
Debug attribute in library doesn't necessarily mean Debug build type (although it's most logical case). You can supply this value yourself. And it stands to reason that it should be true for beta builds.
Thanks for quick response. Yeap, I've ended up set debug attribute to true for all my builds.
So real issue here is lack of documentation, as I can see now.
There is a check in dev library version, that requires purchase json to have orderId field, if library is not in debug mode.
https://github.com/onepf/OPFIab/blob/dev/opfiab-providers/google/src/main/java/org/onepf/opfiab/google/GoogleBillingProvider.java#L164
However, in-app purchases can be tested from PlayStore Beta distribution channel, which will contain app in release build type, obviously. And google sends empty orderId for test purhases.
In that manner, test purchase can never complete in app, downloaded from Beta channel.
I think this check should be removed from library and how about you, devs?
The text was updated successfully, but these errors were encountered: