SecurePay_SecureXML - Version 1.0.5.2

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.

/magento/var/log needs to exist and be writable in order to use Debug mode.

Download this release

Release Info

Developer Magento Core Team
Extension SecurePay_SecureXML
Version 1.0.5.2
Comparing to
See all releases


Code changes from version 1.0.5.1 to 1.0.5.2

app/design/adminhtml/default/default/template/sxml/form/cc.phtml ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design_default
22
+ * @package Mage
23
+ * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_code=$this->getMethodCode() ?>
28
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none">
29
+ <!--li>
30
+ <div class="input-box">
31
+ <label for="<?php echo $_code ?>_cc_owner"><?php echo $this->__('Name on Card') ?> <span class="required">*</span></label><br/>
32
+ <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')) ?>"/>
33
+ </div>
34
+ </li-->
35
+ <!--<li>
36
+ <div class="input-box">
37
+ <label for="<?php echo $_code ?>_cc_type"><?php echo $this->__('Credit Card Type') ?> <span class="required">*</span></label><br />
38
+ <select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" class="required-entry validate-sxml-cc-type-select">
39
+ <option value="OT">Other</option>
40
+ </select>
41
+ </div>
42
+ </li>-->
43
+ <li>
44
+ <div class="input-box">
45
+ <label for="<?php echo $_code ?>_cc_number"><?php echo $this->__('Credit Card Number') ?> <span class="required">*</span></label><br/>
46
+ <input type="text" id="<?php echo $_code ?>_cc_number" autocomplete="off" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
47
+ </div>
48
+ </li>
49
+ <li>
50
+ <div class="input-box">
51
+ <label for="<?php echo $_code ?>_expiration"><?php echo $this->__('Expiration Date') ?> <span class="required">*</span></label><br />
52
+ <select id="<?php echo $_code ?>_expiration" style="width:140px;" name="payment[cc_exp_month]" class="required-entry">
53
+ <?php $_ccExpMonth = $this->getInfoData('cc_exp_month') ?>
54
+ <?php foreach ($this->getCcMonths() as $k=>$v): ?>
55
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpMonth): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
56
+ <?php endforeach ?>
57
+ </select>
58
+ <?php $_ccExpYear = $this->getInfoData('cc_exp_year') ?>
59
+ <select id="<?php echo $_code ?>_expiration_yr" style="width:103px;" name="payment[cc_exp_year]" class="required-entry">
60
+ <?php foreach ($this->getCcYears() as $k=>$v): ?>
61
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpYear): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
62
+ <?php endforeach ?>
63
+ </select>
64
+ </div>
65
+ </li>
66
+ <?php if($this->hasVerification()): ?>
67
+ <li>
68
+ <div class="input-box">
69
+ <label for="<?php echo $_code ?>_cc_cid"><?php echo $this->__('Card Verification Number') ?> <span class="required">*</span></label><br />
70
+ <input type="text" autocomplete="off" title="<?php echo $this->__('Card Verification Number') ?>" class="required-entry input-text validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" style="width:3em;" value="" />
71
+ &nbsp;
72
+ <a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
73
+ </div>
74
+ </li>
75
+ <?php endif; ?>
76
+ </ul>
package.xml CHANGED
@@ -1,27 +1,29 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>SecurePay_SecureXML</name>
4
- <version>1.0.5.1</version>
5
  <stability>stable</stability>
6
- <license uri="http://www.opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Provides credit-card transactions via the SecurePay XML API</summary>
10
- <description>Provides support for the following kinds of credit-card transactions:
11
- Standard
12
  Preauthorise
13
  Advice (Complete/Capture)
14
  Reverse (Void)
15
  Refund
16
 
17
- Fraudguard, DirectEntry (Credit/Debit) and Periodic/Triggered payments are not supported.</description>
18
  <notes>In the config options, select Authorize for preauth/complete mode, or Authorize and Capture for standard payment mode.
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>andrewd@securepay.com.au</email></author></authors>
22
- <date>2009-11-19</date>
23
- <time>00:04:48</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="6c04dbd1934b9dbf8b0dec3d33c8c735"/></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="e9654b19a235a545059d2ec4ae20b40e"/><file name="system.xml" hash="8200cc68bbb66123b2324990d58c854c"/></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="9fe1ea31214daf70269872abc2df0d6d"/></dir></dir><file name="securepay_xml_api.php" hash="eb7530a7170fb7756ca80bad9698468b"/></dir></target></contents>
 
 
25
  <compatible/>
26
  <dependencies/>
27
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>SecurePay_SecureXML</name>
4
+ <version>1.0.5.2</version>
5
  <stability>stable</stability>
6
+ <license>OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Provides credit-card transactions via the SecurePay XML API</summary>
10
+ <description>Provides support for the following kinds of credit-card transaction:
11
+ Standard (Payment)
12
  Preauthorise
13
  Advice (Complete/Capture)
14
  Reverse (Void)
15
  Refund
16
 
17
+ Fraudguard, Direct Entry (Credit/Debit) and Periodic/Triggered payments are not supported.</description>
18
  <notes>In the config options, select Authorize for preauth/complete mode, or Authorize and Capture for standard payment mode.
19
 
20
+ If there is a problem with the initial transaction, the bank response code and text will be displayed to the user.
21
+
22
+ /magento/var/log needs to exist and be writable in order to use Debug mode.</notes>
23
+ <authors><author><name>Andrew Dubbeld</name><user>auto-converted</user><email>support@securepay.com.au</email></author></authors>
24
+ <date>2009-11-30</date>
25
+ <time>23:35:17</time>
26
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="sxml"><dir name="form"><file name="cc.phtml" hash="5cdc00067a372bb060e6fe306d3911cb"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="default"><dir name="default"><dir name="template"><dir name="sxml"><dir name="form"><file name="cc.phtml" hash="6c04dbd1934b9dbf8b0dec3d33c8c735"/></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="e9654b19a235a545059d2ec4ae20b40e"/><file name="system.xml" hash="8200cc68bbb66123b2324990d58c854c"/></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="9fe1ea31214daf70269872abc2df0d6d"/></dir></dir><file name="securepay_xml_api.php" hash="eb7530a7170fb7756ca80bad9698468b"/></dir></target></contents>
27
  <compatible/>
28
  <dependencies/>
29
  </package>