From the post, it sounds like the users receive the purchased item immediately but the app developer needs to confirm that the charge went through properly. Otherwise the funds are returned but the user keeps the purchased item.
Without acknowledging the purchase the money was refunded back to the people who purchased it. And the best thing was the dark theme would be activated even if the user got the money refunded.