Skip to content

Instantly share code, notes, and snippets.

@eagsalazar
Created June 3, 2012 18:31
Show Gist options
  • Save eagsalazar/2864509 to your computer and use it in GitHub Desktop.
Save eagsalazar/2864509 to your computer and use it in GitHub Desktop.
Started POST "/hooks/subscriptions" for 127.0.0.1 at 2012-06-03 14:29:17 -0400
Processing by HooksController#subscriptions as XML
Parameters: {"object"=>"event", "type"=>"charge.succeeded", "created"=>1326853478, "livemode"=>false, "id"=>"evt_00000000000000", "data"=>{"object"=>{"object"=>"charge", "failure_message"=>nil, "currency"=>"usd", "disputed"=>false, "card"=>{"fingerprint"=>"8ox7KKeBx8logIox", "type"=>"Visa", "object"=>"card", "address_zip"=>nil, "country"=>"US", "last4"=>"4242", "address_line1"=>nil, "exp_month"=>1, "address_line2"=>nil, "cvc_check"=>"pass", "exp_year"=>2013, "address_country"=>nil, "address_zip_check"=>nil, "name"=>"Flim Flam", "address_state"=>nil, "id"=>"cc_00000000000000", "address_line1_check"=>nil}, "paid"=>true, "invoice"=>"in_00000000000000", "created"=>1338674115, "refunded"=>false, "livemode"=>false, "fee"=>0, "amount_refunded"=>0, "description"=>nil, "id"=>"ch_00000000000000", "amount"=>2900, "fee_details"=>[{"type"=>"stripe_fee", "currency"=>"usd", "application"=>nil, "amount"=>0}], "customer"=>"cus_00000000000000"}}, "hook"=>{"object"=>"event", "type"=>"charge.succeeded", "created"=>1326853478, "livemode"=>false, "id"=>"evt_00000000000000", "data"=>{"object"=>{"object"=>"charge", "failure_message"=>nil, "currency"=>"usd", "disputed"=>false, "card"=>{"fingerprint"=>"8ox7KKeBx8logIox", "type"=>"Visa", "object"=>"card", "address_zip"=>nil, "country"=>"US", "last4"=>"4242", "address_line1"=>nil, "exp_month"=>1, "address_line2"=>nil, "cvc_check"=>"pass", "exp_year"=>2013, "address_country"=>nil, "address_zip_check"=>nil, "name"=>"Flim Flam", "address_state"=>nil, "id"=>"cc_00000000000000", "address_line1_check"=>nil}, "paid"=>true, "invoice"=>"in_00000000000000", "created"=>1338674115, "refunded"=>false, "livemode"=>false, "fee"=>0, "amount_refunded"=>0, "description"=>nil, "id"=>"ch_00000000000000", "amount"=>2900, "fee_details"=>[{"type"=>"stripe_fee", "currency"=>"usd", "application"=>nil, "amount"=>0}], "customer"=>"cus_00000000000000"}}, "controller"=>"hooks", "action"=>"subscriptions"}}
Completed 500 Internal Server Error in 686ms
Stripe::InvalidRequestError (No such notification: evt_00000000000000):
app/controllers/hooks_controller.rb:40:in `subscriptions'
Rendered /home/esalazar/.rvm/gems/ruby-1.9.3-p194@social_sidekick/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.9ms)
Rendered /home/esalazar/.rvm/gems/ruby-1.9.3-p194@social_sidekick/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms)
Rendered /home/esalazar/.rvm/gems/ruby-1.9.3-p194@social_sidekick/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.5ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment