order token on cancel url

This commit is contained in:
Nicolas Bally 2015-01-29 21:55:53 +01:00
parent e73c9a8084
commit 41149ab6a2

View File

@ -130,7 +130,7 @@ class Public::OrdersController < ApplicationController
:SetExpressCheckoutRequestDetails => {
:custom => @order.token,
:ReturnURL => do_paypal_payment_public_order_url(@order),
:CancelURL => paid_public_order_url(@order),
:CancelURL => paid_public_order_url(@order.token),
:NoShipping => 1,
:PaymentDetails => [{
:OrderTotal => {