Link to home
Create AccountLog in
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?
ASKER CERTIFIED SOLUTION
Avatar of Zvonko
Zvonko
Flag of North Macedonia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of clayo
clayo

ASKER

So I would need all of these files in the same directory where the tag is being used?
Avatar of 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?
Avatar of clayo

ASKER

I have read in some blogs that this is a time zone issue or server clock issue?