Version Notes
Fix missing fields option on OnePage checkout
Download this release
Release Info
Developer | OneID |
Extension | OneID |
Version | 1.0.11 |
Comparing to | |
See all releases |
Code changes from version 1.0.10 to 1.0.11
app/design/frontend/base/default/template/oneid/checkout/oneid_onepage.phtml
CHANGED
@@ -96,6 +96,105 @@ $_quote = Mage::getModel('checkout/cart')->getQuote();
|
|
96 |
});
|
97 |
};
|
98 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
|
100 |
|
101 |
OneIdExtern.registerApiReadyFunction(function(){
|
@@ -162,41 +261,7 @@ $_quote = Mage::getModel('checkout/cart')->getQuote();
|
|
162 |
$("checkout-step-payment").show();
|
163 |
}
|
164 |
|
165 |
-
|
166 |
-
"formData" : {
|
167 |
-
"ccsave_cc_owner" : {
|
168 |
-
"oneid_attribute" : "payment[cc_name_on_card]",
|
169 |
-
"oneid_class" : "",
|
170 |
-
"scope" : "oneID",
|
171 |
-
"format" : ""
|
172 |
-
},
|
173 |
-
"ccsave_cc_type" : {
|
174 |
-
"oneid_attribute" : "payment[cc_type]",
|
175 |
-
"oneid_class" : "",
|
176 |
-
"scope" : "oneID",
|
177 |
-
"format" : ""
|
178 |
-
},
|
179 |
-
"ccsave_cc_number" : {
|
180 |
-
"oneid_attribute" : "payment[cc_number]",
|
181 |
-
"oneid_class" : "",
|
182 |
-
"scope" : "oneID",
|
183 |
-
"format" : ""
|
184 |
-
},
|
185 |
-
"ccsave_expiration" : {
|
186 |
-
"oneid_attribute" : "payment[cc_exp_mo]",
|
187 |
-
"oneid_class" : "",
|
188 |
-
"scope" : "oneID",
|
189 |
-
"format" : ""
|
190 |
-
},
|
191 |
-
"ccsave_expiration_yr" : {
|
192 |
-
"oneid_attribute" : "payment[cc_exp_yr]",
|
193 |
-
"oneid_class" : "",
|
194 |
-
"scope" : "oneID",
|
195 |
-
"selector_type" : "base",
|
196 |
-
"format" : ""
|
197 |
-
}
|
198 |
-
}
|
199 |
-
};
|
200 |
|
201 |
OneId.accuFillButton(OneId.$(".oneid-formfill-payment"), paymentPostData, "", function(completed){
|
202 |
if (!completed && automateFormFill){
|
@@ -271,39 +336,7 @@ $_quote = Mage::getModel('checkout/cart')->getQuote();
|
|
271 |
|
272 |
};
|
273 |
|
274 |
-
|
275 |
-
"formData" : {
|
276 |
-
"billing:firstname" : {
|
277 |
-
"oneid_attribute" : ["personal_info[first_name]"]
|
278 |
-
},
|
279 |
-
"billing:lastname" : {
|
280 |
-
"oneid_attribute" : ["personal_info[last_name]"]
|
281 |
-
|
282 |
-
},
|
283 |
-
"billing:email" :{
|
284 |
-
"oneid_attribute" : ["personal_info[email]"]
|
285 |
-
},
|
286 |
-
"billing:street1" :{
|
287 |
-
"oneid_attribute" : "address[billing][street]"
|
288 |
-
},
|
289 |
-
"billing:street2" :{
|
290 |
-
"oneid_attribute" : "address[billing][street2]",
|
291 |
-
"required" : false
|
292 |
-
},
|
293 |
-
"billing:telephone" :{
|
294 |
-
"oneid_attribute" : "address[billing][phone]"
|
295 |
-
},
|
296 |
-
"billing:region_id" :{
|
297 |
-
"oneid_attribute" : "address[billing][state]"
|
298 |
-
},
|
299 |
-
"billing:city" : {
|
300 |
-
"oneid_attribute" : "address[billing][city]"
|
301 |
-
},
|
302 |
-
"billing:postcode" : {
|
303 |
-
"oneid_attribute" : "address[billing][zip]"
|
304 |
-
}
|
305 |
-
}
|
306 |
-
};
|
307 |
|
308 |
var oneidBillingNextStep = function() {
|
309 |
OneId.isUserEnabled( function (isEnabled) {
|
@@ -349,35 +382,7 @@ $_quote = Mage::getModel('checkout/cart')->getQuote();
|
|
349 |
$("opc-shipping").show();
|
350 |
}
|
351 |
|
352 |
-
|
353 |
-
"formData" : {
|
354 |
-
"shipping:firstname" : {
|
355 |
-
"oneid_attribute" : "personal_info[first_name]"
|
356 |
-
},
|
357 |
-
"shipping:lastname" : {
|
358 |
-
"oneid_attribute" : "personal_info[last_name]"
|
359 |
-
},
|
360 |
-
"shipping:street1" :{
|
361 |
-
"oneid_attribute" : "address[shipping][street]"
|
362 |
-
},
|
363 |
-
"shipping:street2" :{
|
364 |
-
"oneid_attribute" : "address[shipping][street2]",
|
365 |
-
"required": false
|
366 |
-
},
|
367 |
-
"shipping:telephone" :{
|
368 |
-
"oneid_attribute" : "address[shipping][phone]"
|
369 |
-
},
|
370 |
-
"shipping:region_id" :{
|
371 |
-
"oneid_attribute" : "address[shipping][state]"
|
372 |
-
},
|
373 |
-
"shipping:city" : {
|
374 |
-
"oneid_attribute" : "address[shipping][city]"
|
375 |
-
},
|
376 |
-
"shipping:postcode" : {
|
377 |
-
"oneid_attribute" : "address[shipping][zip]"
|
378 |
-
}
|
379 |
-
}
|
380 |
-
};
|
381 |
|
382 |
var startShippingAddressFormFill = function() {
|
383 |
var attr = "<?php echo $this->helper('OneID')->getCheckoutAttr() ?>";
|
96 |
});
|
97 |
};
|
98 |
|
99 |
+
var paymentPostData = {
|
100 |
+
"formData" : {
|
101 |
+
"ccsave_cc_owner" : {
|
102 |
+
"oneid_attribute" : "payment[cc_name_on_card]",
|
103 |
+
"oneid_class" : "",
|
104 |
+
"scope" : "oneID",
|
105 |
+
"format" : ""
|
106 |
+
},
|
107 |
+
"ccsave_cc_type" : {
|
108 |
+
"oneid_attribute" : "payment[cc_type]",
|
109 |
+
"oneid_class" : "",
|
110 |
+
"scope" : "oneID",
|
111 |
+
"format" : ""
|
112 |
+
},
|
113 |
+
"ccsave_cc_number" : {
|
114 |
+
"oneid_attribute" : "payment[cc_number]",
|
115 |
+
"oneid_class" : "",
|
116 |
+
"scope" : "oneID",
|
117 |
+
"format" : ""
|
118 |
+
},
|
119 |
+
"ccsave_expiration" : {
|
120 |
+
"oneid_attribute" : "payment[cc_exp_mo]",
|
121 |
+
"oneid_class" : "",
|
122 |
+
"scope" : "oneID",
|
123 |
+
"format" : ""
|
124 |
+
},
|
125 |
+
"ccsave_expiration_yr" : {
|
126 |
+
"oneid_attribute" : "payment[cc_exp_yr]",
|
127 |
+
"oneid_class" : "",
|
128 |
+
"scope" : "oneID",
|
129 |
+
"selector_type" : "base",
|
130 |
+
"format" : ""
|
131 |
+
}
|
132 |
+
}
|
133 |
+
};
|
134 |
+
|
135 |
+
var billingAddressPostData = {
|
136 |
+
"formData" : {
|
137 |
+
"billing:firstname" : {
|
138 |
+
"oneid_attribute" : ["personal_info[first_name]"]
|
139 |
+
},
|
140 |
+
"billing:lastname" : {
|
141 |
+
"oneid_attribute" : ["personal_info[last_name]"]
|
142 |
+
|
143 |
+
},
|
144 |
+
"billing:email" :{
|
145 |
+
"oneid_attribute" : ["personal_info[email]"]
|
146 |
+
},
|
147 |
+
"billing:street1" :{
|
148 |
+
"oneid_attribute" : "address[billing][street]"
|
149 |
+
},
|
150 |
+
"billing:street2" :{
|
151 |
+
"oneid_attribute" : "address[billing][street2]",
|
152 |
+
"required" : false
|
153 |
+
},
|
154 |
+
"billing:telephone" :{
|
155 |
+
"oneid_attribute" : "address[billing][phone]"
|
156 |
+
},
|
157 |
+
"billing:region_id" :{
|
158 |
+
"oneid_attribute" : "address[billing][state]"
|
159 |
+
},
|
160 |
+
"billing:city" : {
|
161 |
+
"oneid_attribute" : "address[billing][city]"
|
162 |
+
},
|
163 |
+
"billing:postcode" : {
|
164 |
+
"oneid_attribute" : "address[billing][zip]"
|
165 |
+
}
|
166 |
+
}
|
167 |
+
};
|
168 |
+
|
169 |
+
var shippingAddressPostData = {
|
170 |
+
"formData" : {
|
171 |
+
"shipping:firstname" : {
|
172 |
+
"oneid_attribute" : "personal_info[first_name]"
|
173 |
+
},
|
174 |
+
"shipping:lastname" : {
|
175 |
+
"oneid_attribute" : "personal_info[last_name]"
|
176 |
+
},
|
177 |
+
"shipping:street1" :{
|
178 |
+
"oneid_attribute" : "address[shipping][street]"
|
179 |
+
},
|
180 |
+
"shipping:street2" :{
|
181 |
+
"oneid_attribute" : "address[shipping][street2]",
|
182 |
+
"required": false
|
183 |
+
},
|
184 |
+
"shipping:telephone" :{
|
185 |
+
"oneid_attribute" : "address[shipping][phone]"
|
186 |
+
},
|
187 |
+
"shipping:region_id" :{
|
188 |
+
"oneid_attribute" : "address[shipping][state]"
|
189 |
+
},
|
190 |
+
"shipping:city" : {
|
191 |
+
"oneid_attribute" : "address[shipping][city]"
|
192 |
+
},
|
193 |
+
"shipping:postcode" : {
|
194 |
+
"oneid_attribute" : "address[shipping][zip]"
|
195 |
+
}
|
196 |
+
}
|
197 |
+
};
|
198 |
|
199 |
|
200 |
OneIdExtern.registerApiReadyFunction(function(){
|
261 |
$("checkout-step-payment").show();
|
262 |
}
|
263 |
|
264 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
265 |
|
266 |
OneId.accuFillButton(OneId.$(".oneid-formfill-payment"), paymentPostData, "", function(completed){
|
267 |
if (!completed && automateFormFill){
|
336 |
|
337 |
};
|
338 |
|
339 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
340 |
|
341 |
var oneidBillingNextStep = function() {
|
342 |
OneId.isUserEnabled( function (isEnabled) {
|
382 |
$("opc-shipping").show();
|
383 |
}
|
384 |
|
385 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
386 |
|
387 |
var startShippingAddressFormFill = function() {
|
388 |
var attr = "<?php echo $this->helper('OneID')->getCheckoutAttr() ?>";
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>OneID</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>Apache Software License (ASL)</license>
|
7 |
<channel>community</channel>
|
@@ -21,11 +21,11 @@ Privacy: OneID does not track any user behavior – and certainly wonȁ
|
|
21 |
Security: OneID secures customer information using three separate cryptographic combinations across multiple devices.
|
22 |
Convenience: OneID removes the hassle of having to remember user names and passwords.
|
23 |
And along with all those great benefits to you and your users, with this plugin you'll also get to use OneID to log into and administer your WordPress site using your OneID.</description>
|
24 |
-
<notes>
|
25 |
<authors><author><name>OneID</name><user>bpk_oneid</user><email>bpk@oneid.com</email></author></authors>
|
26 |
-
<date>2013-02-
|
27 |
-
<time>19:
|
28 |
-
<contents><target name="magecommunity"><dir name="OneID"><dir name="Connector"><dir name="Block"><dir name="Checkout"><dir name="Onepage"><file name="Success.php" hash="94f38f858a45304c10138c3a1b265490"/></dir></dir><file name="Signin.php" hash="454d819e284f02ef5e2ae8e57d714918"/></dir><dir name="Helper"><file name="Data.php" hash="6d702e8fcf10c58de1ce6aa457dca427"/></dir><dir name="controllers"><file name="AccountController.php" hash="2401a0a519aac21bebeee77233fd0b03"/><file name="ConnectorController.php" hash="ea726d60099a66c2e63ad27fa1af5b8c"/><file name="OnepageController.php" hash="78d2dbae1606057fb3544296351898d8"/></dir><dir name="etc"><file name="config.xml" hash="8c3246ec55c0f60669fe484abbc1a04b"/><file name="system.xml" hash="d47ac462cf6efd529aca557fad1b890e"/></dir><dir name="sql"><dir name="oneid_connector_setup"><file name="mysql4-install-0.1.0.php" hash="cad7569ee96103d087bf077661c1cafe"/></dir></dir></dir><file name="README.txt" hash="fc7ce5e9b6b09f43a8776ef1c05d3f11"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="oneid"><dir name="block"><file name="login.phtml" hash="787f58873550105c3318baa8b0b77ded"/><dir name="page"><dir name="html"><file name="footer.phtml" hash="c4059028bd7db7b0f0d3b157157cea60"/><file name="head.phtml" hash="9dd7e46b5c3ce6eb4e92ef6738d55dc6"/><file name="newjavascript.js" hash="c9e0fa9a4851c0070614f605ebac8257"/></dir></dir></dir><dir name="checkout"><file name="cart.phtml" hash="4b02b99a1bbc8ad14a4452775df49ef2"/><file name="oneid_onepage.phtml" hash="
|
29 |
<compatible/>
|
30 |
<dependencies><required><php><min>5.0.0</min><max>5.4.10</max></php></required></dependencies>
|
31 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>OneID</name>
|
4 |
+
<version>1.0.11</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>Apache Software License (ASL)</license>
|
7 |
<channel>community</channel>
|
21 |
Security: OneID secures customer information using three separate cryptographic combinations across multiple devices.
|
22 |
Convenience: OneID removes the hassle of having to remember user names and passwords.
|
23 |
And along with all those great benefits to you and your users, with this plugin you'll also get to use OneID to log into and administer your WordPress site using your OneID.</description>
|
24 |
+
<notes>Fix missing fields option on OnePage checkout</notes>
|
25 |
<authors><author><name>OneID</name><user>bpk_oneid</user><email>bpk@oneid.com</email></author></authors>
|
26 |
+
<date>2013-02-07</date>
|
27 |
+
<time>19:26:33</time>
|
28 |
+
<contents><target name="magecommunity"><dir name="OneID"><dir name="Connector"><dir name="Block"><dir name="Checkout"><dir name="Onepage"><file name="Success.php" hash="94f38f858a45304c10138c3a1b265490"/></dir></dir><file name="Signin.php" hash="454d819e284f02ef5e2ae8e57d714918"/></dir><dir name="Helper"><file name="Data.php" hash="6d702e8fcf10c58de1ce6aa457dca427"/></dir><dir name="controllers"><file name="AccountController.php" hash="2401a0a519aac21bebeee77233fd0b03"/><file name="ConnectorController.php" hash="ea726d60099a66c2e63ad27fa1af5b8c"/><file name="OnepageController.php" hash="78d2dbae1606057fb3544296351898d8"/></dir><dir name="etc"><file name="config.xml" hash="8c3246ec55c0f60669fe484abbc1a04b"/><file name="system.xml" hash="d47ac462cf6efd529aca557fad1b890e"/></dir><dir name="sql"><dir name="oneid_connector_setup"><file name="mysql4-install-0.1.0.php" hash="cad7569ee96103d087bf077661c1cafe"/></dir></dir></dir><file name="README.txt" hash="fc7ce5e9b6b09f43a8776ef1c05d3f11"/></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="oneid"><dir name="block"><file name="login.phtml" hash="787f58873550105c3318baa8b0b77ded"/><dir name="page"><dir name="html"><file name="footer.phtml" hash="c4059028bd7db7b0f0d3b157157cea60"/><file name="head.phtml" hash="9dd7e46b5c3ce6eb4e92ef6738d55dc6"/><file name="newjavascript.js" hash="c9e0fa9a4851c0070614f605ebac8257"/></dir></dir></dir><dir name="checkout"><file name="cart.phtml" hash="4b02b99a1bbc8ad14a4452775df49ef2"/><file name="oneid_onepage.phtml" hash="9536fabcbbd79a0eeff66daa2ae373cf"/><dir name="onepage"><file name="link.phtml" hash="c38a01ac21b86b2cd2b923f99b0d32f9"/><dir name="review"><file name="button.phtml" hash="7646991c5b937654771fa78627e49c95"/></dir></dir><dir name="success"><file name="oneid_create.phtml" hash="653fee23d3059609ae5330f0d6c84d34"/></dir></dir><dir name="customer"><dir name="account"><file name="dashboard.phtml" hash="55b1ec9a6860486943e2e4fb8d81aede"/></dir><dir name="form"><file name="edit.phtml" hash="23eea7e7e29cb36c3c5885d7775de528"/><file name="forgotpassword.phtml" hash="cd02367e8214930140d80a7834e0f4a4"/></dir></dir><dir name="form"><file name="traditional_login.phtml" hash="597e5d7b99eb7dcfb8f5a63185ce5e38"/></dir><dir name="oneid"><file name="signin.phtml" hash="1aeb1ac58db061d9649b92ee25b2ed20"/></dir></dir></dir><dir name="layout"><file name="OneID.xml" hash="a394b3f62e225364b5053160c845d38c"/></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="css"><file name="oneid.css" hash="5e44748f801c63012a57995a0c1fca80"/></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Oneid_Connector.xml" hash="1f42a132067a01e1056d5c514d96507a"/></dir></target></contents>
|
29 |
<compatible/>
|
30 |
<dependencies><required><php><min>5.0.0</min><max>5.4.10</max></php></required></dependencies>
|
31 |
</package>
|