PipelineResponse.valid? is false and transaction_response.success? is false

1 view
Skip to first unread message

Ian Sefferman

unread,
Feb 17, 2010, 4:10:40 PM2/17/10
to Remit
Hi,

I'm a new Remit user who has _mostly_ been able to get up and running
with no problems. I am, however, having two small issues:

1) calling the PipelineResponse valid? method always returns false. I
notice that it looks for the awsSignature query param... My response
url from Amazon doesn't include that parameter -- only the following:
{:callerReference=>"", :signatureMethod=>"RSA-
SHA1", :certificateUrl=>"", :status=>"SC", :tokenID=>"", :expiry=>"03/2013", :signature=>"", :signatureVersion=>"2"}

(Obviously I got rid of any potentially identifiable data in there..)

I'm wondering if Amazon recently changed their signature version and I
should be forcing it to use the old version, of if something else is
going on? Any insights? Happy to make the change to the code if I know
where to look, etc.

2) This may be more of a FPS issue, so if so feel free to tell me to
RTFM more closely, but I've noticed that there's a difference between
a PayResponse object's successful? method and
transaction_response.success? method. That is, I've noticed
successful? return true and the credit card fail. In my case, I'd like
a hard fail (i.e. don't return successful if the CC fails to
authorize, even temporarily), but I can't find out how to modify that
property in Remit. Thoughts?

Thanks,
Ian

tom_302

unread,
Feb 18, 2010, 6:01:39 PM2/18/10
to Remit
Hello,

I'm having the same problem, which I believe is caused by changes to
the FPS signatures:

http://docs.amazonwebservices.com/AmazonFPS/2008-09-17/FPSAdvancedGuide/sig-2-faq.html

-Tom

Reply all
Reply to author
Forward
0 new messages