Closed leosmeira closed 11 years ago
O retorno não funcionou e ao verificar o pagamento do pedido, informa o seguinte erro:
Estou usando o Branche: spree-1-1-3 Spree 1.1.3 Ruby 1.9.3
NoMethodError (undefined method verify!' for #<Spree::Payment:0xcce776c>): activemodel (3.2.13) lib/active_model/attribute_methods.rb:407:inmethod_missing' activerecord (3.2.13) lib/active_record/attribute_methods.rb:149:in method_missing' spree_core (1.1.3) app/controllers/spree/admin/payments_controller.rb:58:infire' actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in send_action' actionpack (3.2.13) lib/abstract_controller/base.rb:167:inprocess_action' actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in process_action' actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:inblock in process_action' activesupport (3.2.13) lib/active_support/callbacks.rb:524:in _run__928175286__process_action__937667493__callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:405:inrun_callback' activesupport (3.2.13) lib/active_support/callbacks.rb:385:in _run_process_action_callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:81:inrun_callbacks' actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in process_action' actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:inprocess_action' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in block in process_action' activesupport (3.2.13) lib/active_support/notifications.rb:123:inblock in instrument' activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in instrument' activesupport (3.2.13) lib/active_support/notifications.rb:123:ininstrument' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in process_action' actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:inprocess_action' activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in process_action' actionpack (3.2.13) lib/abstract_controller/base.rb:121:inprocess' actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in process' actionpack (3.2.13) lib/action_controller/metal.rb:203:indispatch' actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in dispatch' actionpack (3.2.13) lib/action_controller/metal.rb:246:inblock in action' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in call' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:indispatch' actionpack (3.2.13) 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.13) lib/action_dispatch/routing/route_set.rb:612:in call' spree_core (1.1.3) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:incall' spree_core (1.1.3) lib/spree/core/middleware/seo_assist.rb:27:in call' railties (3.2.13) lib/rails/engine.rb:479:incall' railties (3.2.13) 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.13) lib/action_dispatch/routing/route_set.rb:612:in call' warden (1.1.1) lib/warden/manager.rb:35:inblock in call' warden (1.1.1) lib/warden/manager.rb:34:in catch' warden (1.1.1) lib/warden/manager.rb:34:incall' actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in call' rack (1.4.5) lib/rack/etag.rb:23:incall' rack (1.4.5) lib/rack/conditionalget.rb:35:in call' actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:incall' actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in call' actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:incall' rack (1.4.5) lib/rack/session/abstract/id.rb:210:in context' rack (1.4.5) lib/rack/session/abstract/id.rb:205:incall' actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in call' activerecord (3.2.13) lib/active_record/query_cache.rb:64:incall' activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call' actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:inblock in call' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run637477011call969932741__callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in__run_callback' activesupport (3.2.13) lib/active_support/callbacks.rb:385:in_run_call_callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:81:inrun_callbacks' actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:incall' actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:incall' actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:incall' actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:incall' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:incall' railties (3.2.13) lib/rails/rack/logger.rb:32:incall_app' railties (3.2.13) lib/rails/rack/logger.rb:18:incall' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:incall' rack (1.4.5) lib/rack/methodoverride.rb:21:incall' rack (1.4.5) lib/rack/runtime.rb:17:incall' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:incall' rack (1.4.5) lib/rack/lock.rb:15:incall' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:incall' railties (3.2.13) lib/rails/engine.rb:479:incall' railties (3.2.13) lib/rails/application.rb:223:incall' railties (3.2.13) lib/rails/railtie/configurable.rb:30:inmethod_missing' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/request_handler.rb:96:inprocess_request' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_request_handler.rb:516:inaccept_and_process_next_request' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_request_handler.rb:274:inmain_loop' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:206:instart_request_handler' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:171:inblock in handle_spawn_application' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/utils.rb:470:insafe_fork' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:166:inhandle_spawn_application' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server.rb:357:inserver_main_loop' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server.rb:206:instart_synchronously' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server.rb:180:instart' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:129:instart' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/spawn_manager.rb:253:inblock (2 levels) in spawn_rack_application' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb:132:inlookup_or_add' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/spawn_manager.rb:246:inblock in spawn_rack_application' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb:82:inblock in synchronize'
verify!' for #<Spree::Payment:0xcce776c>): activemodel (3.2.13) lib/active_model/attribute_methods.rb:407:in
method_missing' spree_core (1.1.3) app/controllers/spree/admin/payments_controller.rb:58:in
send_action' actionpack (3.2.13) lib/abstract_controller/base.rb:167:in
process_action' actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in
_run__928175286__process_action__937667493__callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in
_run_process_action_callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:81:in
process_action' actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in
block in process_action' activesupport (3.2.13) lib/active_support/notifications.rb:123:in
instrument' activesupport (3.2.13) lib/active_support/notifications.rb:123:in
process_action' actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in
process_action' actionpack (3.2.13) lib/abstract_controller/base.rb:121:in
process' actionpack (3.2.13) lib/action_controller/metal.rb:203:in
dispatch' actionpack (3.2.13) lib/action_controller/metal.rb:246:in
call' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in
call' journey (1.0.4) lib/journey/router.rb:68:in
each' journey (1.0.4) lib/journey/router.rb:56:in
call' spree_core (1.1.3) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:in
call' railties (3.2.13) lib/rails/engine.rb:479:in
method_missing' journey (1.0.4) lib/journey/router.rb:68:in
call' warden (1.1.1) lib/warden/manager.rb:35:in
catch' warden (1.1.1) lib/warden/manager.rb:34:in
call' rack (1.4.5) lib/rack/etag.rb:23:in
call' actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in
call' actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in
context' rack (1.4.5) lib/rack/session/abstract/id.rb:205:in
call' activerecord (3.2.13) lib/active_record/query_cache.rb:64:in
call' actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in
__run_callback' activesupport (3.2.13) lib/active_support/callbacks.rb:385:in
run_callbacks' actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in
call' actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in
call' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in
call_app' railties (3.2.13) lib/rails/rack/logger.rb:18:in
call' rack (1.4.5) lib/rack/methodoverride.rb:21:in
call' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in
call' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in
call' railties (3.2.13) lib/rails/application.rb:223:in
method_missing' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/request_handler.rb:96:in
accept_and_process_next_request' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_request_handler.rb:274:in
start_request_handler' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:171:in
safe_fork' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:166:in
server_main_loop' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server.rb:206:in
start' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:129:in
block (2 levels) in spawn_rack_application' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb:132:in
block in spawn_rack_application' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb:82:in
Este problema ocorreu pois a aplicação estava com a configuração:
auto_capture = true
No meu fork eu acertei este erro!
O retorno não funcionou e ao verificar o pagamento do pedido, informa o seguinte erro:
Estou usando o Branche: spree-1-1-3 Spree 1.1.3 Ruby 1.9.3
NoMethodError (undefined method
verify!' for #<Spree::Payment:0xcce776c>): activemodel (3.2.13) lib/active_model/attribute_methods.rb:407:in
method_missing' activerecord (3.2.13) lib/active_record/attribute_methods.rb:149:inmethod_missing' spree_core (1.1.3) app/controllers/spree/admin/payments_controller.rb:58:in
fire' actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:insend_action' actionpack (3.2.13) lib/abstract_controller/base.rb:167:in
process_action' actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:inprocess_action' actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in
block in process_action' activesupport (3.2.13) lib/active_support/callbacks.rb:524:in_run__928175286__process_action__937667493__callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in
run_callback' activesupport (3.2.13) lib/active_support/callbacks.rb:385:in_run_process_action_callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:81:in
run_callbacks' actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:inprocess_action' actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in
process_action' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:inblock in process_action' activesupport (3.2.13) lib/active_support/notifications.rb:123:in
block in instrument' activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:ininstrument' activesupport (3.2.13) lib/active_support/notifications.rb:123:in
instrument' actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:inprocess_action' actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in
process_action' activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:inprocess_action' actionpack (3.2.13) lib/abstract_controller/base.rb:121:in
process' actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:inprocess' actionpack (3.2.13) lib/action_controller/metal.rb:203:in
dispatch' actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:indispatch' actionpack (3.2.13) lib/action_controller/metal.rb:246:in
block in action' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:incall' actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in
dispatch' actionpack (3.2.13) 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.13) lib/action_dispatch/routing/route_set.rb:612:incall' spree_core (1.1.3) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:in
call' spree_core (1.1.3) lib/spree/core/middleware/seo_assist.rb:27:incall' railties (3.2.13) lib/rails/engine.rb:479:in
call' railties (3.2.13) 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.13) lib/action_dispatch/routing/route_set.rb:612:incall' warden (1.1.1) lib/warden/manager.rb:35:in
block in call' warden (1.1.1) lib/warden/manager.rb:34:incatch' warden (1.1.1) lib/warden/manager.rb:34:in
call' actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:incall' rack (1.4.5) lib/rack/etag.rb:23:in
call' rack (1.4.5) lib/rack/conditionalget.rb:35:incall' actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in
call' actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:incall' actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in
call' rack (1.4.5) lib/rack/session/abstract/id.rb:210:incontext' rack (1.4.5) lib/rack/session/abstract/id.rb:205:in
call' actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:incall' activerecord (3.2.13) lib/active_record/query_cache.rb:64:in
call' activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:incall' actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in
block in call' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run637477011call969932741__callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:405:in__run_callback' activesupport (3.2.13) lib/active_support/callbacks.rb:385:in
_run_call_callbacks' activesupport (3.2.13) lib/active_support/callbacks.rb:81:inrun_callbacks' actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in
call' actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:incall' actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in
call' actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:incall' actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in
call' railties (3.2.13) lib/rails/rack/logger.rb:32:incall_app' railties (3.2.13) lib/rails/rack/logger.rb:18:in
call' actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:incall' rack (1.4.5) lib/rack/methodoverride.rb:21:in
call' rack (1.4.5) lib/rack/runtime.rb:17:incall' activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in
call' rack (1.4.5) lib/rack/lock.rb:15:incall' actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in
call' railties (3.2.13) lib/rails/engine.rb:479:incall' railties (3.2.13) lib/rails/application.rb:223:in
call' railties (3.2.13) lib/rails/railtie/configurable.rb:30:inmethod_missing' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/request_handler.rb:96:in
process_request' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_request_handler.rb:516:inaccept_and_process_next_request' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_request_handler.rb:274:in
main_loop' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:206:instart_request_handler' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:171:in
block in handle_spawn_application' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/utils.rb:470:insafe_fork' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:166:in
handle_spawn_application' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server.rb:357:inserver_main_loop' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server.rb:206:in
start_synchronously' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server.rb:180:instart' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/rack/application_spawner.rb:129:in
start' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/spawn_manager.rb:253:inblock (2 levels) in spawn_rack_application' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb:132:in
lookup_or_add' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/spawn_manager.rb:246:inblock in spawn_rack_application' /home/rails_3/.passenger/standalone/3.0.19-x86-ruby1.9.3-linux-gcc4.4.3-1002/support/lib/phusion_passenger/abstract_server_collection.rb:82:in
block in synchronize'