Closed abhiramesh closed 11 years ago
This seems to be a bug in spree_gateway. Can you please file an issue there please?
On 31/12/2012, at 17:01, abhiramesh notifications@github.com wrote:
I'm testing out the Bogus Gateway. I can't seem to get past the payments state in the checkout process.
on "checkout/update/payment", I get the error:
undefined method `[]' for nil:NilClass
Full Trace:
.rvm/gems/ruby-1.9.3-p194/bundler/gems/spree_gateway-3ab269a05a55/app/controllers/spree/checkout_controller_decorator.rb:36:in confirm_skrill' activesupport (3.2.9) lib/active_support/callbacks.rb:506:in_run3403971497662231797process_action2832325348555505657callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:inprocess_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in process_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:inblock in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:in block in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:ininstrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:in instrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:inprocess_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in process_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:inprocess_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:in process' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:inprocess' actionpack (3.2.9) lib/action_controller/metal.rb:203:in dispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:indispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:in block in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:incall' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in dispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:incall' journey (1.0.4) lib/journey/router.rb:68:in block in call' journey (1.0.4) lib/journey/router.rb:56:ineach' journey (1.0.4) lib/journey/router.rb:56:in call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:incall' spree_core (1.3.0) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:in call' spree_core (1.3.0) lib/spree/core/middleware/seo_assist.rb:27:incall' railties (3.2.9) lib/rails/engine.rb:479:in call' railties (3.2.9) lib/rails/railtie/configurable.rb:30:inmethod_missing' journey (1.0.4) lib/journey/router.rb:68:in block in call' journey (1.0.4) lib/journey/router.rb:56:ineach' journey (1.0.4) lib/journey/router.rb:56:in call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:incall' omniauth (1.1.1) lib/omniauth/strategy.rb:177:in call!' omniauth (1.1.1) lib/omniauth/strategy.rb:157:incall' client_side_validations (3.2.1) lib/client_side_validations/middleware.rb:21:in call' warden (1.2.1) lib/warden/manager.rb:35:inblock in call' warden (1.2.1) lib/warden/manager.rb:34:in catch' warden (1.2.1) lib/warden/manager.rb:34:incall' actionpack (3.2.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in call' rack (1.4.1) lib/rack/etag.rb:23:incall' rack (1.4.1) lib/rack/conditionalget.rb:35:in call' actionpack (3.2.9) lib/action_dispatch/middleware/head.rb:14:incall' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in call' actionpack (3.2.9) lib/action_dispatch/middleware/flash.rb:242:incall' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:incall' actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:341:in call' activerecord (3.2.9) lib/active_record/query_cache.rb:64:incall' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:inblock in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in _run4062196906885955079call375016622962433561__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in _run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:inrun_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in call' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:incall' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in call' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:incall' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in call' railties (3.2.9) lib/rails/rack/logger.rb:32:incall_app' railties (3.2.9) lib/rails/rack/logger.rb:16:in block in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:intagged' railties (3.2.9) lib/rails/rack/logger.rb:16:in call' actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:incall' rack (1.4.1) lib/rack/methodoverride.rb:21:in call' rack (1.4.1) lib/rack/runtime.rb:17:incall' activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in call' rack (1.4.1) lib/rack/lock.rb:15:incall' actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in call' railties (3.2.9) lib/rails/engine.rb:479:incall' railties (3.2.9) lib/rails/application.rb:223:in call' rack (1.4.1) lib/rack/content_length.rb:14:incall' railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in call' rack (1.4.1) lib/rack/handler/webrick.rb:59:inservice' /Users/abhiramesh/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in service' /Users/abhiramesh/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:inrun' /Users/abhiramesh/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' Request
Parameters:
{"utf8"=>"✓", "_method"=>"put", "authenticity_token"=>"pJ2QMNkfLOQAOnJsFmLzYHAcIubo/NUXdEOVYa5B8Os=", "payment_source"=>{"931422125"=>{"number"=>"[FILTERED]", "month"=>"12", "year"=>"2012", "verification_value"=>"", "first_name"=>"", "last_name"=>""}}, "state"=>"payment"}
— Reply to this email directly or view it on GitHub.
Will do - thanks.
@radar Moved the topic there - I also removed the spree_gateway gem and tried using just the Bogus Gateway...getting a similar error with the full-trace starting there...am I missing something obvious?
spree_core (1.3.0) app/controllers/spree/checkout_controller.rb:80:in object_params' spree_promo (1.3.0) app/controllers/spree/checkout_controller_decorator.rb:5:in
update'
I'm testing out the Bogus Gateway. I can't seem to get past the payments state in the checkout process.
on "checkout/update/payment", I get the error:
undefined method `[]' for nil:NilClass
Full Trace:
.rvm/gems/ruby-1.9.3-p194/bundler/gems/spree_gateway-3ab269a05a55/app/controllers/spree/checkout_controller_decorator.rb:36:in
confirm_skrill' activesupport (3.2.9) lib/active_support/callbacks.rb:506:in
_run3403971497662231797process_action2832325348555505657callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in
_run_process_action_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:inrun_callbacks' actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in
process_action' actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:inprocess_action' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in
block in process_action' activesupport (3.2.9) lib/active_support/notifications.rb:123:inblock in instrument' activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in
instrument' activesupport (3.2.9) lib/active_support/notifications.rb:123:ininstrument' actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in
process_action' actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:inprocess_action' activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in
process_action' actionpack (3.2.9) lib/abstract_controller/base.rb:121:inprocess' actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in
process' actionpack (3.2.9) lib/action_controller/metal.rb:203:indispatch' actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in
dispatch' actionpack (3.2.9) lib/action_controller/metal.rb:246:inblock in action' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in
call' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:indispatch' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in
call' journey (1.0.4) lib/journey/router.rb:68:inblock in call' journey (1.0.4) lib/journey/router.rb:56:in
each' journey (1.0.4) lib/journey/router.rb:56:incall' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in
call' spree_core (1.3.0) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:incall' spree_core (1.3.0) lib/spree/core/middleware/seo_assist.rb:27:in
call' railties (3.2.9) lib/rails/engine.rb:479:incall' railties (3.2.9) lib/rails/railtie/configurable.rb:30:in
method_missing' journey (1.0.4) lib/journey/router.rb:68:inblock in call' journey (1.0.4) lib/journey/router.rb:56:in
each' journey (1.0.4) lib/journey/router.rb:56:incall' actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in
call' omniauth (1.1.1) lib/omniauth/strategy.rb:177:incall!' omniauth (1.1.1) lib/omniauth/strategy.rb:157:in
call' client_side_validations (3.2.1) lib/client_side_validations/middleware.rb:21:incall' warden (1.2.1) lib/warden/manager.rb:35:in
block in call' warden (1.2.1) lib/warden/manager.rb:34:incatch' warden (1.2.1) lib/warden/manager.rb:34:in
call' actionpack (3.2.9) lib/action_dispatch/middleware/best_standards_support.rb:17:incall' rack (1.4.1) lib/rack/etag.rb:23:in
call' rack (1.4.1) lib/rack/conditionalget.rb:35:incall' actionpack (3.2.9) lib/action_dispatch/middleware/head.rb:14:in
call' actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:incall' actionpack (3.2.9) lib/action_dispatch/middleware/flash.rb:242:in
call' rack (1.4.1) lib/rack/session/abstract/id.rb:205:incontext' rack (1.4.1) lib/rack/session/abstract/id.rb:200:in
call' actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:341:incall' activerecord (3.2.9) lib/active_record/query_cache.rb:64:in
call' activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:incall' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in
block in call' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in_run__4062196906885955079__call__375016622962433561__callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:405:in
__run_callback' activesupport (3.2.9) lib/active_support/callbacks.rb:385:in_run_call_callbacks' activesupport (3.2.9) lib/active_support/callbacks.rb:81:in
run_callbacks' actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:incall' actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in
call' actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:incall' actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in
call' actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:incall' railties (3.2.9) lib/rails/rack/logger.rb:32:in
call_app' railties (3.2.9) lib/rails/rack/logger.rb:16:inblock in call' activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in
tagged' railties (3.2.9) lib/rails/rack/logger.rb:16:incall' actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in
call' rack (1.4.1) lib/rack/methodoverride.rb:21:incall' rack (1.4.1) lib/rack/runtime.rb:17:in
call' activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:incall' rack (1.4.1) lib/rack/lock.rb:15:in
call' actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:incall' railties (3.2.9) lib/rails/engine.rb:479:in
call' railties (3.2.9) lib/rails/application.rb:223:incall' rack (1.4.1) lib/rack/content_length.rb:14:in
call' railties (3.2.9) lib/rails/rack/log_tailer.rb:17:incall' rack (1.4.1) lib/rack/handler/webrick.rb:59:in
service' /Users/abhiramesh/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:inservice' /Users/abhiramesh/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in
run' /Users/abhiramesh/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread' RequestParameters:
{"utf8"=>"✓", "_method"=>"put", "authenticity_token"=>"pJ2QMNkfLOQAOnJsFmLzYHAcIubo/NUXdEOVYa5B8Os=", "payment_source"=>{"931422125"=>{"number"=>"[FILTERED]", "month"=>"12", "year"=>"2012", "verification_value"=>"", "first_name"=>"", "last_name"=>""}}, "state"=>"payment"}