This commit is contained in:
Nicolas Bally 2015-01-29 21:51:39 +01:00
parent d5e66340c7
commit e73c9a8084

View File

@ -137,7 +137,7 @@ class Public::OrdersController < ApplicationController
:currencyID => "EUR", :currencyID => "EUR",
:value =>@order.total }, :value =>@order.total },
:NotifyURL => "http fdgdgf"+ipn_public_order_path(@order), :NotifyURL => "http://lepicvert.org"+ipn_public_order_path(@order),
:ShipToAddress => { :ShipToAddress => {
:Name => @order.name+" "+@order.firstname.to_s, :Name => @order.name+" "+@order.firstname.to_s,
:Street1 => @order.street1, :Street1 => @order.street1,
@ -212,7 +212,7 @@ class Public::OrdersController < ApplicationController
:OrderTotal => { :OrderTotal => {
:currencyID => "EUR", :currencyID => "EUR",
:value => @order.total }, :value => @order.total },
:NotifyURL => "http:// "+ipn_public_order_path(@order) }] } }) :NotifyURL => "http://lepicvert.org"+ipn_public_order_path(@order) }] } })
# Make API call & get response # Make API call & get response
@do_express_checkout_payment_response = @api.do_express_checkout_payment(@do_express_checkout_payment) @do_express_checkout_payment_response = @api.do_express_checkout_payment(@do_express_checkout_payment)