Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

ColdFusion cf_hmac

Posted on 2010-09-04
4
Medium Priority
?
1,197 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
  • 3
4 Comments
 
LVL 63

Accepted Solution

by:
Zvonko earned 1000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

I spent nearly three days trying to figure out how incorporate OAuth in Coldfusion for the Eventful API. Hopefully, this article will allow Coldfusion Programmers to buzz through the API when they need to. Basically, what this script does is authori…
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

972 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