If the checkout UI shows the error message: The issue is that in the pricing configuration of the offer, “Not available for direct purchase” is enabled:
https://dev.epicgames.com/community/learning/knowledge-base/vyqnR/epic-online-services-why-does-the-eos_ecom_checkout-ui-return-there-was-a-problem