<%= Spree.t(:transaction, :scope => :mollie) %>
<%= Spree.t(:payer_id, :scope => :mollie) %>:
<%= payment.source.payer_id %>
<%= Spree.t(:token, :scope => :mollie) %>:
<%= payment.source.token %>
<%= Spree.t(:transaction_id) %>:
<%= payment.source.transaction_id %>
<% if payment.source.state != 'refunded' %> <%= button_link_to Spree.t('actions.refund', scope: :mollie), spree.mollie_refund_admin_order_payment_path(@order, payment), icon: 'money' %> <% else %>
<%= Spree.t(:state, :scope => :mollie) %>:
<%= payment.source.state.titleize %>
<%= Spree.t(:refunded_at, :scope => :mollie) %>:
<%= pretty_time(payment.source.refunded_at) %>
<%= Spree.t(:refund_transaction_id, :scope => :mollie) %>:
<%= payment.source.refund_transaction_id %>
<% end %>