Need to finalize payments that are auto_captured

This commit is contained in:
Brian Quinn 2010-02-26 12:15:11 +00:00
parent 1e318b6a78
commit 18597fa8a9
1 changed files with 4 additions and 0 deletions

View File

@ -131,6 +131,10 @@ module Spree::PaypalExpress
end
complete_checkout
if Spree::Config[:auto_capture]
payment.finalize!
end
else
order_params = {}
gateway_error(ppx_auth_response)