-
Bug
-
Resolution: Done
-
Critical
-
2.13.2 GA
-
False
-
None
-
False
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
Not Started
-
-
-
-
-
Critical
When testing the "Buyer Account approved" email template the Liquid Tag {{ provider.external_domain }} is not being rendered in the email body.
Following is the email template:
Dear {{ user.display_name }}, {{ provider.name }} has approved your signup for the {{ provider.name }} API. You may now view and manage your app/API key at https://{{ provider.external_domain }}/admin/ If you have problems logging into the account please contact {{ provider.support_email }}. Sincerely, The {{ provider.name }} API Team
In the sidekiq log we can see what is being rendered:
Date: Wed, 11 Oct 2023 14:11:31 +0000 From: xxxxxx+3scale@hotmail.com To: xxxxxx+gpereira07@hotmail.com Message-ID: <6526ad13b5878_17eca9f859712@system-sidekiq-5-x58mj.mail> Subject: Registration now active! Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SMTPAPI: {"category": "Account approved"} X-3scale-viral: Dear gpereira07, Provider Name has approved your signup for the Provider Name API. You may now view and manage your app/API key at https:///admin/ If you have problems logging into the account please contact admin@xxxxxxxxxxx.xxxxxxxx.rdu2.redhat.com. Sincerely, The Provider Name API Team
If we use the Liquid Tag {{ provider.domain }} instead of {{ provider.external_domain }} the email body is delivered with the correct URL.