order token on cancel url
This commit is contained in:
parent
e73c9a8084
commit
41149ab6a2
@ -130,7 +130,7 @@ class Public::OrdersController < ApplicationController
|
|||||||
:SetExpressCheckoutRequestDetails => {
|
:SetExpressCheckoutRequestDetails => {
|
||||||
:custom => @order.token,
|
:custom => @order.token,
|
||||||
:ReturnURL => do_paypal_payment_public_order_url(@order),
|
:ReturnURL => do_paypal_payment_public_order_url(@order),
|
||||||
:CancelURL => paid_public_order_url(@order),
|
:CancelURL => paid_public_order_url(@order.token),
|
||||||
:NoShipping => 1,
|
:NoShipping => 1,
|
||||||
:PaymentDetails => [{
|
:PaymentDetails => [{
|
||||||
:OrderTotal => {
|
:OrderTotal => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user