Is PromptGamePassPurchaseFinished guaranteed to be fired?

I was planning on waiting until the above event was fired in my code.
Just wondering, is this guaranteed to be fired no matter what happens? Purchase Successful, failed etc.

PromptGamePassPurchaseFinished fires when the user prompted either clicks “cancel” before the purchase or the “OK” button after they purchase the pass.

It is guaranteed to be fired whether the purchase failed, was successful or was cancelled.

You should read the API documentation as this explains the nature of this event.

This event fires when a purchase dialogue of a game pass is closed. This fires right as the dialogue closes when the player presses “Cancel” at the prompt, or “OK” at the success/error message.

Below is a screenshot of a game pass purchase prompt. The function in the code sample runs immediately after the player presses “Cancel” or after the player buys the game pass then presses “OK”. Should there be an issue with the purchase, the event also fires.

Oof, must have missed that part. Apologies, thanks though.

You should also note that if a player disconnects from the game without selecting any option on the GUI, the event will not be fired, this includes if they select ‘Purchase’ and disconnect before pressing ‘Ok’ on the completion message.