After upgrading to SDKBox IAP 2.3.17 I am experiencing multiple callbacks to an sdkbox::IAPListener for a single IAP purchase on Android, namely both ::onSuccess and ::onFailure
I have tested both 126.96.36.199 and 188.8.131.52 and the result is the same, when calling
I receive the following log entry, followed by a quick call to onFailure and a later call to onSuccess:
Error while consuming: IabResult: Error consuming sku [redacted] (response: 6:Error)
During my investigation I had a more complete log that showed the IAP worker attempting to consume the IAP result multiple times (failing on the first, succeeding on the second), however inbetween upgrades and various settings changes I have lost this log and the output seems to have been reduced from the component.
Due to the onFailure callback always coming first, this isn’t feasible to use and is causing crashes due to logic in a production application. (The app cannot always wait and presume that Success will come)
Is there a change that could have caused this in the new version of the SDK and if so, can this be patched or is there any feasible way I can access an old version to downgrade and resolve the issue ASAP?