Init action hook running late after PayPal’s return url?
If I understand your question, the race condition you describe between WordPress knowing the transaction was “complete” and the user returning to your site is the problem. Regarding a potential solution, what about changing the way you’re approaching this such that this race condition is accepted as a real possibility rather than something that you … Read more