Skip to content

Instantly share code, notes, and snippets.

@tk5446
Created June 17, 2014 22:39
Show Gist options
  • Save tk5446/c7804e5df28a52287cf1 to your computer and use it in GitHub Desktop.
Save tk5446/c7804e5df28a52287cf1 to your computer and use it in GitHub Desktop.
This is the error we are receiving from Crowdtilt API when trying to make a production payment
2014-06-17T22:35:25.162968+00:00 heroku[router]: at=info method=POST path="/fishbone-s-swim-at-your-own-risk-campaign--2/ajax/create_payment_user" host=www.pitchtop.com request_id=331c9e0f-f784-458d-9788-78ab24ec0bac fwd="192.77.237.46" dyno=web.2 connect=16ms service=683ms status=200 bytes=473
2014-06-17T22:35:25.066827+00:00 app[web.2]: method=POST path=/fishbone-s-swim-at-your-own-risk-campaign--2/ajax/create_payment_user format=*/* controller=campaigns action=ajax_create_payment_user status=200 duration=594.32 view=23.65 db=5.58 params={"email"=>"4tking@gmail.com", "id"=>"fishbone-s-swim-at-your-own-risk-campaign--2"}
2014-06-17T22:35:30.991432+00:00 app[web.1]: CROWDTILT API REQUEST: /campaigns/CMPEE03EC4EF5A211E3ABAAFB2FEDA5C20B/payments
2014-06-17T22:35:30.991531+00:00 app[web.1]: {:amount=>100, :user_fee_amount=>0, :admin_fee_amount=>33, :user_id=>"USRACA50BDEF66F11E388FF2CB74438A48E", :card_id=>"CCPB01059EAF66F11E3BA349AF1760C2EDA", :metadata=>{:fullname=>"THOMAS KING", :email=>"4tking@gmail.com", :billing_postal_code=>"94109", :quantity=>1, :reward=>0, :additional_info=>""}}
2014-06-17T22:35:31.315741+00:00 heroku[router]: at=info method=POST path="/fishbone-s-swim-at-your-own-risk-campaign--2/checkout/process" host=www.pitchtop.com request_id=7b9ab4e8-2f64-4c1b-b093-0db316a736cb fwd="192.77.237.46" dyno=web.1 connect=1ms service=479ms status=302 bytes=592
2014-06-17T22:35:31.294012+00:00 app[web.1]: API ERROR WITH POST TO /payments: 404 {"error"=>"This campaign does not exist", "request_id"=>"REQ321901403044531.2579426345", "error_id"=>"ERR_ID_CAMPAIGN_NOT_FOUND"}
2014-06-17T22:35:31.308811+00:00 app[web.1]: method=POST path=/fishbone-s-swim-at-your-own-risk-campaign--2/checkout/process format=html controller=campaigns action=checkout_process status=302 duration=457.89 db=27.02 location=https://www.pitchtop.com/fishbone-s-swim-at-your-own-risk-campaign--2/checkout/amount params={"authenticity_token"=>"JFgjpZgOKGLfBLq/ND9abFKLQe41kqMQyciXR5OW59c=", "utm_campaign"=>"javascript:mixpanel.get_property('utm_campaign')", "fullname"=>"THOMAS KING", "email"=>"4tking@gmail.com", "address_one"=>"1 DANIEL BURNHAM CT 418", "address_two"=>"", "city"=>"SAN FRANCISCO", "state"=>"California", "postal_code"=>"94109", "country"=>"USA", "billing_postal_code"=>"94109", "ct_user_id"=>"USRACA50BDEF66F11E388FF2CB74438A48E", "quantity"=>"1", "amount"=>"1.0", "fee"=>"0", "reward"=>"0", "client_timestamp"=>"1403044530583", "ct_tokenize_request_id"=>"REQ295351403044525.2890426294", "ct_card_id"=>"CCPB01059EAF66F11E3BA349AF1760C2EDA", "id"=>"fishbone-s-swim-at-your-own-risk-campaign--2"}
2014-06-17T22:35:31.862659+00:00 heroku[router]: at=info method=GET path="/fishbone-s-swim-at-your-own-risk-campaign--2/checkout/amount" host=www.pitchtop.com request_id=8cd4801c-9a66-4bc0-ac0e-b739d0c9a81f fwd="192.77.237.46" dyno=web.1 connect=1ms service=314ms status=200 bytes=7463
2014-06-17T22:35:31.823751+00:00 app[web.1]: method=GET path=/fishbone-s-swim-at-your-own-risk-campaign--2/checkout/amount format=html controller=campaigns action=checkout_amount status=200 duration=260.45 view=216.84 db=37.66 params={"id"=>"fishbone-s-swim-at-your-own-risk-campaign--2"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment