Solved

ColdFusion cf_hmac

Posted on 2010-09-04
4
1,154 Views
Last Modified: 2013-12-24
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?
0
Comment
Question by:clayo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 63

Accepted Solution

by:
Zvonko earned 250 total points
ID: 33606190
Look at server one where it is working in what directory is your hmac.cfm and following files:
md5.cfm
ripemd_160.cfm
sha_1.cfm
sha_256.cfm

Copy those files to same directory on second server and give it a try.

0
 

Author Comment

by:clayo
ID: 33606616
So I would need all of these files in the same directory where the tag is being used?
0
 

Author Comment

by:clayo
ID: 33606759
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?
0
 

Author Comment

by:clayo
ID: 33606776
I have read in some blogs that this is a time zone issue or server clock issue?  
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
CFGRID Custom Functionality Series -  Part 1 Hi Guys, I was once asked how it is possible to to add a hyperlink in the cfgrid and open the window to show the data. Now this is quite simple, I have to use the EXT JS library for this and I achiev…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

635 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question