Authorization Code
<%= response.try(:authorization)%>
Mode
<%= response.try(:test?) ? "Test Mode" : "Production Mode"%>
<% if response.try(:avs_result) %>
Address Verification (AVS)
<%= response.avs_result['message'] %>
<% end %>
Status
<%= response.try(:success?) ? "Success" : "Failure"%>
Mode
<%= response.try(:test?) ? "Test Mode" : "Production Mode"%>
<% if Spree.respond_to?(:solidus_gem_version) && Spree.solidus_gem_version.release >= Gem::Version.new('1.3') %> <%= link_to "More Info", '#', class: 'more_info', "data-toggle" => "modal", "data-target" => "#more_info_#{index}" %> <% else %> <%= link_to "More Info", '#', class: 'more_info', 'data-index' => index %> <% end %>