Strange behavior on IAP

Hello,

I am integrating IAP in my game (If the guy that updated to new Android play billing read this : Thanks a lot :x )
But when I request product data with IAP.requestProductData and the ids of my products, it tries to buy them …
Does anyone have the same problem ?
Setup :

  • last IAP code from source
  • openFL 9.2.2
  • lime 8.0.2

Thanks

Hi, show me your code.

i think the issue is in line 259 of BillingManager:
within queryProductDetailsAsync, after getting back the details for the products, it loops through each one and calls
initiatePurchaseFlow(skuDetails.getProductId());
I don’t know why that line would want to be there. I guess its because there’s a check in initiatePurchaseFlow to get the sku details for what you’re purchasing if you don’t have them yet… but it’s not behaviour you’d want every time.

Thanks a lot, it seems to be the problem !!