Shopify/active_merchant — pull request #542 by ntalbott (2013-01-22 23:30:19+00:00)
Title: Issue #23 is still an issue: Paypal::Notification - #received_at does not correctly parse params["payment_date"]

(https://github.com/Shopify/active_merchant/issues/23)

This is still an issue. Documentation shows Time.parse params[:payment_date] which is definitely incorrect.

Time.parse "16:56:00 Jan 01, 2013 PDT"ends up being 2013-01-02 16:56:01 -0500

The suggested gist will work. Here is the link to a blog post about it, though.

http://rhnh.net/2008/03/17/paypal-ipn-fails-date-standards