<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,9 +3,12 @@ require 'openssl/digest'
 
 module Remit
   # Encapsulates the logic for IPN request validation and attribute retrieval.
+  #
+  # Note: if your responses from Amazon are not validating, please pass the
+  # :version parameter to your original CBUI request.
   class IpnRequest
     # Signature key name used by AmazonFPS IPNs
-    SIGNATURE_KEY = 'awsSignature'
+    SIGNATURE_KEY = 'signature'
 
     # +params+ should be your controllers request parameters.
     def initialize(params, secret_key)</diff>
      <filename>lib/remit/ipn_request.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,6 @@ describe 'an IPN request' do
   before(:each) do
     @request_params = {
       &quot;action&quot;            =&gt; &quot;notice&quot;,
-      &quot;awsSignature&quot;      =&gt; &quot;DA7ZbuQaBDt2/+Mty9XweJyqI1E=&quot;,
       &quot;buyerName&quot;         =&gt; &quot;Fps Buyer&quot;,
       &quot;callerReference&quot;   =&gt; &quot;4-8-1-3.5&quot;,
       &quot;controller&quot;        =&gt; &quot;amazon_fps/ipn&quot;,
@@ -12,6 +11,7 @@ describe 'an IPN request' do
       &quot;paymentMethod&quot;     =&gt; &quot;CC&quot;,
       &quot;recipientEmail&quot;    =&gt; &quot;recipient@email.url&quot;,
       &quot;recipientName&quot;     =&gt; &quot;Fps Business&quot;,
+      &quot;signature&quot;         =&gt; &quot;DA7ZbuQaBDt2/+Mty9XweJyqI1E=&quot;,
       &quot;status&quot;            =&gt; &quot;SUCCESS&quot;,
       &quot;transactionAmount&quot; =&gt; &quot;USD 3.50&quot;,
       &quot;transactionDate&quot;   =&gt; &quot;1224687134&quot;,</diff>
      <filename>spec/units/ipn_request_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3bae3cb76a3b0b462810bfd8735edf266631e2b2</id>
    </parent>
  </parents>
  <author>
    <name>Tyler Hunt</name>
    <email>tyler@tylerhunt.com</email>
  </author>
  <url>http://github.com/tylerhunt/remit/commit/40170cec3165c014ba967c6f1f0ff48e04ba9bae</url>
  <id>40170cec3165c014ba967c6f1f0ff48e04ba9bae</id>
  <committed-date>2009-04-27T11:56:13-07:00</committed-date>
  <authored-date>2009-04-27T11:54:13-07:00</authored-date>
  <message>Fixed the ipn request to finally work correctly based on what Amazon is returning for 2009-01-09.</message>
  <tree>bbeb041f5b7097ef63e78d62e6a980d8dbe64223</tree>
  <committer>
    <name>Tyler Hunt</name>
    <email>tyler@tylerhunt.com</email>
  </committer>
</commit>
