I have the commerce_dunning default reaction rules enabled. When users' cards are declined, they get the notification email, but the URLs do not work because the templated fields aren't coming through and stuff.

Some example URLs seen in the email from what are in the template:

https://www.example.com/[site:url]
https://www.example.com/[message:commerce-dunning-message-order:customer...
https://www.example.com/user/[message:commerce-dunning-message-order:uid...

So not only are the message's templated variables not being filled, but the site URL is automatically prefixed to each.

How do I find the cause of this?

Comments

solideogloria created an issue. See original summary.

solideogloria’s picture

I made some progress. The fields do actually exist, and they are replaced correctly, EXCEPT when they are inside a hyperlink (href attribute of an anchor tag).

solideogloria’s picture