Handle failure on details request by redirecting
This commit is contained in:
parent
a6ad630b02
commit
898b6d4bb3
|
@ -105,6 +105,9 @@ module Spree::PaypalExpress
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
gateway_error(@ppx_details)
|
gateway_error(@ppx_details)
|
||||||
|
|
||||||
|
#Failed trying to get payment details from PPX
|
||||||
|
redirect_to edit_order_checkout_url(@order, :step => "payment")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue