Guest User

Untitled

a guest
Jan 18th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. Started PUT "/checkout/update/payment" for 107.3.138.229 at 2012-09-28 08:52:11 -0700
  2. Processing by Spree::CheckoutController#update as HTML
  3. Parameters: {"utf8"=>"✓", "authenticity_token"=>"XXXXXXX=", "order"=>{"payments_attributes"=>[{"payment_method_id"=>"2"}], "coupon_code"=>""}, "payment_source"=>{"2"=>{"number"=>"[FILTERED]", "month"=>"X", "year"=>"XXXX", "verification_value"=>"XXX", "first_name"=>"XXX", "last_name"=>"XXX"}}, "commit"=>"Save and Continue", "state"=>"payment"}
  4. Completed 500 Internal Server Error in 464ms
  5.  
  6. ArgumentError (Missing required parameter: login):
  7. active_utils (1.0.4) lib/active_utils/common/requires_parameters.rb:11:in `block in requires!'
  8. active_utils (1.0.4) lib/active_utils/common/requires_parameters.rb:4:in `each'
  9. active_utils (1.0.4) lib/active_utils/common/requires_parameters.rb:4:in `requires!'
  10. activemerchant (1.20.4) lib/active_merchant/billing/gateways/authorize_net.rb:74:in `initialize'
  11. spree_core (1.1.3) app/models/spree/gateway.rb:25:in `new'
  12. spree_core (1.1.3) app/models/spree/gateway.rb:25:in `provider'
  13. spree_core (1.1.3) lib/spree/core/delegate_belongs_to.rb:82:in `delegator_for'
  14. spree_core (1.1.3) lib/spree/core/delegate_belongs_to.rb:44:in `block (2 levels) in delegate_belongs_to'
  15. spree_core (1.1.3) app/models/spree/payment/processing.rb:128:in `block in gateway_action'
  16. spree_core (1.1.3) app/models/spree/payment/processing.rb:172:in `protect_from_connection_error'
  17. spree_core (1.1.3) app/models/spree/payment/processing.rb:125:in `gateway_action'
  18. spree_core (1.1.3) app/models/spree/payment/processing.rb:22:in `authorize!'
  19. spree_core (1.1.3) app/models/spree/payment/processing.rb:11:in `process!'
  20. activerecord (3.2.8) lib/active_record/associations/collection_proxy.rb:89:in `each'
  21. activerecord (3.2.8) lib/active_record/associations/collection_proxy.rb:89:in `method_missing'
  22. spree_core (1.1.3) app/models/spree/order.rb:380:in `process_payments!'
  23. spree_core (1.1.3) app/models/spree/order.rb:83:in `block (2 levels) in <class:Order>'
  24.  
  25. # gateway/authorize_net.rb
  26. class Gateway::AuthorizeNet < Gateway
  27. preference :login, :string
  28. preference :password, :string
  29.  
  30. def provider_class
  31. ActiveMerchant::Billing::AuthorizeNetGateway
  32. end
  33. end
Add Comment
Please, Sign In to add comment