Skip to content

Instantly share code, notes, and snippets.

@ox
Created July 24, 2012 01:42
Show Gist options
  • Save ox/3167405 to your computer and use it in GitHub Desktop.
Save ox/3167405 to your computer and use it in GitHub Desktop.
Bot spam when exposing a server using localtunnel. The account attempts to send "invoice.payment_succeeded" and "charge.succeeded" events to the server in hopes of getting free content. I
This is a series of POST requests that were made on my server in a matter of a few minutes. It seems to be sending different events, pretending something was bought using facebook credits and hoping the server will respond in agreement. I may be wrong but that's what it looks like. The account in question is 1527602990
Started POST "/hooks/receive" for 127.0.0.1 at 2012-07-23 21:23:35 -0400
Processing by ErrorsController#rescue_from_routing_error as XML
Parameters: {"object"=>"event", "type"=>"invoice.updated", "created"=>1343041707, "data"=>{"object"=>{"period_end"=>1342782211, "paid"=>true, "period_start"=>1340190211, "subtotal"=>2499, "customer"=>"cus_R60CriMU296q1f", "ending_balance"=>0, "attempt_count"=>1, "discount"=>nil, "attempted"=>true, "next_payment_attempt"=>nil, "object"=>"invoice", "closed"=>true, "date"=>1342782352, "starting_balance"=>0, "amount_due"=>2499, "livemode"=>false, "lines"=>{"invoiceitems"=>[], "subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345460611, "start"=>1342782211}, "amount"=>2499}], "prorations"=>[]}, "charge"=>"ch_yBguv2f2dFdoBp", "id"=>"in_hNGjNgHQaXR42P", "total"=>2499}, "previous_attributes"=>{"paid"=>false, "ending_balance"=>nil, "attempted"=>false, "next_payment_attempt"=>1342785952, "closed"=>false, "charge"=>nil}}, "livemode"=>false, "id"=>"evt_fbk4zFELwqCL8F", "pending_webhooks"=>1, "a"=>"hooks/receive", "error"=>{"object"=>"event", "type"=>"invoice.updated", "created"=>1343041707, "data"=>{"object"=>{"period_end"=>1342782211, "paid"=>true, "period_start"=>1340190211, "subtotal"=>2499, "customer"=>"cus_R60CriMU296q1f", "ending_balance"=>0, "attempt_count"=>1, "discount"=>nil, "attempted"=>true, "next_payment_attempt"=>nil, "object"=>"invoice", "closed"=>true, "date"=>1342782352, "starting_balance"=>0, "amount_due"=>2499, "livemode"=>false, "lines"=>{"invoiceitems"=>[], "subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345460611, "start"=>1342782211}, "amount"=>2499}], "prorations"=>[]}, "charge"=>"ch_yBguv2f2dFdoBp", "id"=>"in_hNGjNgHQaXR42P", "total"=>2499}, "previous_attributes"=>{"paid"=>false, "ending_balance"=>nil, "attempted"=>false, "next_payment_attempt"=>1342785952, "closed"=>false, "charge"=>nil}}, "livemode"=>false, "id"=>"evt_fbk4zFELwqCL8F", "pending_webhooks"=>1, "controller"=>"errors", "action"=>"rescue_from_routing_error", "a"=>"hooks/receive"}}
Started POST "/hooks/receive" for 127.0.0.1 at 2012-07-23 21:23:36 -0400
Processing by ErrorsController#rescue_from_routing_error as XML
Parameters: {"object"=>"event", "type"=>"invoice.payment_succeeded", "created"=>1343041707, "data"=>{"object"=>{"period_end"=>1342782211, "paid"=>true, "period_start"=>1340190211, "subtotal"=>2499, "customer"=>"cus_R60CriMU296q1f", "ending_balance"=>0, "attempt_count"=>1, "discount"=>nil, "attempted"=>true, "next_payment_attempt"=>nil, "object"=>"invoice", "closed"=>true, "date"=>1342782352, "starting_balance"=>0, "amount_due"=>2499, "livemode"=>false, "lines"=>{"invoiceitems"=>[], "subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345460611, "start"=>1342782211}, "amount"=>2499}], "prorations"=>[]}, "charge"=>"ch_yBguv2f2dFdoBp", "id"=>"in_hNGjNgHQaXR42P", "total"=>2499}}, "livemode"=>false, "id"=>"evt_wS9rDRr1iojUOK", "pending_webhooks"=>1, "a"=>"hooks/receive", "error"=>{"object"=>"event", "type"=>"invoice.payment_succeeded", "created"=>1343041707, "data"=>{"object"=>{"period_end"=>1342782211, "paid"=>true, "period_start"=>1340190211, "subtotal"=>2499, "customer"=>"cus_R60CriMU296q1f", "ending_balance"=>0, "attempt_count"=>1, "discount"=>nil, "attempted"=>true, "next_payment_attempt"=>nil, "object"=>"invoice", "closed"=>true, "date"=>1342782352, "starting_balance"=>0, "amount_due"=>2499, "livemode"=>false, "lines"=>{"invoiceitems"=>[], "subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345460611, "start"=>1342782211}, "amount"=>2499}], "prorations"=>[]}, "charge"=>"ch_yBguv2f2dFdoBp", "id"=>"in_hNGjNgHQaXR42P", "total"=>2499}}, "livemode"=>false, "id"=>"evt_wS9rDRr1iojUOK", "pending_webhooks"=>1, "controller"=>"errors", "action"=>"rescue_from_routing_error", "a"=>"hooks/receive"}}
Started POST "/hooks/receive" for 127.0.0.1 at 2012-07-23 21:23:36 -0400
Processing by ErrorsController#rescue_from_routing_error as XML
Parameters: {"object"=>"event", "type"=>"charge.succeeded", "created"=>1343041707, "data"=>{"object"=>{"id"=>"ch_yBguv2f2dFdoBp", "amount"=>2499, "currency"=>"usd", "disputed"=>false, "card"=>{"address_city"=>nil, "exp_year"=>2013, "exp_month"=>1, "fingerprint"=>"uLG6xB82sUQxnwgP", "country"=>"US", "cvc_check"=>"pass", "type"=>"Visa", "object"=>"card", "last4"=>"4242"}, "invoice"=>"in_hNGjNgHQaXR42P", "paid"=>true, "object"=>"charge", "refunded"=>false, "fee_details"=>[{"type"=>"stripe_fee", "currency"=>"usd", "description"=>"Stripe processing fees", "amount"=>102, "application"=>nil}], "fee"=>102, "customer"=>"cus_R60CriMU296q1f", "livemode"=>false, "created"=>1343041706}}, "livemode"=>false, "id"=>"evt_aQSBd6hwlP3bPJ", "pending_webhooks"=>1, "a"=>"hooks/receive", "error"=>{"object"=>"event", "type"=>"charge.succeeded", "created"=>1343041707, "data"=>{"object"=>{"id"=>"ch_yBguv2f2dFdoBp", "amount"=>2499, "currency"=>"usd", "disputed"=>false, "card"=>{"address_city"=>nil, "exp_year"=>2013, "exp_month"=>1, "fingerprint"=>"uLG6xB82sUQxnwgP", "country"=>"US", "cvc_check"=>"pass", "type"=>"Visa", "object"=>"card", "last4"=>"4242"}, "invoice"=>"in_hNGjNgHQaXR42P", "paid"=>true, "object"=>"charge", "refunded"=>false, "fee_details"=>[{"type"=>"stripe_fee", "currency"=>"usd", "description"=>"Stripe processing fees", "amount"=>102, "application"=>nil}], "fee"=>102, "customer"=>"cus_R60CriMU296q1f", "livemode"=>false, "created"=>1343041706}}, "livemode"=>false, "id"=>"evt_aQSBd6hwlP3bPJ", "pending_webhooks"=>1, "controller"=>"errors", "action"=>"rescue_from_routing_error", "a"=>"hooks/receive"}}
Started POST "/hooks/receive" for 127.0.0.1 at 2012-07-23 21:10:26 -0400
Processing by ErrorsController#rescue_from_routing_error as XML
Parameters: {"object"=>"event", "type"=>"invoice.payment_succeeded", "created"=>1343015604, "data"=>{"object"=>{"total"=>2499, "next_payment_attempt"=>nil, "ending_balance"=>0, "attempt_count"=>1, "starting_balance"=>0, "attempted"=>true, "paid"=>true, "period_end"=>1342756225, "closed"=>true, "amount_due"=>2499, "charge"=>"ch_SrHw15ahpL3duw", "subtotal"=>2499, "period_start"=>1340164225, "lines"=>{"invoiceitems"=>[], "subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345434625, "start"=>1342756225}, "amount"=>2499}], "prorations"=>[]}, "livemode"=>false, "customer"=>"cus_H90BbFhmOoxO6U", "id"=>"in_KCcCru1lqWAsX4", "discount"=>nil, "object"=>"invoice", "date"=>1342756326}}, "livemode"=>false, "id"=>"evt_Jq8pjc8RNtdnkK", "pending_webhooks"=>1, "a"=>"hooks/receive", "error"=>{"object"=>"event", "type"=>"invoice.payment_succeeded", "created"=>1343015604, "data"=>{"object"=>{"total"=>2499, "next_payment_attempt"=>nil, "ending_balance"=>0, "attempt_count"=>1, "starting_balance"=>0, "attempted"=>true, "paid"=>true, "period_end"=>1342756225, "closed"=>true, "amount_due"=>2499, "charge"=>"ch_SrHw15ahpL3duw", "subtotal"=>2499, "period_start"=>1340164225, "lines"=>{"invoiceitems"=>[], "subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345434625, "start"=>1342756225}, "amount"=>2499}], "prorations"=>[]}, "livemode"=>false, "customer"=>"cus_H90BbFhmOoxO6U", "id"=>"in_KCcCru1lqWAsX4", "discount"=>nil, "object"=>"invoice", "date"=>1342756326}}, "livemode"=>false, "id"=>"evt_Jq8pjc8RNtdnkK", "pending_webhooks"=>1, "controller"=>"errors", "action"=>"rescue_from_routing_error", "a"=>"hooks/receive"}}
Started POST "/hooks/receive" for 127.0.0.1 at 2012-07-23 21:10:26 -0400
Processing by ErrorsController#rescue_from_routing_error as XML
Parameters: {"object"=>"event", "type"=>"invoice.updated", "created"=>1343015604, "data"=>{"object"=>{"total"=>2499, "next_payment_attempt"=>nil, "ending_balance"=>0, "attempt_count"=>1, "starting_balance"=>0, "attempted"=>true, "paid"=>true, "period_end"=>1342756225, "closed"=>true, "amount_due"=>2499, "charge"=>"ch_SrHw15ahpL3duw", "subtotal"=>2499, "period_start"=>1340164225, "lines"=>{"invoiceitems"=>[], "subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345434625, "start"=>1342756225}, "amount"=>2499}], "prorations"=>[]}, "livemode"=>false, "customer"=>"cus_H90BbFhmOoxO6U", "id"=>"in_KCcCru1lqWAsX4", "discount"=>nil, "object"=>"invoice", "date"=>1342756326}, "previous_attributes"=>{"next_payment_attempt"=>1342759926, "ending_balance"=>nil, "attempted"=>false, "paid"=>false, "closed"=>false, "charge"=>nil}}, "livemode"=>false, "id"=>"evt_yyR8uq5nTQDNwP", "pending_webhooks"=>1, "a"=>"hooks/receive", "error"=>{"object"=>"event", "type"=>"invoice.updated", "created"=>1343015604, "data"=>{"object"=>{"total"=>2499, "next_payment_attempt"=>nil, "ending_balance"=>0, "attempt_count"=>1, "starting_balance"=>0, "attempted"=>true, "paid"=>true, "period_end"=>1342756225, "closed"=>true, "amount_due"=>2499, "charge"=>"ch_SrHw15ahpL3duw", "subtotal"=>2499, "period_start"=>1340164225, "lines"=>{"invoiceitems"=>[], "subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345434625, "start"=>1342756225}, "amount"=>2499}], "prorations"=>[]}, "livemode"=>false, "customer"=>"cus_H90BbFhmOoxO6U", "id"=>"in_KCcCru1lqWAsX4", "discount"=>nil, "object"=>"invoice", "date"=>1342756326}, "previous_attributes"=>{"next_payment_attempt"=>1342759926, "ending_balance"=>nil, "attempted"=>false, "paid"=>false, "closed"=>false, "charge"=>nil}}, "livemode"=>false, "id"=>"evt_yyR8uq5nTQDNwP", "pending_webhooks"=>1, "controller"=>"errors", "action"=>"rescue_from_routing_error", "a"=>"hooks/receive"}}
Started GET "/no_javascript" for 127.0.0.1 at 2012-07-23 21:15:36 -0400
Processing by ErrorsController#rescue_from_routing_error as */*
Parameters: {"a"=>"no_javascript"}
Started POST "/hooks/receive" for 127.0.0.1 at 2012-07-23 21:23:35 -0400
Processing by ErrorsController#rescue_from_routing_error as XML
Parameters: {"object"=>"event", "type"=>"invoice.updated", "created"=>1343041707, "data"=>{"object"=>{"period_end"=>1342782211, "paid"=>true, "period_start"=>1340190211, "subtotal"=>2499, "customer"=>"cus_R60CriMU296q1f", "ending_balance"=>0, "attempt_count"=>1, "discount"=>nil, "attempted"=>true, "next_payment_attempt"=>nil, "object"=>"invoice", "closed"=>true, "date"=>1342782352, "starting_balance"=>0, "amount_due"=>2499, "livemode"=>false, "lines"=>{"invoiceitems"=>[], "subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345460611, "start"=>1342782211}, "amount"=>2499}], "prorations"=>[]}, "charge"=>"ch_yBguv2f2dFdoBp", "id"=>"in_hNGjNgHQaXR42P", "total"=>2499}, "previous_attributes"=>{"paid"=>false, "ending_balance"=>nil, "attempted"=>false, "next_payment_attempt"=>1342785952, "closed"=>false, "charge"=>nil}}, "livemode"=>false, "id"=>"evt_fbk4zFELwqCL8F", "pending_webhooks"=>1, "a"=>"hooks/receive", "error"=>{"object"=>"event", "type"=>"invoice.updated", "created"=>1343041707, "data"=>{"object"=>{"period_end"=>1342782211, "paid"=>true, "period_start"=>1340190211, "subtotal"=>2499, "customer"=>"cus_R60CriMU296q1f", "ending_balance"=>0, "attempt_count"=>1, "discount"=>nil, "attempted"=>true, "next_payment_attempt"=>nil, "object"=>"invoice", "closed"=>true, "date"=>1342782352, "starting_balance"=>0, "amount_due"=>2499, "livemode"=>false, "lines"=>{"invoiceitems"=>[], "subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345460611, "start"=>1342782211}, "amount"=>2499}], "prorations"=>[]}, "charge"=>"ch_yBguv2f2dFdoBp", "id"=>"in_hNGjNgHQaXR42P", "total"=>2499}, "previous_attributes"=>{"paid"=>false, "ending_balance"=>nil, "attempted"=>false, "next_payment_attempt"=>1342785952, "closed"=>false, "charge"=>nil}}, "livemode"=>false, "id"=>"evt_fbk4zFELwqCL8F", "pending_webhooks"=>1, "controller"=>"errors", "action"=>"rescue_from_routing_error", "a"=>"hooks/receive"}}
Started POST "/hooks/receive" for 127.0.0.1 at 2012-07-23 21:23:36 -0400
Processing by ErrorsController#rescue_from_routing_error as XML
Parameters: {"object"=>"event", "type"=>"invoice.payment_succeeded", "created"=>1343041707, "data"=>{"object"=>{"period_end"=>1342782211, "paid"=>true, "period_start"=>1340190211, "subtotal"=>2499, "customer"=>"cus_R60CriMU296q1f", "ending_balance"=>0, "attempt_count"=>1, "discount"=>nil, "attempted"=>true, "next_payment_attempt"=>nil, "object"=>"invoice", "closed"=>true, "date"=>1342782352, "starting_balance"=>0, "amount_due"=>2499, "livemode"=>false, "lines"=>{"invoiceitems"=>[], "subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345460611, "start"=>1342782211}, "amount"=>2499}], "prorations"=>[]}, "charge"=>"ch_yBguv2f2dFdoBp", "id"=>"in_hNGjNgHQaXR42P", "total"=>2499}}, "livemode"=>false, "id"=>"evt_wS9rDRr1iojUOK", "pending_webhooks"=>1, "a"=>"hooks/receive", "error"=>{"object"=>"event", "type"=>"invoice.payment_succeeded", "created"=>1343041707, "data"=>{"object"=>{"period_end"=>1342782211, "paid"=>true, "period_start"=>1340190211, "subtotal"=>2499, "customer"=>"cus_R60CriMU296q1f", "ending_balance"=>0, "attempt_count"=>1, "discount"=>nil, "attempted"=>true, "next_payment_attempt"=>nil, "object"=>"invoice", "closed"=>true, "date"=>1342782352, "starting_balance"=>0, "amount_due"=>2499, "livemode"=>false, "lines"=>{"invoiceitems"=>[], "subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345460611, "start"=>1342782211}, "amount"=>2499}], "prorations"=>[]}, "charge"=>"ch_yBguv2f2dFdoBp", "id"=>"in_hNGjNgHQaXR42P", "total"=>2499}}, "livemode"=>false, "id"=>"evt_wS9rDRr1iojUOK", "pending_webhooks"=>1, "controller"=>"errors", "action"=>"rescue_from_routing_error", "a"=>"hooks/receive"}}
Started POST "/hooks/receive" for 127.0.0.1 at 2012-07-23 21:23:36 -0400
Processing by ErrorsController#rescue_from_routing_error as XML
Parameters: {"object"=>"event", "type"=>"charge.succeeded", "created"=>1343041707, "data"=>{"object"=>{"id"=>"ch_yBguv2f2dFdoBp", "amount"=>2499, "currency"=>"usd", "disputed"=>false, "card"=>{"address_city"=>nil, "exp_year"=>2013, "exp_month"=>1, "fingerprint"=>"uLG6xB82sUQxnwgP", "country"=>"US", "cvc_check"=>"pass", "type"=>"Visa", "object"=>"card", "last4"=>"4242"}, "invoice"=>"in_hNGjNgHQaXR42P", "paid"=>true, "object"=>"charge", "refunded"=>false, "fee_details"=>[{"type"=>"stripe_fee", "currency"=>"usd", "description"=>"Stripe processing fees", "amount"=>102, "application"=>nil}], "fee"=>102, "customer"=>"cus_R60CriMU296q1f", "livemode"=>false, "created"=>1343041706}}, "livemode"=>false, "id"=>"evt_aQSBd6hwlP3bPJ", "pending_webhooks"=>1, "a"=>"hooks/receive", "error"=>{"object"=>"event", "type"=>"charge.succeeded", "created"=>1343041707, "data"=>{"object"=>{"id"=>"ch_yBguv2f2dFdoBp", "amount"=>2499, "currency"=>"usd", "disputed"=>false, "card"=>{"address_city"=>nil, "exp_year"=>2013, "exp_month"=>1, "fingerprint"=>"uLG6xB82sUQxnwgP", "country"=>"US", "cvc_check"=>"pass", "type"=>"Visa", "object"=>"card", "last4"=>"4242"}, "invoice"=>"in_hNGjNgHQaXR42P", "paid"=>true, "object"=>"charge", "refunded"=>false, "fee_details"=>[{"type"=>"stripe_fee", "currency"=>"usd", "description"=>"Stripe processing fees", "amount"=>102, "application"=>nil}], "fee"=>102, "customer"=>"cus_R60CriMU296q1f", "livemode"=>false, "created"=>1343041706}}, "livemode"=>false, "id"=>"evt_aQSBd6hwlP3bPJ", "pending_webhooks"=>1, "controller"=>"errors", "action"=>"rescue_from_routing_error", "a"=>"hooks/receive"}}
Started POST "/hooks/receive" for 127.0.0.1 at 2012-07-23 21:26:54 -0400
Processing by ErrorsController#rescue_from_routing_error as XML
Parameters: {"object"=>"event", "type"=>"invoice.updated", "created"=>1343042645, "data"=>{"object"=>{"total"=>2499, "next_payment_attempt"=>nil, "ending_balance"=>0, "attempt_count"=>1, "starting_balance"=>0, "attempted"=>true, "paid"=>true, "period_end"=>1342783291, "closed"=>true, "amount_due"=>2499, "charge"=>"ch_u66wlEzs7VNt8j", "subtotal"=>2499, "period_start"=>1340191291, "lines"=>{"invoiceitems"=>[], "subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345461691, "start"=>1342783291}, "amount"=>2499}], "prorations"=>[]}, "livemode"=>false, "customer"=>"cus_uoyjQbX0bjKqTc", "id"=>"in_iUF9fIxjq0Gng3", "discount"=>nil, "object"=>"invoice", "date"=>1342783304}, "previous_attributes"=>{"next_payment_attempt"=>1342786904, "ending_balance"=>nil, "attempted"=>false, "paid"=>false, "closed"=>false, "charge"=>nil}}, "livemode"=>false, "id"=>"evt_moBl4KDi0zAEPm", "pending_webhooks"=>1, "a"=>"hooks/receive", "error"=>{"object"=>"event", "type"=>"invoice.updated", "created"=>1343042645, "data"=>{"object"=>{"total"=>2499, "next_payment_attempt"=>nil, "ending_balance"=>0, "attempt_count"=>1, "starting_balance"=>0, "attempted"=>true, "paid"=>true, "period_end"=>1342783291, "closed"=>true, "amount_due"=>2499, "charge"=>"ch_u66wlEzs7VNt8j", "subtotal"=>2499, "period_start"=>1340191291, "lines"=>{"invoiceitems"=>[], "subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345461691, "start"=>1342783291}, "amount"=>2499}], "prorations"=>[]}, "livemode"=>false, "customer"=>"cus_uoyjQbX0bjKqTc", "id"=>"in_iUF9fIxjq0Gng3", "discount"=>nil, "object"=>"invoice", "date"=>1342783304}, "previous_attributes"=>{"next_payment_attempt"=>1342786904, "ending_balance"=>nil, "attempted"=>false, "paid"=>false, "closed"=>false, "charge"=>nil}}, "livemode"=>false, "id"=>"evt_moBl4KDi0zAEPm", "pending_webhooks"=>1, "controller"=>"errors", "action"=>"rescue_from_routing_error", "a"=>"hooks/receive"}}
Started POST "/hooks/receive" for 127.0.0.1 at 2012-07-23 21:26:54 -0400
Processing by ErrorsController#rescue_from_routing_error as XML
Parameters: {"object"=>"event", "type"=>"invoice.payment_succeeded", "created"=>1343042645, "data"=>{"object"=>{"attempt_count"=>1, "id"=>"in_iUF9fIxjq0Gng3", "subtotal"=>2499, "period_end"=>1342783291, "attempted"=>true, "period_start"=>1340191291, "paid"=>true, "total"=>2499, "closed"=>true, "discount"=>nil, "object"=>"invoice", "amount_due"=>2499, "next_payment_attempt"=>nil, "livemode"=>false, "customer"=>"cus_uoyjQbX0bjKqTc", "ending_balance"=>0, "date"=>1342783304, "starting_balance"=>0, "lines"=>{"subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345461691, "start"=>1342783291}, "amount"=>2499}], "prorations"=>[], "invoiceitems"=>[]}, "charge"=>"ch_u66wlEzs7VNt8j"}}, "livemode"=>false, "id"=>"evt_7ABfGwYldhGuzj", "pending_webhooks"=>1, "a"=>"hooks/receive", "error"=>{"object"=>"event", "type"=>"invoice.payment_succeeded", "created"=>1343042645, "data"=>{"object"=>{"attempt_count"=>1, "id"=>"in_iUF9fIxjq0Gng3", "subtotal"=>2499, "period_end"=>1342783291, "attempted"=>true, "period_start"=>1340191291, "paid"=>true, "total"=>2499, "closed"=>true, "discount"=>nil, "object"=>"invoice", "amount_due"=>2499, "next_payment_attempt"=>nil, "livemode"=>false, "customer"=>"cus_uoyjQbX0bjKqTc", "ending_balance"=>0, "date"=>1342783304, "starting_balance"=>0, "lines"=>{"subscriptions"=>[{"plan"=>{"object"=>"plan", "currency"=>"usd", "livemode"=>false, "amount"=>2499, "trial_period_days"=>nil, "name"=>"fancy_plan", "interval"=>"month", "id"=>"fancy"}, "period"=>{"end"=>1345461691, "start"=>1342783291}, "amount"=>2499}], "prorations"=>[], "invoiceitems"=>[]}, "charge"=>"ch_u66wlEzs7VNt8j"}}, "livemode"=>false, "id"=>"evt_7ABfGwYldhGuzj", "pending_webhooks"=>1, "controller"=>"errors", "action"=>"rescue_from_routing_error", "a"=>"hooks/receive"}}
Started POST "/hooks/receive" for 127.0.0.1 at 2012-07-23 21:26:54 -0400
Processing by ErrorsController#rescue_from_routing_error as XML
Parameters: {"object"=>"event", "type"=>"charge.succeeded", "created"=>1343042645, "data"=>{"object"=>{"card"=>{"cvc_check"=>"pass", "exp_year"=>2013, "object"=>"card", "fingerprint"=>"uLG6xB82sUQxnwgP", "exp_month"=>1, "country"=>"US", "address_city"=>nil, "last4"=>"4242", "type"=>"Visa"}, "amount"=>2499, "paid"=>true, "customer"=>"cus_uoyjQbX0bjKqTc", "fee_details"=>[{"type"=>"stripe_fee", "currency"=>"usd", "description"=>"Stripe processing fees", "amount"=>102, "application"=>nil}], "object"=>"charge", "disputed"=>false, "currency"=>"usd", "livemode"=>false, "refunded"=>false, "fee"=>102, "invoice"=>"in_iUF9fIxjq0Gng3", "id"=>"ch_u66wlEzs7VNt8j", "created"=>1343042645}}, "livemode"=>false, "id"=>"evt_ctEgn8SLb4L8ti", "pending_webhooks"=>1, "a"=>"hooks/receive", "error"=>{"object"=>"event", "type"=>"charge.succeeded", "created"=>1343042645, "data"=>{"object"=>{"card"=>{"cvc_check"=>"pass", "exp_year"=>2013, "object"=>"card", "fingerprint"=>"uLG6xB82sUQxnwgP", "exp_month"=>1, "country"=>"US", "address_city"=>nil, "last4"=>"4242", "type"=>"Visa"}, "amount"=>2499, "paid"=>true, "customer"=>"cus_uoyjQbX0bjKqTc", "fee_details"=>[{"type"=>"stripe_fee", "currency"=>"usd", "description"=>"Stripe processing fees", "amount"=>102, "application"=>nil}], "object"=>"charge", "disputed"=>false, "currency"=>"usd", "livemode"=>false, "refunded"=>false, "fee"=>102, "invoice"=>"in_iUF9fIxjq0Gng3", "id"=>"ch_u66wlEzs7VNt8j", "created"=>1343042645}}, "livemode"=>false, "id"=>"evt_ctEgn8SLb4L8ti", "pending_webhooks"=>1, "controller"=>"errors", "action"=>"rescue_from_routing_error", "a"=>"hooks/receive"}}
Started POST "/users/facebook/subscriptions/68" for 127.0.0.1 at 2012-07-23 21:27:53 -0400
Processing by ErrorsController#rescue_from_routing_error as */*
Parameters: {"object"=>"user", "entry"=>[{"uid"=>"1527602990", "id"=>"1527602990", "time"=>1342544974, "changed_fields"=>["feed"]}], "a"=>"users/facebook/subscriptions/68", "error"=>{"object"=>"user", "entry"=>[{"uid"=>"1527602990", "id"=>"1527602990", "time"=>1342544974, "changed_fields"=>["feed"]}], "controller"=>"errors", "action"=>"rescue_from_routing_error", "a"=>"users/facebook/subscriptions/68"}}
Started POST "/users/facebook/subscriptions/68" for 127.0.0.1 at 2012-07-23 21:28:56 -0400
Processing by ErrorsController#rescue_from_routing_error as */*
Parameters: {"object"=>"user", "entry"=>[{"uid"=>"1527602990", "id"=>"1527602990", "time"=>1342465765, "changed_fields"=>["feed"]}], "a"=>"users/facebook/subscriptions/68", "error"=>{"object"=>"user", "entry"=>[{"uid"=>"1527602990", "id"=>"1527602990", "time"=>1342465765, "changed_fields"=>["feed"]}], "controller"=>"errors", "action"=>"rescue_from_routing_error", "a"=>"users/facebook/subscriptions/68"}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment