Forums

authorize.net response into email template

sjellum 05 Jun, 2009
How can I put the response value $cf_AUTHNET_response_reason_text into the email template?

Thanks,
Sue
GreyHead 06 Jun, 2009
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
sjellum 06 Jun, 2009
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
GreyHead 06 Jun, 2009
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
Max_admin 23 Jun, 2009
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.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger