PromptPurchaseFinished asks developers to use a deprecated method for checking purchase dialogue closes



PromptPurchaseFinished page:

PromptProductPurchaseFinished page:



In my opinion it’s hard to ask this documentation to be removed. The deprecated event can be so necessary and it’s important to be able to find it. I think this documentation should stay, and we should instead push for this event to be supported again. We need a way to see when someone presses cancel on the prompt, and this deprecated event is already that way.



Yeah, though it’s bad practice to use or rely on deprecated API members.

I was reconsidering asking for the deprecation to be removed and instead for it to be considered legacy or for the method to be consolidated with PromptPurchaseFinished, since as the warning label states, there is no other way to check for product purchase window closes.

That’s probably what I’ll do.

1 Like


I can speak to this inconsistency since I wrote these - It’s deprecated for the reason that it shouldn’t be used for purchase validation (this is why it is deprecated), but I’m guessing that it is still useful for detecting the prompt closing (which is why it’s not gone - yet?). As Extuls said, it’s mentioned here only because it is the only way to detect this dialogue closing.

Although it’s not in my jurisdiction to remove the deprecation mark, I think the docs are satisfactory as-is. Perhaps I could make a bigger warning of “Hey don’t use this for processing purchases, EVER”


Add MarketplaceService.PromptProductPurchaseCancelled