Sha256: 6460c64d945382f79854e994dcd4d9c33ae3b0590cd6acb21832c7fb6220167d

Contents?: true

Size: 876 Bytes

Versions: 1

Compression:

Stored size: 876 Bytes

Contents

<p data-hook="skrill_quick_checkout"></p>

<%
opts = {}
opts[:transaction_id] = "#{@order.number}"
opts[:amount] = @order.total
opts[:return_url] = skrill_return_order_checkout_url(@order, :token => @order.token,
                                                             :payment_method_id => payment_method.id)
opts[:cancel_url] = skrill_cancel_order_checkout_url(@order, :token => @order.token)
opts[:status_url] = skrill_status_update_url
opts[:payment_method_id] = payment_method.id
%>

<style>
  iframe.skrill_frame{
    border: 0px;
    width: 500px;
    height: 500px;
  }
</style>

<fieldset id="skrill_payment__<%= payment_method.id %>" data-hook>
  <legend><%= Spree.t(:payment_information) %></legend>
  <iframe id="skrill_frame_<%= payment_method.id %>"
          class="skrill_frame" src="<%= payment_method.redirect_url @order, opts %>"></iframe>
</fieldset>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spree_gateway-2.0.1 app/views/spree/checkout/payment/_quickcheckout.html.erb