Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-6917

The Liquid tags invoice.url & invoice.pdf_url for email template is not working

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Major
    • None
    • SaaS
    • System
    • False
    • False
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Undefined
    • Hide
      • Go to Audience > Messages > Email Templates and edit the template "Invoice charged successfully for buyer".
      • Change the Liquid tag from {{ invoice.url }} to {{ "Show" | link_to: invoice.url }} and click `Save" button
      • Access any invoice and click "Mark as paid" to trigger the email to the buyer
      Show
      Go to Audience > Messages > Email Templates and edit the template "Invoice charged successfully for buyer". Change the Liquid tag from {{ invoice.url }} to {{ "Show" | link_to: invoice.url }} and click `Save" button Access any invoice and click "Mark as paid" to trigger the email to the buyer

    Description

      When setting the Liquid tag `{{ "Show" | link_to: invoice.url }}` and/or `{{ "PDF" | link_to: invoice.pdf_url }}` in the email template "Invoice charged successfully for buyer" the email received by the buyers has a broken link (wrongly rendered) in the body.

      Dear Red Hat,
      
      Thank you for using our service. This is to let you know that we successfully completed your monthly payment for our service of USD 101.00.
      
      Your invoice is available online at:
      
      <a href="">Show</a>
      
      If you need any help, please don't hesitate to contact us at xxxxx@domain.com.
      
      Best regards,
      
      The API Team
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gpereira@redhat.com Gustavo Pereira
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: