Skip to content

Commit

Permalink
fix uninitialized constant AVSResult solidusio#137
Browse files Browse the repository at this point in the history
  • Loading branch information
afdev82 committed Nov 27, 2017
1 parent 517ec0c commit 4ac2879
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/solidus_paypal_braintree/response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4ac2879

Please sign in to comment.