<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Md5 Hash not match for Refund callback in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Md5-Hash-not-match-for-Refund-callback/m-p/55794#M30632</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I successfully implemented a Silent Post callback url that checks the md5 signiture this way:&lt;/P&gt;&lt;P&gt;For Silent Post, these values are used for creating the MD5 Hash, in this exact order:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The MD5 Hash Value, which is assigned by the merchant in the account's Settings.&lt;/LI&gt;&lt;LI&gt;The transaction ID number we assigned to the transaction (x_trans_id).&lt;/LI&gt;&lt;LI&gt;The amount of the charge (x_amount).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The resulting string is then used to generate the MD5 hash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For ARB transactions all works great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I have a post request for Refund transaction(x_type=credit) the signiture does not match. :(&lt;/P&gt;&lt;P&gt;Am I missing something or the signiture is formed differently for refund posts.&lt;/P&gt;&lt;P&gt;Here is an example of real call:&lt;/P&gt;&lt;P&gt;x_response_code=1&amp;amp;x_response_reason_code=1&amp;amp;x_response_reason_text=This+transaction+has+been+approved%2E&amp;amp;x_avs_code=P&amp;amp;x_auth_code=&amp;amp;x_trans_id=60008074763&amp;amp;x_method=CC&amp;amp;x_card_type=Visa&amp;amp;x_account_number=XXXX9915&amp;amp;x_first_name=Ivan&amp;amp;x_last_name=Ivanov&amp;amp;x_company=&amp;amp;x_address=Lake+Street+41&amp;amp;x_city=Sofia&amp;amp;x_state=&amp;amp;x_zip=1000&amp;amp;x_country=BG&amp;amp;x_phone=&amp;amp;x_fax=&amp;amp;x_email=qatest041%40kiril%2Eendavomedia%2Ecom&amp;amp;x_invoice_num=&amp;amp;x_description=test95&amp;amp;x_type=credit&amp;amp;x_cust_id=3489&amp;amp;x_ship_to_first_name=&amp;amp;x_ship_to_last_name=&amp;amp;x_ship_to_company=&amp;amp;x_ship_to_address=&amp;amp;x_ship_to_city=&amp;amp;x_ship_to_state=&amp;amp;x_ship_to_zip=&amp;amp;x_ship_to_country=&amp;amp;x_amount=3%2E99&amp;amp;x_tax=0%2E00&amp;amp;x_duty=0%2E00&amp;amp;x_freight=0%2E00&amp;amp;x_tax_exempt=FALSE&amp;amp;x_po_num=&amp;amp;x_MD5_Hash=4E5F83E3FCF2A2772377134D1FB5F919&amp;amp;x_SHA2_Hash=&amp;amp;x_cvv2_resp_code=&amp;amp;x_cavv_response=&amp;amp;x_test_request=false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how I made the checksum with&amp;nbsp;Md5 Hash Value=brum12345&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;message: brum12345600080747633.99&lt;/P&gt;&lt;P&gt;md5(message): 80ba1e2cc9c03f342ef731eaa768c596&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;x_MD5_Hash&lt;/SPAN&gt;: 4e5f83e3fcf2a2772377134d1fb5f919&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 21 Sep 2016 09:55:27 GMT</pubDate>
    <dc:creator>agoniabg</dc:creator>
    <dc:date>2016-09-21T09:55:27Z</dc:date>
    <item>
      <title>Md5 Hash not match for Refund callback</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Md5-Hash-not-match-for-Refund-callback/m-p/55794#M30632</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I successfully implemented a Silent Post callback url that checks the md5 signiture this way:&lt;/P&gt;&lt;P&gt;For Silent Post, these values are used for creating the MD5 Hash, in this exact order:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The MD5 Hash Value, which is assigned by the merchant in the account's Settings.&lt;/LI&gt;&lt;LI&gt;The transaction ID number we assigned to the transaction (x_trans_id).&lt;/LI&gt;&lt;LI&gt;The amount of the charge (x_amount).&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The resulting string is then used to generate the MD5 hash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For ARB transactions all works great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I have a post request for Refund transaction(x_type=credit) the signiture does not match. :(&lt;/P&gt;&lt;P&gt;Am I missing something or the signiture is formed differently for refund posts.&lt;/P&gt;&lt;P&gt;Here is an example of real call:&lt;/P&gt;&lt;P&gt;x_response_code=1&amp;amp;x_response_reason_code=1&amp;amp;x_response_reason_text=This+transaction+has+been+approved%2E&amp;amp;x_avs_code=P&amp;amp;x_auth_code=&amp;amp;x_trans_id=60008074763&amp;amp;x_method=CC&amp;amp;x_card_type=Visa&amp;amp;x_account_number=XXXX9915&amp;amp;x_first_name=Ivan&amp;amp;x_last_name=Ivanov&amp;amp;x_company=&amp;amp;x_address=Lake+Street+41&amp;amp;x_city=Sofia&amp;amp;x_state=&amp;amp;x_zip=1000&amp;amp;x_country=BG&amp;amp;x_phone=&amp;amp;x_fax=&amp;amp;x_email=qatest041%40kiril%2Eendavomedia%2Ecom&amp;amp;x_invoice_num=&amp;amp;x_description=test95&amp;amp;x_type=credit&amp;amp;x_cust_id=3489&amp;amp;x_ship_to_first_name=&amp;amp;x_ship_to_last_name=&amp;amp;x_ship_to_company=&amp;amp;x_ship_to_address=&amp;amp;x_ship_to_city=&amp;amp;x_ship_to_state=&amp;amp;x_ship_to_zip=&amp;amp;x_ship_to_country=&amp;amp;x_amount=3%2E99&amp;amp;x_tax=0%2E00&amp;amp;x_duty=0%2E00&amp;amp;x_freight=0%2E00&amp;amp;x_tax_exempt=FALSE&amp;amp;x_po_num=&amp;amp;x_MD5_Hash=4E5F83E3FCF2A2772377134D1FB5F919&amp;amp;x_SHA2_Hash=&amp;amp;x_cvv2_resp_code=&amp;amp;x_cavv_response=&amp;amp;x_test_request=false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how I made the checksum with&amp;nbsp;Md5 Hash Value=brum12345&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;message: brum12345600080747633.99&lt;/P&gt;&lt;P&gt;md5(message): 80ba1e2cc9c03f342ef731eaa768c596&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;x_MD5_Hash&lt;/SPAN&gt;: 4e5f83e3fcf2a2772377134d1fb5f919&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2016 09:55:27 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Md5-Hash-not-match-for-Refund-callback/m-p/55794#M30632</guid>
      <dc:creator>agoniabg</dc:creator>
      <dc:date>2016-09-21T09:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: Md5 Hash not match for Refund callback</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Md5-Hash-not-match-for-Refund-callback/m-p/55894#M30720</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/17761"&gt;@agoniabg﻿&lt;/a&gt;&lt;BR /&gt;&lt;BR /&gt;It's been a while since this was first posted. I would recommend subscribing to this topic so that you'll be alerted via email if anyone from the community is able to respond with any comments. To subscribe, click Topic Options at the top of this thread and then select Subscribe. You'll then receive an email once anyone replies.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Richard&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 00:57:46 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Md5-Hash-not-match-for-Refund-callback/m-p/55894#M30720</guid>
      <dc:creator>RichardH</dc:creator>
      <dc:date>2016-10-04T00:57:46Z</dc:date>
    </item>
  </channel>
</rss>

