I am trying to set up PayPal express check with an active merchant, but I have problems. I followed the tutorial and I can get the "choose a payment method" form on paypal, but there are no items or prices.
Here is a screenshot. http://i39.tinypic.com/35mircz.png
Why is the price or any items not displayed, even if I transfer them? Here is the code I use for setup_purchase.
@product = Product.find(params[:product_id]) setup_response = gateway.setup_purchase(200, :ip => request.remote_ip, :items => [{:name => "Tickets", :quantity => 22, :description => "Tickets for 232323", :amount => 10}], :return_url => url_for(:action => 'confirm', :only_path => false), :cancel_return_url => url_for(:action => 'index', :only_path => false) ) redirect_to gateway.redirect_url_for(setup_response.token)
Any help would be greatly appreciated. Alex
source share