Displaying 1 result from an estimated 1 matches for "more_options".
Did you mean:
mode_option
2007 Jul 04
5
stack level too deep
...b:
39
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require''
script/server:3
This is the method that is being called :
def redirect_to_paypal
create_order
more_options = Hash.new
x = 1
@order.line_items.each do |item|
more_options["item_name_#{x}"] = item.product.title # this is
the line that is causing the error
more_options["amount_#{x}"] = item.product.price
more_options["quantity_#{x}"] = item.quantity...