Sha256: 1e8ba518d803b79fe8ca2541cdeba2ef92916101cb4c76e89e683a5111059b22

Contents?: true

Size: 678 Bytes

Versions: 4

Compression:

Stored size: 678 Bytes

Contents

<% payment_container_id = "saferpay-payment-container-#{payment_method.id}" %>
<% if payment_method.preferred_as_iframe %>
  <iframe class="loading-animation saferpay-iframe" width='100%' height='550px' id="<%= payment_container_id %>" src="" frameborder="0">
  </iframe>
  <script charset="utf-8">
    SaferpayPayment.registerIframePaymentMethod({id: "<%= payment_method.id %>", initUrl: "<%= payment_method.init_path %>", containerId: "#<%= payment_container_id %>"})
  </script>
<% else %>
  <script charset="utf-8">
    SaferpayPayment.registerExternalRedirectPaymentMethod({id: "<%= payment_method.id %>", initUrl: "<%= payment_method.init_path %>"})
  </script>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
solidus_six_saferpay-0.1.3 app/views/spree/checkout/payment/_saferpay_payment.html.erb
solidus_six_saferpay-0.1.2 app/views/spree/checkout/payment/_saferpay_payment.html.erb
solidus_six_saferpay-0.1.1 app/views/spree/checkout/payment/_saferpay_payment.html.erb
solidus_six_saferpay-0.1.0 app/views/spree/checkout/payment/_saferpay_payment.html.erb