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
|
end
|
||||||
complete_checkout
|
complete_checkout
|
||||||
|
|
||||||
|
if Spree::Config[:auto_capture]
|
||||||
|
payment.finalize!
|
||||||
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
order_params = {}
|
order_params = {}
|
||||||
gateway_error(ppx_auth_response)
|
gateway_error(ppx_auth_response)
|
||||||
|
|
Loading…
Reference in New Issue