Codeless IAP OnPurchaseComplete callback not called after payment dialogue (3.1)

The callback method that I assigned to the IAP button’s OnPurchaseComplete slot never gets called, only after restarting the app.

When I initiate the purchase, the Apple Payment dialogue shows up fine, and it returns the purchase successful pop up message a few seconds later, but the callback method that I assigned to the IAP button’s OnPurchaseComplete slot never gets called UNTIL I restart the app.

I’ve figured out the reason: I’ve had certain scenarios where the IAP button got disabled before the callback method was called. Solution, if you have to hide the IAP button after the Apple purchase dialogue is completed but before OnPurchaseComplete callback is called, always make sure to disable the Image components only, don’t disable the IAP button itself.