Created
August 28, 2012 19:47
-
-
Save ElliotGage/3503379 to your computer and use it in GitHub Desktop.
order detail error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm getting an error from the order_details partial. See below. | |
The order has processed just fine, the card is authorized fine... but the active merchant type? look-up returns nil on some cards, which is stored on the payment card type as nil which then bubbles up an error from the order_details partial. | |
Error: | |
ActionView::Template::Error (creditcards/icons/.png isn't precompiled): | |
26: <div class="payment-info"> | |
27: <% unless order.creditcards.empty? %> | |
28: <span class="cc-type"> | |
29: <%= image_tag "creditcards/icons/#{order.creditcards.first.cc_ | |
type}.png" %> | |
30: <%= t(:ending_in)%> <%= order.creditcards.first.last_digits %> | |
31: </span> | |
32: <br /> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Were you ever able to get past this? I'm just running into the same error.