solidus_six_saferpay 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/solidus_six_saferpay/loading_animation.scss +0 -27
- data/app/assets/stylesheets/solidus_six_saferpay/payments.scss +4 -1
- data/app/views/spree/checkout/payment/_saferpay_payment.html.erb +1 -1
- data/app/views/spree/six_saferpay_payments/_six_saferpay_payment.html.erb +2 -2
- data/lib/solidus_six_saferpay/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e614d70995bc52244e78d8ca3a507ae6ce2c7d1586fbf700a53a8dae21ec4ed
|
4
|
+
data.tar.gz: 7773910d3365a9fbdb4a8417665c4644108d6e14092407c37fa969fafe81ac67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a69288a7dab1de94b63ef5cdae00116324b51e7f7268e7ba56fa3501d330806e650488e6316659e18772f863b6e8659bd5f5de67503370f0f554fd8cbe2faf77
|
7
|
+
data.tar.gz: be3f1b4e298fb03f64be5b88474fa9ce263b86cdcb09533a053b41c1d4d9483dcdcfe35a0e80dc421bbc0326fbdcbc0b7c242914015371cae07c0f876d8a6e81
|
@@ -1,30 +1,3 @@
|
|
1
1
|
.saferpay-iframe {
|
2
2
|
width: 100%;
|
3
3
|
}
|
4
|
-
|
5
|
-
.loading-animation {
|
6
|
-
text-align: center;
|
7
|
-
background-color: #222222;
|
8
|
-
|
9
|
-
-webkit-animation: sk-scaleout 0.5s infinite ease-in-out;
|
10
|
-
animation: sk-scaleout 0.5s infinite ease-in-out;
|
11
|
-
}
|
12
|
-
|
13
|
-
@-webkit-keyframes sk-scaleout {
|
14
|
-
0% { -webkit-transform: scale(0) }
|
15
|
-
100% {
|
16
|
-
-webkit-transform: scale(0.2);
|
17
|
-
opacity: 0;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
|
-
@keyframes sk-scaleout {
|
22
|
-
0% {
|
23
|
-
-webkit-transform: scale(0);
|
24
|
-
transform: scale(0);
|
25
|
-
} 100% {
|
26
|
-
-webkit-transform: scale(0.2);
|
27
|
-
transform: scale(0.2);
|
28
|
-
opacity: 0;
|
29
|
-
}
|
30
|
-
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<% payment_container_id = "saferpay-payment-container-#{payment_method.id}" %>
|
2
2
|
<% if payment_method.preferred_as_iframe %>
|
3
|
-
<iframe class="
|
3
|
+
<iframe class="saferpay-iframe" width='100%' height='550px' id="<%= payment_container_id %>" src="" frameborder="0">
|
4
4
|
</iframe>
|
5
5
|
<script charset="utf-8">
|
6
6
|
SaferpayPayment.registerIframePaymentMethod({id: "<%= payment_method.id %>", initUrl: "<%= payment_method.init_path %>", containerId: "#<%= payment_container_id %>"})
|
@@ -2,8 +2,8 @@
|
|
2
2
|
<% container_class = "saferpay-payment #{payment.state}" %>
|
3
3
|
<div class="<%= container_class %>">
|
4
4
|
<div class="credit-card">
|
5
|
-
<
|
6
|
-
<
|
5
|
+
<div class="cc-image-container"><%= image_tag "solidus_six_saferpay/credit_cards/icons/#{saferpay_payment.icon_name}.png", class: "cc-img" %></div>
|
6
|
+
<div class="cc-number"><%= saferpay_payment.display_text %></div>
|
7
7
|
</div>
|
8
8
|
<div>
|
9
9
|
<div class="amount">
|