BBSNetAxept_Norway - Version 1.5.6

Version Notes

This extension uses the BBS Netaxept API.

Download this release

Release Info

Developer Magento Core Team
Extension BBSNetAxept_Norway
Version 1.5.6
Comparing to
See all releases


Code changes from version 1.5.5 to 1.5.6

app/code/community/Trollweb/BBSNetAxept/Model/Cron.php CHANGED
@@ -31,7 +31,6 @@ class Trollweb_BBSNetAxept_Model_Cron
31
  $bbs = Mage::getModel('bbsnetaxept/withGUI')->getApi();
32
  // Cancel all orders older than X minutes. (change in config)
33
  $timeout = $order->getPayment()->getMethodInstance()->getPendingTimeout();
34
- var_dump($timeout);
35
  if (($timeout > 0) and (strtotime($order->getUpdatedAt())+($timeout*60) < time()))
36
  {
37
  $transid = $order->getPayment()->getBbsTransactionId()."\n";
@@ -42,4 +41,4 @@ class Trollweb_BBSNetAxept_Model_Cron
42
  }
43
 
44
  }
45
- }
31
  $bbs = Mage::getModel('bbsnetaxept/withGUI')->getApi();
32
  // Cancel all orders older than X minutes. (change in config)
33
  $timeout = $order->getPayment()->getMethodInstance()->getPendingTimeout();
 
34
  if (($timeout > 0) and (strtotime($order->getUpdatedAt())+($timeout*60) < time()))
35
  {
36
  $transid = $order->getPayment()->getBbsTransactionId()."\n";
41
  }
42
 
43
  }
44
+ }
app/code/community/Trollweb/BBSNetAxept/Model/WithGUI.php CHANGED
@@ -174,9 +174,9 @@ class Trollweb_BBSNetAxept_Model_WithGUI extends Mage_Payment_Model_Method_Abstr
174
  $order->getPayment()->setBbsTransactionId($this->getCheckout()->getBBSTransactionId());
175
 
176
  $transKey = $this->getApi()->
177
- setCurrencyCode($this->getQuote()->getStoreCurrencyCode())->
178
  setTransactionId($this->getCheckout()->getBBSTransactionId())->
179
- setAmount(sprintf("%0.0f",$this->getQuote()->getGrandTotal()*100))->
180
  setOrderNumber($this->getCheckout()->getLastRealOrderId())->
181
  setOrderDescription(date("d.m.Y")." - Order ".$this->getCheckout()->getLastRealOrderId())->
182
  setCustomerEmail($this->getQuote()->getCustomerEmail())->
174
  $order->getPayment()->setBbsTransactionId($this->getCheckout()->getBBSTransactionId());
175
 
176
  $transKey = $this->getApi()->
177
+ setCurrencyCode($order->getOrderCurrencyCode())->
178
  setTransactionId($this->getCheckout()->getBBSTransactionId())->
179
+ setAmount(sprintf("%0.0f",$order->getGrandTotal()*100))->
180
  setOrderNumber($this->getCheckout()->getLastRealOrderId())->
181
  setOrderDescription(date("d.m.Y")." - Order ".$this->getCheckout()->getLastRealOrderId())->
182
  setCustomerEmail($this->getQuote()->getCustomerEmail())->
app/code/community/Trollweb/BBSNetAxept/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Trollweb_BBSNetAxept>
5
- <version>1.5.5</version>
6
  <depends>
7
  <Mage_Payment />
8
  </depends>
2
  <config>
3
  <modules>
4
  <Trollweb_BBSNetAxept>
5
+ <version>1.5.6</version>
6
  <depends>
7
  <Mage_Payment />
8
  </depends>
app/code/community/Trollweb/BBSNetAxept/etc/system.xml CHANGED
@@ -4,7 +4,7 @@
4
  <payment>
5
  <groups>
6
  <bbsnetaxept_withgui translate="label" module="bbsnetaxept">
7
- <label>BBS Netaxept, versjon 1.5.5</label>
8
  <sort_order>670</sort_order>
9
  <show_in_default>1</show_in_default>
10
  <show_in_website>1</show_in_website>
4
  <payment>
5
  <groups>
6
  <bbsnetaxept_withgui translate="label" module="bbsnetaxept">
7
+ <label>BBS Netaxept, versjon 1.5.6</label>
8
  <sort_order>670</sort_order>
9
  <show_in_default>1</show_in_default>
10
  <show_in_website>1</show_in_website>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>BBSNetAxept_Norway</name>
4
- <version>1.5.5</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.trollweb.no/bbs">GPL License</license>
7
  <channel>community</channel>
@@ -12,9 +12,9 @@
12
  Please remember that you need to sign up with both BBS and Teller. Sign up forms are available directly in the Magento Admin and Payment Gateways, under the BBS Netaxept Settings.</description>
13
  <notes>This extension uses the BBS Netaxept API.</notes>
14
  <authors><author><name>Trollweb Solutions AS</name><user>auto-converted</user><email>post@trollweb.no</email></author></authors>
15
- <date>2010-05-09</date>
16
- <time>07:52:35</time>
17
- <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="bbsnetaxept"><file name="form.phtml" hash="d61295f247bccb512608c1f9dec45876"/><file name="paymentinfo.phtml" hash="4f3b4e6e0d39720429c9b7f6afe87db3"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="bbsnetaxept"><file name="form.phtml" hash="f2c6bb87bb25ddd68a3dddde8ed64f12"/><file name="paymentinfo.phtml" hash="6ec9c7243fdb7c67a9d3de210a56908c"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="bbsnetaxept"><file name="logo.png" hash="17dcefecee14a0231c58dd87b2e0dc5e"/><file name="technology_logo.png" hash="e0b62fb37da9fb8c1ef69390762f066b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Trollweb_BBSNetAxept.xml" hash="f3b2219f86e88ada812f5bde8ae6859c"/></dir></target><target name="magelocale"><dir name="nb_NO"><file name="Trollweb_BBSNetaxept.csv" hash="ac985b5dad2ad1780fbc23d85c0c4849"/></dir></target><target name="magecommunity"><dir name="Trollweb"><dir name="BBSNetAxept"><dir name="Block"><file name="Form.php" hash="2e843f8b372cf86b901604676223e9ff"/><file name="PaymentInfo.php" hash="8c84a5d8a98a05bbc896733e2ca387f1"/><file name="Redirect.php" hash="dedf8e84e45f7d5e217b20704e0b1ac8"/></dir><dir name="controllers"><file name="ReturnController.php" hash="1af5a611e3c8ed282648911911c52de1"/></dir><dir name="etc"><file name="config.xml" hash="02d28f7076b141ecbf1e59cc2796d94d"/><file name="system.xml" hash="513259309a4f7f2ec061be451ff5efdd"/></dir><dir name="Helper"><file name="Data.php" hash="06e6b25c35fa45f014c51163ccec2e44"/></dir><dir name="Model"><dir name="Api"><file name="Bbs.php" hash="3d6a7e6a6fc4799ea22954c100313d87"/><file name="BbsRequest.php" hash="1d89c8369032ba4ba79c89828770da56"/><file name="SoapClient.php" hash="0bea5c38b2402fe854c092389aae9a21"/></dir><dir name="BBSNetterminal"><file name="Debug.php" hash="4c938bc2a079719a111478c9d24adf77"/><file name="Language.php" hash="8bafa1d208ee1571920eebfdf98a6745"/><file name="PaymentAction.php" hash="60efa6278b77fcd56d28d81e19617ccc"/><file name="Request.php" hash="b9353f6c6ca06349928aa418cf943744"/><file name="Result.php" hash="2faf0b6cc4fb00b00cbec7a48f4dca07"/></dir><dir name="Config"><file name="Logo.php" hash="7a6d09c42821270b85d32a6f9509395b"/></dir><dir name="Entity"><file name="Setup.php" hash="6d17490981f2d9efa48ac7a0f9318a83"/></dir><file name="Cron.php" hash="dbe0847dbef872105f6f7bb8468ebb83"/><file name="WithGUI.php" hash="8119142d99c90fbaad3179686d5f428c"/></dir><dir name="sql"><dir name="bbsnetaxept_setup"><file name="mysql4-install-0.1.0.php" hash="e84d45a9a21b253c0b3cb766079df28b"/><file name="mysql4-uninstall-0.1.0.php" hash="5393aadd53afafee1392949fe6a4511a"/></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies/>
20
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>BBSNetAxept_Norway</name>
4
+ <version>1.5.6</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.trollweb.no/bbs">GPL License</license>
7
  <channel>community</channel>
12
  Please remember that you need to sign up with both BBS and Teller. Sign up forms are available directly in the Magento Admin and Payment Gateways, under the BBS Netaxept Settings.</description>
13
  <notes>This extension uses the BBS Netaxept API.</notes>
14
  <authors><author><name>Trollweb Solutions AS</name><user>auto-converted</user><email>post@trollweb.no</email></author></authors>
15
+ <date>2010-05-25</date>
16
+ <time>11:48:39</time>
17
+ <contents><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="template"><dir name="bbsnetaxept"><file name="form.phtml" hash="d61295f247bccb512608c1f9dec45876"/><file name="paymentinfo.phtml" hash="4f3b4e6e0d39720429c9b7f6afe87db3"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="template"><dir name="bbsnetaxept"><file name="form.phtml" hash="f2c6bb87bb25ddd68a3dddde8ed64f12"/><file name="paymentinfo.phtml" hash="6ec9c7243fdb7c67a9d3de210a56908c"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="bbsnetaxept"><file name="logo.png" hash="17dcefecee14a0231c58dd87b2e0dc5e"/><file name="technology_logo.png" hash="e0b62fb37da9fb8c1ef69390762f066b"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Trollweb_BBSNetAxept.xml" hash="f3b2219f86e88ada812f5bde8ae6859c"/></dir></target><target name="magelocale"><dir name="nb_NO"><file name="Trollweb_BBSNetaxept.csv" hash="ac985b5dad2ad1780fbc23d85c0c4849"/></dir></target><target name="magecommunity"><dir name="Trollweb"><dir name="BBSNetAxept"><dir name="Block"><file name="Form.php" hash="2e843f8b372cf86b901604676223e9ff"/><file name="PaymentInfo.php" hash="8c84a5d8a98a05bbc896733e2ca387f1"/><file name="Redirect.php" hash="dedf8e84e45f7d5e217b20704e0b1ac8"/></dir><dir name="controllers"><file name="ReturnController.php" hash="1af5a611e3c8ed282648911911c52de1"/></dir><dir name="etc"><file name="config.xml" hash="00246f63dae5253f95020f8a9cee3489"/><file name="system.xml" hash="e1718c1709aa80972c3e0b245f3d1430"/></dir><dir name="Helper"><file name="Data.php" hash="06e6b25c35fa45f014c51163ccec2e44"/></dir><dir name="Model"><dir name="Api"><file name="Bbs.php" hash="3d6a7e6a6fc4799ea22954c100313d87"/><file name="BbsRequest.php" hash="1d89c8369032ba4ba79c89828770da56"/><file name="SoapClient.php" hash="0bea5c38b2402fe854c092389aae9a21"/></dir><dir name="BBSNetterminal"><file name="Debug.php" hash="4c938bc2a079719a111478c9d24adf77"/><file name="Language.php" hash="8bafa1d208ee1571920eebfdf98a6745"/><file name="PaymentAction.php" hash="60efa6278b77fcd56d28d81e19617ccc"/><file name="Request.php" hash="b9353f6c6ca06349928aa418cf943744"/><file name="Result.php" hash="2faf0b6cc4fb00b00cbec7a48f4dca07"/></dir><dir name="Config"><file name="Logo.php" hash="7a6d09c42821270b85d32a6f9509395b"/></dir><dir name="Entity"><file name="Setup.php" hash="6d17490981f2d9efa48ac7a0f9318a83"/></dir><file name="Cron.php" hash="dc91112fccd625b6a6cb5ca0cad88a03"/><file name="WithGUI.php" hash="82a314561e3508bfdd1bf2a9b00a7e5d"/></dir><dir name="sql"><dir name="bbsnetaxept_setup"><file name="mysql4-install-0.1.0.php" hash="e84d45a9a21b253c0b3cb766079df28b"/><file name="mysql4-uninstall-0.1.0.php" hash="5393aadd53afafee1392949fe6a4511a"/></dir></dir></dir></dir></target></contents>
18
  <compatible/>
19
  <dependencies/>
20
  </package>