Need to finalize payments that are auto_captured
This commit is contained in:
parent
1e318b6a78
commit
18597fa8a9
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue