spree_vpago 2.2.2.pre.pre36 → 2.2.2.pre.pre37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +12 -13
- data/app/views/spree/vpago_payments/forms/spree/gateway/_payway_v2.html.erb +10 -4
- data/lib/spree_vpago/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: 80ca360d497f7891656f158631ef9178ccabf9d459ab128794b0566ed1a00d0a
|
|
4
|
+
data.tar.gz: 6da0dee64c3bd2031e9aa7546b7a1c6a0f555aa443f5b55e730883e7cf16c17b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 193b7fb86e59840f6baee2efc7910efd16614078e67969b7ffa24879a4fc5e34914af0b83b4e9b54a5af64a169f513c7cc7b2f4805383c5dd08adf2dc3664b9c
|
|
7
|
+
data.tar.gz: 4d5baf443e247ac4cb9cdeaff28ef8c8401289e18026102bb2c5147c7b274b04d190d1615e48c228377892e9e2c91ff5725553bcf87497139758e8f2ceadd2ba
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
spree_vpago (2.2.2.pre.
|
|
4
|
+
spree_vpago (2.2.2.pre.pre37)
|
|
5
5
|
faraday
|
|
6
6
|
google-cloud-firestore
|
|
7
7
|
spree_api (>= 4.5)
|
|
@@ -128,7 +128,7 @@ GEM
|
|
|
128
128
|
babel-source (>= 4.0, < 6)
|
|
129
129
|
execjs (~> 2.0)
|
|
130
130
|
base64 (0.3.0)
|
|
131
|
-
bcrypt (3.1.
|
|
131
|
+
bcrypt (3.1.22)
|
|
132
132
|
bigdecimal (3.1.8)
|
|
133
133
|
bootstrap (4.6.2.1)
|
|
134
134
|
autoprefixer-rails (>= 9.1.0)
|
|
@@ -176,7 +176,7 @@ GEM
|
|
|
176
176
|
rainbow (>= 2.1.0)
|
|
177
177
|
diff-lcs (1.5.0)
|
|
178
178
|
docile (1.4.0)
|
|
179
|
-
doorkeeper (5.
|
|
179
|
+
doorkeeper (5.9.0)
|
|
180
180
|
railties (>= 5)
|
|
181
181
|
erubi (1.12.0)
|
|
182
182
|
execjs (2.10.0)
|
|
@@ -188,7 +188,7 @@ GEM
|
|
|
188
188
|
faraday-http-cache (2.5.0)
|
|
189
189
|
faraday (>= 0.8)
|
|
190
190
|
faraday-net_http (3.0.2)
|
|
191
|
-
faraday-retry (2.
|
|
191
|
+
faraday-retry (2.4.0)
|
|
192
192
|
faraday (~> 2.0)
|
|
193
193
|
ffaker (2.21.0)
|
|
194
194
|
ffi (1.15.5)
|
|
@@ -198,7 +198,7 @@ GEM
|
|
|
198
198
|
flatpickr (4.6.13.1)
|
|
199
199
|
friendly_id (5.5.0)
|
|
200
200
|
activerecord (>= 4.0.0)
|
|
201
|
-
gapic-common (1.
|
|
201
|
+
gapic-common (1.3.0)
|
|
202
202
|
faraday (>= 1.9, < 3.a)
|
|
203
203
|
faraday-retry (>= 1.0, < 3.a)
|
|
204
204
|
google-cloud-env (~> 2.2)
|
|
@@ -227,7 +227,7 @@ GEM
|
|
|
227
227
|
google-cloud-env (2.3.1)
|
|
228
228
|
base64 (~> 0.2)
|
|
229
229
|
faraday (>= 1.0, < 3.a)
|
|
230
|
-
google-cloud-errors (1.
|
|
230
|
+
google-cloud-errors (1.6.0)
|
|
231
231
|
google-cloud-firestore (3.1.1)
|
|
232
232
|
bigdecimal (~> 3.0)
|
|
233
233
|
concurrent-ruby (~> 1.0)
|
|
@@ -238,11 +238,11 @@ GEM
|
|
|
238
238
|
gapic-common (~> 1.2)
|
|
239
239
|
google-cloud-errors (~> 1.0)
|
|
240
240
|
google-cloud-location (~> 1.0)
|
|
241
|
-
google-cloud-location (1.
|
|
241
|
+
google-cloud-location (1.3.0)
|
|
242
242
|
gapic-common (~> 1.2)
|
|
243
243
|
google-cloud-errors (~> 1.0)
|
|
244
244
|
google-logging-utils (0.2.0)
|
|
245
|
-
google-protobuf (4.33.
|
|
245
|
+
google-protobuf (4.33.6)
|
|
246
246
|
bigdecimal
|
|
247
247
|
rake (>= 13)
|
|
248
248
|
googleapis-common-protos (1.9.0)
|
|
@@ -251,7 +251,7 @@ GEM
|
|
|
251
251
|
grpc (~> 1.41)
|
|
252
252
|
googleapis-common-protos-types (1.22.0)
|
|
253
253
|
google-protobuf (~> 4.26)
|
|
254
|
-
googleauth (1.16.
|
|
254
|
+
googleauth (1.16.2)
|
|
255
255
|
faraday (>= 1.0, < 3.a)
|
|
256
256
|
google-cloud-env (~> 2.2)
|
|
257
257
|
google-logging-utils (~> 0.1)
|
|
@@ -259,7 +259,7 @@ GEM
|
|
|
259
259
|
multi_json (~> 1.11)
|
|
260
260
|
os (>= 0.9, < 2.0)
|
|
261
261
|
signet (>= 0.16, < 2.a)
|
|
262
|
-
grpc (1.
|
|
262
|
+
grpc (1.78.1)
|
|
263
263
|
google-protobuf (>= 3.25, < 5.0)
|
|
264
264
|
googleapis-common-protos-types (~> 1.0)
|
|
265
265
|
hashdiff (1.1.0)
|
|
@@ -593,9 +593,8 @@ GEM
|
|
|
593
593
|
actionmailer
|
|
594
594
|
spree_core (>= 4.5.3)
|
|
595
595
|
sprockets (>= 4.0)
|
|
596
|
-
spree_extension (
|
|
597
|
-
|
|
598
|
-
spree_core
|
|
596
|
+
spree_extension (1.0.2)
|
|
597
|
+
thor (~> 1.0)
|
|
599
598
|
spree_multi_vendor (2.4.1)
|
|
600
599
|
deface (~> 1.0)
|
|
601
600
|
spree (>= 4.3.0.rc1)
|
|
@@ -35,7 +35,11 @@
|
|
|
35
35
|
redirectContainer.style.removeProperty('display');
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
|
|
38
|
+
function submitForm() {
|
|
39
|
+
document.getElementById("aba_merchant_request").submit();
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function submitFormViaJs(){
|
|
39
43
|
var formData = new FormData(document.getElementById("aba_merchant_request"));
|
|
40
44
|
var checkoutUrl = document.getElementById("aba_merchant_request").action;
|
|
41
45
|
|
|
@@ -74,9 +78,11 @@
|
|
|
74
78
|
.catch(function(error) {
|
|
75
79
|
console.error("Payment request failed:", error);
|
|
76
80
|
});
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
if (abapayKhqrDeeplink) {
|
|
84
|
+
submitFormViaJs();
|
|
77
85
|
} else {
|
|
78
|
-
|
|
79
|
-
document.getElementById("aba_merchant_request").submit();
|
|
80
|
-
});
|
|
86
|
+
submitForm();
|
|
81
87
|
}
|
|
82
88
|
</script>
|
data/lib/spree_vpago/version.rb
CHANGED