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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1beefa8f5e0710dae9817343ef7507386a6e0c84
4
- data.tar.gz: a5c8deae72634009b23bd4ace0f3e4849befbb47
3
+ metadata.gz: 3bdbf97065fe7c5e0615eb17c0c9549506bb53d5
4
+ data.tar.gz: 8463c174a23f0a2bfd861485e2183c987f2cdc21
5
5
  SHA512:
6
- metadata.gz: f16664472922d267eacf82c898784f720178b89ebc8f7dd7cb006f09c78078b00cbbd94b00d28b058bd0c39763271dce9a078040577a3fb6a787198a69b02702
7
- data.tar.gz: 9d826c45ac17c4a8288ffabafdeb4136200668cbce8f16c3a14ec86f0b282b848a5ff1319bf97db6cb71c4290c825951866929ebe6852adbfe6effa06ecb9fb1
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="3ds-frame" src="about:blank"></iframe>
53
+ <iframe id="frame" src="about:blank"></iframe>
54
54
 
55
- <form id="callback-form" action="#{term_url}" method="post">
56
- <input type="hidden" id="pares" name="pares" />
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('3ds-frame');
62
- var form = document.getElementById('callback-form');
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
- debugger;
92
+ console.log(e);
91
93
  if (e.data.PaRes != '') {
92
94
  j = e.data;
93
95
  var pinput = document.getElementById('pares');
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paycertify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - PayCertify Engineering Team