我正尝试使用活动商家来设置PayPal快速结帐,但我遇到了问题。我遵循教程,我可以在PayPal上选择“付款方式”,但没有显示任何项目或价格。PayPal express/Active Merchant - 不显示订单项或购物车总数?
下面是截图。 http://i39.tinypic.com/35mircz.png
为什么不显示价格或任何项目即使我路过他们?以下是我用于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)
任何帮助将不胜感激。 亚历
请问我正在关注哪些教程?我到目前为止一直在盲目地做这件事,而且证明很困难! – 2013-07-03 18:01:57