paycertify 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/paycertify/three_ds/form.rb +8 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3bdbf97065fe7c5e0615eb17c0c9549506bb53d5
|
4
|
+
data.tar.gz: 8463c174a23f0a2bfd861485e2183c987f2cdc21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b52d2be306929c6043fde3f766da1598d6e432e5ca003447ee7eae70eaa46af5238a8bc6c1513dc6f04ef6190dae7dd9ca32eec7690b40d20fc84fe9d9e5bab7
|
7
|
+
data.tar.gz: 182a76aae54e4f2f1dec3d30d6bddfd567c604dbaad90b50191136b00381608c2daef7249d641a6a72ea014c2582df328cdc0d25bab3b2c75ac9d36dd024e6e9
|
@@ -50,16 +50,17 @@ module PayCertify
|
|
50
50
|
def frictionless
|
51
51
|
<<-HTML.squish
|
52
52
|
|
53
|
-
<iframe id="
|
53
|
+
<iframe id="frame" src="about:blank"></iframe>
|
54
54
|
|
55
|
-
<form id="
|
56
|
-
<input type="hidden" id="pares" name="
|
55
|
+
<form id="verification-form" action="#{term_url}" method="post">
|
56
|
+
<input type="hidden" id="pares" name="shared_pares"/>
|
57
|
+
<input type="hidden" name="___verify_pares" value="1"/>
|
57
58
|
</form>
|
58
59
|
|
59
60
|
<script>
|
60
61
|
(function(){
|
61
|
-
var frame = document.getElementById('
|
62
|
-
var form = document.getElementById('
|
62
|
+
var frame = document.getElementById('frame');
|
63
|
+
var form = document.getElementById('verification-form');
|
63
64
|
var submitForm = false;
|
64
65
|
var saveBeforeUnload = false;
|
65
66
|
|
@@ -71,6 +72,7 @@ module PayCertify
|
|
71
72
|
document.createElement('form').submit.call(form);
|
72
73
|
}
|
73
74
|
}, 500);
|
75
|
+
|
74
76
|
|
75
77
|
|
76
78
|
var exitPoll = function() {
|
@@ -87,7 +89,7 @@ module PayCertify
|
|
87
89
|
|
88
90
|
|
89
91
|
window.onmessage = function(e){
|
90
|
-
|
92
|
+
console.log(e);
|
91
93
|
if (e.data.PaRes != '') {
|
92
94
|
j = e.data;
|
93
95
|
var pinput = document.getElementById('pares');
|