Closed joannaMarscat closed 10 months ago
@joannaMarscat, We attempted to reproduce the issue using the GitHub sample but were unsuccessful. We require additional information, including your code and APK. Consequently, I would like to share that information through our dev center system, as it is considered safer than using GitHub.
Thank you.
When calling
ConsumePurchase()
after a failed purchase followed by a successful one,OnPurchaseFailed()
is triggered. This issue can also be observed when callingQueryPurchases()
.How to reproduce:
PurchaseClientImpl.Purchase()
.PurchaseClientImpl.Purchase()
.PurchaseClientImpl.ConsumePurchase()
.Expected result:
IPurchaseCallback.OnConsumeSucceeded()
orIPurchaseCallback.OnConsumeFailed()
should be triggered.Actual result:
IPurchaseCallback.OnPurchaseFailed()
is triggered. (Consuming is successful)Reproducible with: OnPurchaseFailed: code= 9, code= 6 (logout OneStore after calling
PurchaseClientImpl.Purchase()
)Not reproducible with: OnPurchaseFailed: code= 1, code= 7
SDK version: unity_plugins release v1.1.2