From 4ac2879abb8f48dd4fd6286bc668b07f7b9de6a7 Mon Sep 17 00:00:00 2001 From: Antonio Facciolo Date: Mon, 27 Nov 2017 12:13:06 +0100 Subject: [PATCH] fix uninitialized constant AVSResult #137 --- app/models/solidus_paypal_braintree/response.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/solidus_paypal_braintree/response.rb b/app/models/solidus_paypal_braintree/response.rb index 52b3d693..6c61e1ba 100644 --- a/app/models/solidus_paypal_braintree/response.rb +++ b/app/models/solidus_paypal_braintree/response.rb @@ -37,7 +37,7 @@ def response_options(transaction) return {} if transaction.nil? { authorization: transaction.id, - avs_result: AVSResult.build(transaction), + avs_result: SolidusPaypalBraintree::AVSResult.build(transaction), # As we do not provide the CVV while submitting the transaction (for PCI compliance reasons), # we need to ignore the only response we get back (I = not provided). # Otherwise Solidus thinks this payment is risky.