{"action":"opened","issue":{"url":"https://api.github.com/repos/NullVoxPopuli/aeonvera/issues/488","repository_url":"https://api.github.com/repos/NullVoxPopuli/aeonvera","labels_url":"https://api.github.com/repos/NullVoxPopuli/aeonvera/issues/488/labels{/name}","comments_url":"https://api.github.com/repos/NullVoxPopuli/aeonvera/issues/488/comments","events_url":"https://api.github.com/repos/NullVoxPopuli/aeonvera/issues/488/events","html_url":"https://github.com/NullVoxPopuli/aeonvera/issues/488","id":135802403,"number":488,"title":"PaymentsController#create (Stripe::InvalidRequestError) \"You cannot use a Stripe token more than once: tok_17hjpJGQZpjqHgA4Ib2FrCwN.\"","user":{"login":"NullVoxPopuli","id":199018,"avatar_url":"https://avatars.githubusercontent.com/u/199018?v=3","gravatar_id":"","url":"https://api.github.com/users/NullVoxPopuli","html_url":"https://github.com/NullVoxPopuli","followers_url":"https://api.github.com/users/NullVoxPopuli/followers","following_url":"https://api.github.com/users/NullVoxPopuli/following{/other_user}","gists_url":"https://api.github.com/users/NullVoxPopuli/gists{/gist_id}","starred_url":"https://api.github.com/users/NullVoxPopuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NullVoxPopuli/subscriptions","organizations_url":"https://api.github.com/users/NullVoxPopuli/orgs","repos_url":"https://api.github.com/users/NullVoxPopuli/repos","events_url":"https://api.github.com/users/NullVoxPopuli/events{/privacy}","received_events_url":"https://api.github.com/users/NullVoxPopuli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NullVoxPopuli/aeonvera/labels/backend","name":"backend","color":"ededed"},{"url":"https://api.github.com/repos/NullVoxPopuli/aeonvera/labels/Bug","name":"Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-23T17:20:35Z","updated_at":"2016-02-23T17:20:35Z","closed_at":null,"body":"<table><tr><th>Exception</th><td>(Status 400) You cannot use a Stripe token more than once: tok_17hjpJGQZpjqHgA4Ib2FrCwN.</td></tr><tr><th>Last Occurrence</th><td>February 23, 2016 12:20:35 -0500</td></tr><tr><th>Count</th><td>1</td></tr></table>\n\n## Stack Trace\n<pre>[bundle].../gems/stripe-1.21.0/lib/stripe.rb:255:in `handle_api_error'\n[bundle].../gems/stripe-1.21.0/lib/stripe.rb:142:in `rescue in request'\n[bundle].../gems/stripe-1.21.0/lib/stripe.rb:128:in `request'\n[bundle].../gems/stripe-1.21.0/lib/stripe/api_operations/request.rb:15:in `request'\n[bundle].../gems/stripe-1.21.0/lib/stripe/api_operations/create.rb:6:in `create'\n<a href='https://github.com/NullVoxPopuli/aeonvera/blob/f1be5ec8747c7101aaa88b8cdc5891a7ad2dead3/app/controllers/concerns/stripe_charge.rb#L38'>[app].../app/controllers/concerns/stripe_charge.rb:38:in `charge_card!'</a>\n<a href='https://github.com/NullVoxPopuli/aeonvera/blob/f1be5ec8747c7101aaa88b8cdc5891a7ad2dead3/app/controllers/payments_controller.rb#L15'>[app].../app/controllers/payments_controller.rb:15:in `create'</a>\n[bundle].../gems/actionpack-4.2.5.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'\n[bundle].../gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:198:in `process_action'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_controller/metal/rendering.rb:10:in `process_action'\n[bundle].../gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:117:in `call'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:117:in `call'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in `call'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in `__run_callbacks__'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks'\n[bundle].../gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:19:in `process_action'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_controller/metal/rescue.rb:29:in `process_action'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in `block in instrument'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in `instrument'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'\n[bundle].../gems/activerecord-4.2.5.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'\n[bundle].../gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:137:in `process'\n[bundle].../gems/actionview-4.2.5.1/lib/action_view/rendering.rb:30:in `process'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_controller/metal.rb:196:in `dispatch'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_controller/metal.rb:237:in `block in action'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:74:in `call'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:43:in `serve'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/routing/mapper.rb:49:in `serve'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:43:in `block in serve'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in `each'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in `serve'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:815:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/recurring_select-1.3.1/app/middleware/recurring_select_middleware.rb:24:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/omniauth-1.2.2/lib/omniauth/strategy.rb:186:in `call!'\n[bundle].../gems/omniauth-1.2.2/lib/omniauth/strategy.rb:164:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/omniauth-1.2.2/lib/omniauth/builder.rb:59:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/rack/agent_hooks.rb:30:in `traced_call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/rack/browser_monitoring.rb:23:in `traced_call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/party_foul-1.5.5/lib/party_foul/middleware.rb:8:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'\n[bundle].../gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'\n[bundle].../gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/flash.rb:260:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'\n[bundle].../gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/activerecord-4.2.5.1/lib/active_record/query_cache.rb:36:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:88:in `__run_callbacks__'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in `run_callbacks'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/railties-4.2.5.1/lib/rails/rack/logger.rb:38:in `call_app'\n[bundle].../gems/railties-4.2.5.1/lib/rails/rack/logger.rb:20:in `block in call'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:68:in `block in tagged'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:26:in `tagged'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:68:in `tagged'\n[bundle].../gems/railties-4.2.5.1/lib/rails/rack/logger.rb:20:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/request_store-1.1.0/lib/request_store/middleware.rb:8:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/activesupport-4.2.5.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/static.rb:116:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/ssl.rb:24:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-cors-0.4.0/lib/rack/cors.rb:80:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/railties-4.2.5.1/lib/rails/engine.rb:518:in `call'\n[bundle].../gems/railties-4.2.5.1/lib/rails/application.rb:165:in `call'\n[bundle].../gems/newrelic_rpm-3.11.2.286/lib/new_relic/agent/instrumentation/middleware_tracing.rb:67:in `call'\n[bundle].../gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'\n[bundle].../gems/puma-2.11.2/lib/puma/server.rb:507:in `handle_request'\n[bundle].../gems/puma-2.11.2/lib/puma/server.rb:375:in `process_client'\n[bundle].../gems/puma-2.11.2/lib/puma/server.rb:262:in `block in run'\n[bundle].../gems/puma-2.11.2/lib/puma/thread_pool.rb:104:in `call'\n[bundle].../gems/puma-2.11.2/lib/puma/thread_pool.rb:104:in `block in spawn_thread'</pre>\nFingerprint: `5bba932288a79d4a5abd5abc9e70735f2ce11b32`\n"}}