Add missing attribute to skip source validation

This commit is contained in:
Pau Perez
2020-07-22 17:10:14 +02:00
parent 813459ee38
commit 4d9fbb68d6

View File

@@ -152,7 +152,8 @@ module Spree
payment_method: payment_method,
amount: refund_amount.abs * -1,
response_code: response.authorization,
state: 'completed')
state: 'completed',
skip_source_validation: true)
else
gateway_error(response)
end