Version Notes
In the config options, select Authorize for preauth/complete mode, or Authorize and Capture for standard payment mode.
If there is a problem with the initial transaction, the bank response code and text will be displayed to the user.
Download this release
Release Info
Developer | Magento Core Team |
Extension | SecurePay_SecureXML |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
app/code/local/SecurePay/Sxml/etc/config.xml
CHANGED
@@ -69,7 +69,7 @@
|
|
69 |
<debug>1</debug>
|
70 |
<test>1</test>
|
71 |
<usecvv>0</usecvv>
|
72 |
-
|
73 |
<payment_action>authorize</payment_action>
|
74 |
</Sxml>
|
75 |
</payment>
|
69 |
<debug>1</debug>
|
70 |
<test>1</test>
|
71 |
<usecvv>0</usecvv>
|
72 |
+
<cctypes>OT</cctypes>
|
73 |
<payment_action>authorize</payment_action>
|
74 |
</Sxml>
|
75 |
</payment>
|
app/code/local/SecurePay/Sxml/etc/system.xml
CHANGED
@@ -116,6 +116,15 @@
|
|
116 |
<show_in_website>1</show_in_website>
|
117 |
<show_in_store>1</show_in_store>
|
118 |
</specificcountry>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
</fields>
|
120 |
</Sxml>
|
121 |
</groups>
|
116 |
<show_in_website>1</show_in_website>
|
117 |
<show_in_store>1</show_in_store>
|
118 |
</specificcountry>
|
119 |
+
<cctypes translate="label">
|
120 |
+
<label>Credit Card Types</label>
|
121 |
+
<frontend_type>multiselect</frontend_type>
|
122 |
+
<source_model>Sxml/source_cctype</source_model>
|
123 |
+
<sort_order>15</sort_order>
|
124 |
+
<show_in_default>0</show_in_default>
|
125 |
+
<show_in_website>0</show_in_website>
|
126 |
+
<show_in_store>0</show_in_store>
|
127 |
+
</cctypes>
|
128 |
</fields>
|
129 |
</Sxml>
|
130 |
</groups>
|
app/design/frontend/default/default/template/sxml/form/cc.phtml
CHANGED
@@ -33,14 +33,7 @@
|
|
33 |
<input type="text" title="<?php echo $this->__('Name on Card') ?>" class="required-entry input-text" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->htmlEscape($this->getInfoData('cc_owner')) ?>"/>
|
34 |
</div>
|
35 |
</li-->
|
36 |
-
|
37 |
-
<div class="input-box">
|
38 |
-
<label for="<?php echo $_code ?>_cc_type"><?php echo $this->__('Credit Card Type') ?> <span class="required">*</span></label><br />
|
39 |
-
<select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" class="required-entry validate-sxml-cc-type-select">
|
40 |
-
<option value="OT">Other</option>
|
41 |
-
</select>
|
42 |
-
</div>
|
43 |
-
</li>-->
|
44 |
<li>
|
45 |
<div class="input-box">
|
46 |
<label for="<?php echo $_code ?>_cc_number"><?php echo $this->__('Credit Card Number') ?> <span class="required">*</span></label><br/>
|
@@ -79,4 +72,4 @@
|
|
79 |
</li>
|
80 |
<?php endif; ?>
|
81 |
</ul>
|
82 |
-
</fieldset>
|
33 |
<input type="text" title="<?php echo $this->__('Name on Card') ?>" class="required-entry input-text" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->htmlEscape($this->getInfoData('cc_owner')) ?>"/>
|
34 |
</div>
|
35 |
</li-->
|
36 |
+
<input type="hidden" id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" value="OT" />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
<li>
|
38 |
<div class="input-box">
|
39 |
<label for="<?php echo $_code ?>_cc_number"><?php echo $this->__('Credit Card Number') ?> <span class="required">*</span></label><br/>
|
72 |
</li>
|
73 |
<?php endif; ?>
|
74 |
</ul>
|
75 |
+
</fieldset>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>SecurePay_SecureXML</name>
|
4 |
-
<version>1.0.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
@@ -19,9 +19,9 @@ Fraudguard, Direct Entry (Credit/Debit) and Periodic/Triggered payments are not
|
|
19 |
|
20 |
If there is a problem with the initial transaction, the bank response code and text will be displayed to the user.</notes>
|
21 |
<authors><author><name>Andrew Dubbeld</name><user>auto-converted</user><email>support@securepay.com.au</email></author></authors>
|
22 |
-
<date>2009-10-
|
23 |
-
<time>
|
24 |
-
<contents><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="sxml"><dir name="form"><file name="cc.phtml" hash="
|
25 |
<compatible/>
|
26 |
<dependencies/>
|
27 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>SecurePay_SecureXML</name>
|
4 |
+
<version>1.0.3</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL v3.0</license>
|
7 |
<channel>community</channel>
|
19 |
|
20 |
If there is a problem with the initial transaction, the bank response code and text will be displayed to the user.</notes>
|
21 |
<authors><author><name>Andrew Dubbeld</name><user>auto-converted</user><email>support@securepay.com.au</email></author></authors>
|
22 |
+
<date>2009-10-27</date>
|
23 |
+
<time>22:59:26</time>
|
24 |
+
<contents><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="sxml"><dir name="form"><file name="cc.phtml" hash="04bb010a9f58852b76aefffed34649e1"/></dir></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="SecurePay_Sxml.xml" hash="e466d9b1db62c1844ccf17cca44bee5e"/></dir></target><target name="magelocal"><dir name="SecurePay"><dir name="Sxml"><dir name="Block"><dir name="Form"><file name="Cc.php" hash="412525e5c8c79ebd26cbf6033618b615"/></dir></dir><dir name="etc"><file name="config.xml" hash="c42f8f155c28cd5d53fd06fe40c5acda"/><file name="system.xml" hash="2439671842cf7dd71a04bb510d7f5839"/></dir><dir name="Helper"><file name="Data.php" hash="393c88c60eca919c13f255156355c536"/></dir><dir name="Model"><dir name="Source"><file name="Cctype.php" hash="bfe90747333890f72c94bd57b8b288c0"/></dir><dir name="Sxml"><file name="PaymentAction.php" hash="a5b8594da33b6113f3e9cc759c364d03"/><file name="Request.php" hash="95c4749da03d4e68b83706c8ce70ef0f"/><file name="Result.php" hash="f3f463587b5293a897f5c7e2bd4fc139"/></dir><file name="Sxml.php" hash="39b43e1680c3cb25844bd35e28ca0d38"/></dir></dir><file name="securepay_xml_api.php" hash="eb7530a7170fb7756ca80bad9698468b"/></dir></target></contents>
|
25 |
<compatible/>
|
26 |
<dependencies/>
|
27 |
</package>
|