How can I put the response value $cf_AUTHNET_response_reason_text into the email template?
Thanks,
Sue
Hi Sue,
Try using the global declaration I just saw you use in another post.
You'll also need to be sure that the Authorize.net validation runs before the email is sent. I don't know what the default sequence is but you can adjust it on the RunOrder tab.
Bob
I have access to the auth net codes in the php 'before email' code. But there is an email template section that formats the email - it can get values from html fields, but I would like it to put $cf_AUTHNET_response_reason_text into the email. Is this possible?
Thanks,
Sue
Hi Sue,
I see that you are using Joomla 1.0 - the versions of ChronoForms for Joomal 1.5 make this much simpler, I think it's probably possible for the old release but I'm far from certain. My Joomla 1.5 installation doesn't have the authorize.net plugin installed so I cant' check for you. Possibly Max aill have some idea about this.
Bob
I think you may add
global $cf_AUTHNET_response_reason_text;
echo $cf_AUTHNET_response_reason_text;
in the template field!
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.