"Your purchase request is invalid, please reopen the page and try again or contact customer service" error on the Epic Games website

If you're getting this error while trying to purchase or redeem a game using the Epic Games website, please try completing your purchase via the Epic Games Launcher as a workaround.