lib/helpers/controller_helpers.rb in wepay-rails-2.2.9 vs lib/helpers/controller_helpers.rb in wepay-rails-2.5.0

- old
+ new

@@ -49,9 +49,11 @@ :access_token => wepay_gateway.access_token, :checkout_id => response[:checkout_id], :security_token => response[:security_token], :checkout_uri => response[:checkout_uri] }) + + params.delete_if {|k,v| !WepayCheckoutRecord.attribute_names.include? k.to_s} WepayCheckoutRecord.create(params) end def init_checkout_and_send_user_to_wepay(params, access_token=nil)