in

Dotnetpanel Forums

Community support forums for DotNetPanel products

Why is "MD5 Hash Value" a required field in Ecommerce settings --> Credit Card payments?

Last post 11-03-2009 2:10 PM by mjsauer. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 07-17-2007 4:27 PM

    Why is "MD5 Hash Value" a required field in Ecommerce settings --> Credit Card payments?

    In Ecommerce settings --> Credit Card payments, when I try to enter the information for my Authorize.net account, DNP requires the "MD5 Hash Value" which I don't have. I looked at my Authorize.net account and I don't have one configured there either.

    1. Why is this field required?
    2. And if required, what value should I use?
    Filed under:
  • 07-20-2007 4:53 AM In reply to

    Re: Why is "MD5 Hash Value" a required field in Ecommerce settings --> Credit Card payments?

    This fiel is required by Authorize.Net. If I'm not mistaken you can find MD5 Hash Value settings by logging-in to the Authorize.Net account then go to Profile Settings (or Settings) screen.

    Best regards,
    Pavel Tsurbeleu, COO
    DotNetPanel Software - professionally developed software for hosting businesses
  • 11-14-2007 9:37 AM In reply to

    Re: Why is "MD5 Hash Value" a required field in Ecommerce settings --> Credit Card payments?

    Hello Pavel, 

    I am having problem with using Authorize.net.  I have my ANET account set in TEST mode. My settings in DNP set in test mode too.

    When I am trying to place an order and I am getting following error in Audit Log:

    MD5 hash value received is either incorrect or modified.
    at DotNetPanel.Ecommerce.EnterpriseServer.AuthorizeNetProvider.SubmitPaymentTransaction(CheckoutDetails details)
    at DotNetPanel.Ecommerce.EnterpriseServer.PaymentGatewayController.CheckOut(Int32 resellerId, Int32 userId, Int32 invoiceId, String methodName, CheckoutDetails details)

    I called ANET and they told me that it could be post request is using https://test.authorize.net instead of https://certification.authorize.net. I downloaded binary code from your site but I can't find which one you are using. All private methods incapsulated in dll and you don't provide source code.

    Anyway I deside to run my own test and it did work. When I post using my code it recieved back seccesful transaction. I also recieved MD5 hash key from ANET. So I used same key in DNP.

    I am kind of lost. Can you please describe what I should provide in ANET MD5 Setting and what kind of MD5 key I should use in DNP. They way I used MD5 is you will need to provide a MD5 input value in the Merchant Interface, develop a process to generate your own hash, and determine if that value matches the hash provided in the transaction response.

     Please advise.

     

  • 11-14-2007 9:46 AM In reply to

    Re: Why is "MD5 Hash Value" a required field in Ecommerce settings --> Credit Card payments?

    By the way I am getting test emails from Authorize.NET. They are same email when I do test using my code or using DNP. I am lost, if transaction was process why DotNetPanel.Ecommerce.EnterpriseServer.AuthorizeNetProvider.SubmitPaymentTransaction method fires exeption.

    Bellow you will Authorize.net respond code using my code:

    ============== RESULTS ==============
    Response : This transaction has been approved.
    Authorization Code : 000000
    Transaction ID : 0
    Address Verification : AVS Not Applicable

     ========= ORDER INFORMATION =========
    Invoice : 041803-001
    Description : Simple AIM Example Amount : 29.99 (USD)
    Payment Method : MasterCard
    Type : Authorization and Capture

    This is using DNP:

    ============== RESULTS ==============
    Response : This transaction has been approved.
    Authorization Code : 000000
    Transaction ID : 0
    Address Verification : AVS Not Applicable

    ========= ORDER INFORMATION =========
    Invoice : 5
    Description :
    Amount : 53.20 (USD)
    Payment Method : MasterCard
    Type : Authorization and Capture

     

  • 11-14-2007 10:51 AM In reply to

    Re: Why is "MD5 Hash Value" a required field in Ecommerce settings --> Credit Card payments?

    Ok, I figured it out.

    Go to Authorize.net and Settings-> MD5-hash.  Type in some words and repeat. It can be anything. For me it didn't work beacause I used very long string. Now I used all lowercase letter and no number. My word is short, not more that 10 characters. Dont try to convert your word  to HASH value. It must be regular word. I used HASH value that I generated using C#. Save this page and go to DNP and type id your API LOGIN ID in username field don't use your username to login to Authorize.net then type in Transaction Key and for MD5 field enter same name (word) that you used to enter in Authorize.net MD5 screen, dont enter HASH values it must be regular word. Then go and try to place an order. If for some reason it doesn't work keep you order page open and go to DNP and look at Audit Log you will find error. Open it and them start QA this problem or just google it. If need help download AIM_guide.pdf from Authorize.NET site.

  • 11-03-2009 2:10 PM In reply to

    • mjsauer
    • Top 500 Contributor
    • Joined on 06-26-2007
    • San Diego, CA
    • Posts 6

    Re: Why is "MD5 Hash Value" a required field in Ecommerce settings --> Credit Card payments?

    MD5 Hash is not required by Authorize.net. It is optional. I cannot enable it though because my WHMCS software does not have an MD5 Hash setting. So, if I set it, I assume WHMCS will start receiving encrypted responses it cannot interpret. So, how can I use Authorize.net with DNP? I need to be able to NOT use an MD5 Hash.
    Mark J. Sauer
    SSN Pro Hosting
Page 1 of 1 (6 items)
Powered by Community Server (Commercial Edition), by Telligent Systems