Skip to content

Commit

Permalink
Fix undefined class error
Browse files Browse the repository at this point in the history
Also related to spree-contrib#15.
  • Loading branch information
Luke Morton committed Dec 4, 2014
1 parent 9922a39 commit e560ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/spree/adyen_common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def create_profile_on_card(payment, card)
if last_digits.blank? && payment_profiles_supported?
note = "Payment was authorized but could not fetch last digits.
Please request last digits to be sent back to support payment profiles"
raise Adyen::MissingCardSummaryError, note
raise MissingCardSummaryError, note
end

payment.source.last_digits = last_digits
Expand Down

0 comments on commit e560ce2

Please sign in to comment.