Avatar of clayo
clayo
 asked on

ColdFusion cf_hmac

Ok so I am using this same code on another server.  I have sample code from authorize.net and generate a hash using cf_hmac.  I am getting the error.  

Cannot find CFML template for custom tag hmac.
ColdFusion attempted looking in the tree of installed custom tags but did not find a custom tag with this name. If you are using per-application custom tag mappings, ensure that per-application settings are enabled by the administrator.

So I downloaded the hmac.cfm file from another post, used a cfmodule tag to bind to the current document but got another error from within that file.  

I just don't understand how the exact code would work on one server and not another?  Any ideas?
Web ServersColdFusion Language

Avatar of undefined
Last Comment
clayo

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Zvonko

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
clayo

ASKER
So I would need all of these files in the same directory where the tag is being used?
clayo

ASKER
I loaded these files into the directory and now I am getting an error from authorize.net:

(97) This transaction cannot be accepted.

I did a little research and it seems as if this is still an issue with the has being sent.  I did a dump on authorize.net to see what is being passed and the following is what is being passed. The hash is there...  Im just not sure as to what authorize.net is looking for?
clayo

ASKER
I have read in some blogs that this is a time zone issue or server clock issue?  
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23