Skip to content

Instantly share code, notes, and snippets.

@farhan-syed
Created September 14, 2015 04:02
Show Gist options
  • Save farhan-syed/01bbacd24468f2d6310e to your computer and use it in GitHub Desktop.
Save farhan-syed/01bbacd24468f2d6310e to your computer and use it in GitHub Desktop.
2015-09-14T03:51:25.101424+00:00 app[web.1]: app/controllers/charge_controller.rb:12:in `index'
2015-09-14T03:51:25.101425+00:00 app[web.1]:
2015-09-14T03:51:25.101427+00:00 app[web.1]:
2015-09-14T03:51:25.325976+00:00 heroku[router]: at=info method=GET path="/charge/index" host=stripeconnect.herokuapp.com request_id=b9e6e031-c789-4d3b-b176-7353f9cef381 fwd="172.1.34.105" dyno=web.1 connect=0ms service=784ms status=500 bytes=1754
2015-09-14T03:54:15.804691+00:00 app[web.1]: Started POST "/charge/index" for 172.1.34.105 at 2015-09-14 03:54:15 +0000
2015-09-14T03:54:15.814697+00:00 app[web.1]: 14180
2015-09-14T03:54:15.814058+00:00 app[web.1]: Parameters: {"stripeToken"=>"tok_16ko2l27so3cCAuPfdVZvnyC", "stipeConnectedAccount"=>"acct_16gXNXBG9NLnd6fU", "price"=>"141.80"}
2015-09-14T03:54:15.814043+00:00 app[web.1]: Processing by ChargeController#index as */*
2015-09-14T03:54:16.681167+00:00 heroku[router]: at=info method=POST path="/charge/index" host=stripeconnect.herokuapp.com request_id=0738edf7-dc89-4c5f-9e0f-ed838f8b085f fwd="172.1.34.105" dyno=web.1 connect=5ms service=882ms status=200 bytes=1482
2015-09-14T03:54:16.660960+00:00 app[web.1]: {
2015-09-14T03:54:16.660965+00:00 app[web.1]: "id": "ch_16ko2m27so3cCAuP46TMMTUH",
2015-09-14T03:54:16.660967+00:00 app[web.1]: "object": "charge",
2015-09-14T03:54:16.660968+00:00 app[web.1]: "created": 1442202856,
2015-09-14T03:54:16.660970+00:00 app[web.1]: "livemode": false,
2015-09-14T03:54:16.660971+00:00 app[web.1]: "paid": true,
2015-09-14T03:54:16.660972+00:00 app[web.1]: "status": "succeeded",
2015-09-14T03:54:16.660973+00:00 app[web.1]: "amount": 14180,
2015-09-14T03:54:16.660975+00:00 app[web.1]: "currency": "usd",
2015-09-14T03:54:16.660976+00:00 app[web.1]: "refunded": false,
2015-09-14T03:54:16.660979+00:00 app[web.1]: "source": {"id":"card_16ko2l27so3cCAuPKHC9aN6a","object":"card","last4":"4242","brand":"Visa","funding":"credit","exp_month":4,"exp_year":2024,"fingerprint":"igwmBF27devJaF8W","country":"US","name":null,"address_line1":null,"address_line2":null,"address_city":null,"address_state":null,"address_zip":null,"address_country":null,"cvc_check":"pass","address_line1_check":null,"address_zip_check":null,"tokenization_method":null,"dynamic_last4":null,"metadata":{},"customer":null},
2015-09-14T03:54:16.660982+00:00 app[web.1]: "balance_transaction": "txn_16ko2m27so3cCAuPTij060rP",
2015-09-14T03:54:16.660980+00:00 app[web.1]: "captured": true,
2015-09-14T03:54:16.660983+00:00 app[web.1]: "failure_message": null,
2015-09-14T03:54:16.660985+00:00 app[web.1]: "failure_code": null,
2015-09-14T03:54:16.660986+00:00 app[web.1]: "amount_refunded": 0,
2015-09-14T03:54:16.660987+00:00 app[web.1]: "customer": null,
2015-09-14T03:54:16.660989+00:00 app[web.1]: "invoice": null,
2015-09-14T03:54:16.661008+00:00 app[web.1]: "description": "Example charge",
2015-09-14T03:54:16.661009+00:00 app[web.1]: "dispute": null,
2015-09-14T03:54:16.661010+00:00 app[web.1]: "metadata": {},
2015-09-14T03:54:16.661011+00:00 app[web.1]: "statement_descriptor": null,
2015-09-14T03:54:16.661013+00:00 app[web.1]: "fraud_details": {},
2015-09-14T03:54:16.661014+00:00 app[web.1]: "transfer": "tr_16ko2m27so3cCAuPsqLzig7D",
2015-09-14T03:54:16.661015+00:00 app[web.1]: "receipt_email": null,
2015-09-14T03:54:16.661016+00:00 app[web.1]: "receipt_number": null,
2015-09-14T03:54:16.661018+00:00 app[web.1]: "shipping": null,
2015-09-14T03:54:16.661019+00:00 app[web.1]: "destination": "acct_16gXNXBG9NLnd6fU",
2015-09-14T03:54:16.661020+00:00 app[web.1]: "application_fee": "fee_6ylZ765NQj9vwM",
2015-09-14T03:54:16.661022+00:00 app[web.1]: "refunds": {"object":"list","total_count":0,"has_more":false,"url":"/v1/charges/ch_16ko2m27so3cCAuP46TMMTUH/refunds","data":[]}
2015-09-14T03:54:16.661023+00:00 app[web.1]: }
2015-09-14T03:54:16.661589+00:00 app[web.1]: Rendered charge/index.html.erb within layouts/application (0.1ms)
2015-09-14T03:54:16.904692+00:00 app[web.1]: Started GET "/charge/index" for 172.1.34.105 at 2015-09-14 03:54:16 +0000
2015-09-14T03:54:16.913352+00:00 app[web.1]: 0
2015-09-14T03:54:16.662393+00:00 app[web.1]: Completed 200 OK in 848ms (Views: 1.2ms | ActiveRecord: 0.0ms)
2015-09-14T03:54:16.912560+00:00 app[web.1]: Processing by ChargeController#index as */*
2015-09-14T03:54:17.341073+00:00 heroku[router]: at=info method=GET path="/charge/index" host=stripeconnect.herokuapp.com request_id=bef94806-f689-4e52-99e6-d12d645009b9 fwd="172.1.34.105" dyno=web.1 connect=1ms service=448ms status=500 bytes=1754
2015-09-14T03:54:17.342593+00:00 app[web.1]: Completed 500 Internal Server Error in 426ms (ActiveRecord: 0.0ms)
2015-09-14T03:54:17.342599+00:00 app[web.1]:
2015-09-14T03:54:17.342601+00:00 app[web.1]: Stripe::InvalidRequestError (Must provide source or customer.):
2015-09-14T03:54:17.342603+00:00 app[web.1]: app/controllers/charge_controller.rb:12:in `index'
2015-09-14T03:54:17.342604+00:00 app[web.1]:
2015-09-14T03:54:17.342606+00:00 app[web.1]:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment