From 4d9fbb68d6cc5f538c067546f780d8ad7194096a Mon Sep 17 00:00:00 2001 From: Pau Perez Date: Wed, 22 Jul 2020 17:10:14 +0200 Subject: [PATCH] Add missing attribute to skip source validation --- app/models/spree/payment/processing.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/spree/payment/processing.rb b/app/models/spree/payment/processing.rb index f50a23ccb0..724df22d87 100644 --- a/app/models/spree/payment/processing.rb +++ b/app/models/spree/payment/processing.rb @@ -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