PromptPurchaseFinished without pressing "OK" to finish

I am making a game, and i use PromptPurchaseFinished and PromptGamePassPurchaseFinished. However people have found a bug where if you change the price of a shirt or gamepass to 1B robux before pressing “OK”, the game thinks that the player has donated 1B robux instead of the original price.

How do i make it so that the player does not have to press “OK” for it to actually process?

I’m not really sure what you mean.

But you can’t. Purchase handling is done through core scripts, and you have no access to them for the sake of security.