IAP not working correctly with Corona-2019.3528 and IOS 13

Hi @vlads,

I’ve tested the new core code and have a few notes:

  1. The app now receives full receipt in iOS13 - Great!

  2. Our previous receipt validation code via Apple server now fails with code [“21002”] = “The data in the receipt-data property was malformed.” perhaps there is a difference compared to previous receipt data, but I couldn’t identify what. Not sure how to proceed in this track yet.

I then tried to switch to the plug-in. Some notes:

  1. The plugin has some differences vs the core as already noted above (change in init, new event restoreCompleted, might be others)

  2. It’s not clear if I should use for each incoming transaction event store.receiptRequest(listener) or just try store.receiptDecrypted()

  3. In both cases I get All transactions history, where our previous validation received only the latest (we used exclude_old_transactions = true on the request post data).

  4. finishTransaction now fails when using the transaction object in two events: A. init B. restoreCompleted

  5. RestoreCompleted event seem to have no useful info. only type=‘restore’ and isError=‘false’

This is all I could find so far.

Thanks for investing the time on this.

Adi