Sha256: dc10db49ebcbf4e2e15c5f523a669bea1318775adaac2f42a9efc05711b3fe0f

Contents?: true

Size: 660 Bytes

Versions: 6

Compression:

Stored size: 660 Bytes

Contents

<% payment_container_id = "saferpay-payment-container-#{payment_method.id}" %>
<% if payment_method.preferred_as_iframe %>
  <iframe class="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

6 entries across 6 versions & 1 rubygems

Version Path
solidus_six_saferpay-0.1.8.1 app/views/spree/checkout/payment/_saferpay_payment.html.erb
solidus_six_saferpay-0.2.0 app/views/spree/checkout/payment/_saferpay_payment.html.erb
solidus_six_saferpay-0.1.8 app/views/spree/checkout/payment/_saferpay_payment.html.erb
solidus_six_saferpay-0.1.7 app/views/spree/checkout/payment/_saferpay_payment.html.erb
solidus_six_saferpay-0.1.5 app/views/spree/checkout/payment/_saferpay_payment.html.erb
solidus_six_saferpay-0.1.4 app/views/spree/checkout/payment/_saferpay_payment.html.erb