Handle failure on details request by redirecting

This commit is contained in:
Brian Quinn 2010-11-26 14:46:24 +00:00
parent a6ad630b02
commit 898b6d4bb3
1 changed files with 3 additions and 0 deletions

View File

@ -105,6 +105,9 @@ module Spree::PaypalExpress
end
else
gateway_error(@ppx_details)
#Failed trying to get payment details from PPX
redirect_to edit_order_checkout_url(@order, :step => "payment")
end
end