ref: master
plugins/orders/views/orders_plugin_order/_payment.html.erb
<% return if order.payment_data.count == 0 %><%= t("views.order._payment.heading") %>
<% order.payment_data.each do |key, value| %> <% next if value.empty? %><%= label_tag key, t("models.order.payment_data.#{key}")+":" %> <% if key == 'method' %> <%= t("payments_plugin.models.payment_methods."+value) %> <% else %> <%= value %> <% end %><% end %>