Orba_Payupl - Version 0.2.4

Version Notes

- system.xml issue fixed

Download this release

Release Info

Developer ORBA
Extension Orba_Payupl
Version 0.2.4
Comparing to
See all releases


Code changes from version 0.2.3.1 to 0.2.4

Files changed (25) hide show
  1. app/code/community/Orba/Payupl/Model/Encoding.php +15 -15
  2. app/code/community/Orba/Payupl/Model/Gateway.php +20 -20
  3. app/code/community/Orba/Payupl/controllers/PaymentController.php +0 -1
  4. app/code/community/Orba/Payupl/etc/config.xml +1 -1
  5. app/code/community/Orba/Payupl/etc/system.xml +2 -2
  6. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.0-0.1.1.php +6 -6
  7. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.1-0.1.2.php +6 -6
  8. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.10.1-0.2.0.php +6 -6
  9. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.2-0.1.3.php +6 -6
  10. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.3-0.1.4.1.php +27 -27
  11. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.3-0.1.4.php +27 -27
  12. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.4-0.1.5.php +6 -6
  13. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.5-0.1.6.php +6 -6
  14. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.6-0.1.7.php +6 -6
  15. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.7-0.1.8.php +6 -6
  16. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.8-0.1.9.php +6 -6
  17. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.9-0.1.10.php +6 -6
  18. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.2.0-0.2.1.php +6 -6
  19. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.2.1-0.2.2.php +6 -6
  20. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.2.2-0.2.3.php +6 -6
  21. app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.2.3.1-0.2.4.php +7 -0
  22. app/design/frontend/base/default/layout/payupl.xml +14 -14
  23. app/design/frontend/base/default/template/payupl/redirect.phtml +3 -3
  24. app/etc/modules/Orba_Payupl.xml +11 -11
  25. package.xml +7 -7
app/code/community/Orba/Payupl/Model/Encoding.php CHANGED
@@ -1,16 +1,16 @@
1
- <?php
2
-
3
- class Orba_Payupl_Model_Encoding extends Mage_Core_Model_Abstract {
4
-
5
- const PAYUPL_ENCODING_UTF = 'UTF';
6
-
7
- public function toOptionArray() {
8
- return array(
9
- array(
10
- 'value' => Orba_Payupl_Model_Encoding::PAYUPL_ENCODING_UTF,
11
- 'label' => 'UTF-8'
12
- )
13
- );
14
- }
15
-
16
  }
1
+ <?php
2
+
3
+ class Orba_Payupl_Model_Encoding extends Mage_Core_Model_Abstract {
4
+
5
+ const PAYUPL_ENCODING_UTF = 'UTF';
6
+
7
+ public function toOptionArray() {
8
+ return array(
9
+ array(
10
+ 'value' => Orba_Payupl_Model_Encoding::PAYUPL_ENCODING_UTF,
11
+ 'label' => 'UTF-8'
12
+ )
13
+ );
14
+ }
15
+
16
  }
app/code/community/Orba/Payupl/Model/Gateway.php CHANGED
@@ -1,21 +1,21 @@
1
- <?php
2
-
3
- class Orba_Payupl_Model_Gateway extends Mage_Core_Model_Abstract {
4
-
5
- const PAYUPL_GATEWAY_PRODUCTION = 'https://www.platnosci.pl/paygw';
6
- const PAYUPL_GATEWAY_SANDBOX = 'https://sandbox.payu.pl/paygw';
7
-
8
- public function toOptionArray() {
9
- return array(
10
- array(
11
- 'value' => Orba_Payupl_Model_Gateway::PAYUPL_GATEWAY_PRODUCTION,
12
- 'label' => Mage::helper('payupl')->__('Production')
13
- ),
14
- array(
15
- 'value' => Orba_Payupl_Model_Gateway::PAYUPL_GATEWAY_SANDBOX,
16
- 'label' => Mage::helper('payupl')->__('Sandbox')
17
- )
18
- );
19
- }
20
-
21
  }
1
+ <?php
2
+
3
+ class Orba_Payupl_Model_Gateway extends Mage_Core_Model_Abstract {
4
+
5
+ const PAYUPL_GATEWAY_PRODUCTION = 'https://www.platnosci.pl/paygw';
6
+ const PAYUPL_GATEWAY_SANDBOX = 'https://sandbox.payu.pl/paygw';
7
+
8
+ public function toOptionArray() {
9
+ return array(
10
+ array(
11
+ 'value' => Orba_Payupl_Model_Gateway::PAYUPL_GATEWAY_PRODUCTION,
12
+ 'label' => Mage::helper('payupl')->__('Production')
13
+ ),
14
+ array(
15
+ 'value' => Orba_Payupl_Model_Gateway::PAYUPL_GATEWAY_SANDBOX,
16
+ 'label' => Mage::helper('payupl')->__('Sandbox')
17
+ )
18
+ );
19
+ }
20
+
21
  }
app/code/community/Orba/Payupl/controllers/PaymentController.php CHANGED
@@ -15,7 +15,6 @@ class Orba_Payupl_PaymentController extends Mage_Core_Controller_Front_Action {
15
  $this->_order->sendNewOrderEmail();
16
  $this->loadLayout();
17
  $this->getLayout()->getBlock('payupl_child')->setOrder($this->_order);
18
- //var_dump($this->getLayout()->getBlock('payupl_child'));
19
  $this->renderLayout();
20
  }
21
 
15
  $this->_order->sendNewOrderEmail();
16
  $this->loadLayout();
17
  $this->getLayout()->getBlock('payupl_child')->setOrder($this->_order);
 
18
  $this->renderLayout();
19
  }
20
 
app/code/community/Orba/Payupl/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <Orba_Payupl>
5
- <version>0.2.3.1</version>
6
  </Orba_Payupl>
7
  </modules>
8
  <frontend>
2
  <config>
3
  <modules>
4
  <Orba_Payupl>
5
+ <version>0.2.4</version>
6
  </Orba_Payupl>
7
  </modules>
8
  <frontend>
app/code/community/Orba/Payupl/etc/system.xml CHANGED
@@ -30,7 +30,7 @@
30
  <gateway_url translate="label">
31
  <label>Account type</label>
32
  <frontend_type>select</frontend_type>
33
- <source_model>orba_payupl_model_gateway</source_model>
34
  <sort_order>25</sort_order>
35
  <show_in_default>1</show_in_default>
36
  <show_in_website>1</show_in_website>
@@ -71,7 +71,7 @@
71
  <encoding translate="label,comment">
72
  <label>Encoding</label>
73
  <comment>IMPORTANT: Set the same in Payu.pl</comment>
74
- <source_model>orba_payupl_model_encoding</source_model>
75
  <frontend_type>select</frontend_type>
76
  <sort_order>80</sort_order>
77
  <show_in_default>1</show_in_default>
30
  <gateway_url translate="label">
31
  <label>Account type</label>
32
  <frontend_type>select</frontend_type>
33
+ <source_model>payupl/gateway</source_model>
34
  <sort_order>25</sort_order>
35
  <show_in_default>1</show_in_default>
36
  <show_in_website>1</show_in_website>
71
  <encoding translate="label,comment">
72
  <label>Encoding</label>
73
  <comment>IMPORTANT: Set the same in Payu.pl</comment>
74
+ <source_model>payupl/encoding</source_model>
75
  <frontend_type>select</frontend_type>
76
  <sort_order>80</sort_order>
77
  <show_in_default>1</show_in_default>
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.0-0.1.1.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.1', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
-
7
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.1', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
+
7
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.1-0.1.2.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.2', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
-
7
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.2', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
+
7
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.10.1-0.2.0.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.2.0', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']), "From: ".(Mage::getStoreConfig('general/store_information/email_address') ? Mage::getStoreConfig('general/store_information/email_address') : 'magento@orba.pl'));
6
-
7
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.2.0', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']), "From: ".(Mage::getStoreConfig('general/store_information/email_address') ? Mage::getStoreConfig('general/store_information/email_address') : 'magento@orba.pl'));
6
+
7
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.2-0.1.3.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.3', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
-
7
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.3', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
+
7
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.3-0.1.4.1.php CHANGED
@@ -1,28 +1,28 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- $install_version = Mage::getConfig()->getNode('modules/Orba_Payupl/version');
6
-
7
- $msg_title = "Moduł Orba Payu.pl został poprawnie upgrade'owany do wersji {$install_version}! Ważne: Przekonfiguruj system po stronie Payu.pl!";
8
- $msg_desc = "Po stronie Payu.pl należy skonfigurować system w następujący sposób: <br />"
9
- . "Adres powrotu błędnego: http://twojadomena.com/payupl/payment/error/sid/%sessionId%<br />"
10
- . "Adres powrotu pozytywnego: http://twojadomena.com/payupl/payment/ok/sid/%sessionId%<br />"
11
- . "Adres raportów: http://twojadomena.com/payupl/payment/online <br />"
12
- . "Kodowanie przesyłanych danych: UTF-8 <br />"
13
- . "W razie problemów prosimy o kontakt na adres e-mail magento@orba.pl.";
14
- $url = "http://orba.pl/magento-payupl/#konfiguracja-po-stronie-payupl";
15
-
16
- $message = Mage::getModel( 'adminnotification/inbox' );
17
- $message->setDateAdded( date( "c", time() ) );
18
-
19
- $message->setSeverity( Mage_AdminNotification_Model_Inbox::SEVERITY_NOTICE );
20
-
21
- $message->setTitle( $msg_title );
22
- $message->setDescription( $msg_desc );
23
- $message->setUrl( $url );
24
- $message->save();
25
-
26
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.4', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
27
-
28
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ $install_version = Mage::getConfig()->getNode('modules/Orba_Payupl/version');
6
+
7
+ $msg_title = "Moduł Orba Payu.pl został poprawnie upgrade'owany do wersji {$install_version}! Ważne: Przekonfiguruj system po stronie Payu.pl!";
8
+ $msg_desc = "Po stronie Payu.pl należy skonfigurować system w następujący sposób: <br />"
9
+ . "Adres powrotu błędnego: http://twojadomena.com/payupl/payment/error/sid/%sessionId%<br />"
10
+ . "Adres powrotu pozytywnego: http://twojadomena.com/payupl/payment/ok/sid/%sessionId%<br />"
11
+ . "Adres raportów: http://twojadomena.com/payupl/payment/online <br />"
12
+ . "Kodowanie przesyłanych danych: UTF-8 <br />"
13
+ . "W razie problemów prosimy o kontakt na adres e-mail magento@orba.pl.";
14
+ $url = "http://orba.pl/magento-payupl/#konfiguracja-po-stronie-payupl";
15
+
16
+ $message = Mage::getModel( 'adminnotification/inbox' );
17
+ $message->setDateAdded( date( "c", time() ) );
18
+
19
+ $message->setSeverity( Mage_AdminNotification_Model_Inbox::SEVERITY_NOTICE );
20
+
21
+ $message->setTitle( $msg_title );
22
+ $message->setDescription( $msg_desc );
23
+ $message->setUrl( $url );
24
+ $message->save();
25
+
26
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.4', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
27
+
28
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.3-0.1.4.php CHANGED
@@ -1,28 +1,28 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- $install_version = Mage::getConfig()->getNode('modules/Orba_Payupl/version');
6
-
7
- $msg_title = "Moduł Orba Payu.pl został poprawnie upgrade'owany do wersji {$install_version}! Ważne: Przekonfiguruj system po stronie Payu.pl!";
8
- $msg_desc = "Po stronie Payu.pl należy skonfigurować system w następujący sposób: <br />"
9
- . "Adres powrotu błędnego: http://twojadomena.com/payupl/payment/error/sid/%sessionId%<br />"
10
- . "Adres powrotu pozytywnego: http://twojadomena.com/payupl/payment/ok/sid/%sessionId%<br />"
11
- . "Adres raportów: http://twojadomena.com/payupl/payment/online <br />"
12
- . "Kodowanie przesyłanych danych: UTF-8 <br />"
13
- . "W razie problemów prosimy o kontakt na adres e-mail magento@orba.pl.";
14
- $url = "http://orba.pl/magento-payupl/#konfiguracja-po-stronie-payupl";
15
-
16
- $message = Mage::getModel( 'adminnotification/inbox' );
17
- $message->setDateAdded( date( "c", time() ) );
18
-
19
- $message->setSeverity( Mage_AdminNotification_Model_Inbox::SEVERITY_NOTICE );
20
-
21
- $message->setTitle( $msg_title );
22
- $message->setDescription( $msg_desc );
23
- $message->setUrl( $url );
24
- $message->save();
25
-
26
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.4', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
27
-
28
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ $install_version = Mage::getConfig()->getNode('modules/Orba_Payupl/version');
6
+
7
+ $msg_title = "Moduł Orba Payu.pl został poprawnie upgrade'owany do wersji {$install_version}! Ważne: Przekonfiguruj system po stronie Payu.pl!";
8
+ $msg_desc = "Po stronie Payu.pl należy skonfigurować system w następujący sposób: <br />"
9
+ . "Adres powrotu błędnego: http://twojadomena.com/payupl/payment/error/sid/%sessionId%<br />"
10
+ . "Adres powrotu pozytywnego: http://twojadomena.com/payupl/payment/ok/sid/%sessionId%<br />"
11
+ . "Adres raportów: http://twojadomena.com/payupl/payment/online <br />"
12
+ . "Kodowanie przesyłanych danych: UTF-8 <br />"
13
+ . "W razie problemów prosimy o kontakt na adres e-mail magento@orba.pl.";
14
+ $url = "http://orba.pl/magento-payupl/#konfiguracja-po-stronie-payupl";
15
+
16
+ $message = Mage::getModel( 'adminnotification/inbox' );
17
+ $message->setDateAdded( date( "c", time() ) );
18
+
19
+ $message->setSeverity( Mage_AdminNotification_Model_Inbox::SEVERITY_NOTICE );
20
+
21
+ $message->setTitle( $msg_title );
22
+ $message->setDescription( $msg_desc );
23
+ $message->setUrl( $url );
24
+ $message->save();
25
+
26
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.4', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
27
+
28
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.4-0.1.5.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.5', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
-
7
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.5', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
+
7
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.5-0.1.6.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.6', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
-
7
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.6', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
+
7
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.6-0.1.7.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.7', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
-
7
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.7', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
+
7
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.7-0.1.8.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.8', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
-
7
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.8', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
+
7
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.8-0.1.9.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.9', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
-
7
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.9', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']));
6
+
7
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.1.9-0.1.10.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.10', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']), "From: ".(Mage::getStoreConfig('general/store_information/email_address') ? Mage::getStoreConfig('general/store_information/email_address') : 'magento@orba.pl'));
6
-
7
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.1.10', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']), "From: ".(Mage::getStoreConfig('general/store_information/email_address') ? Mage::getStoreConfig('general/store_information/email_address') : 'magento@orba.pl'));
6
+
7
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.2.0-0.2.1.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.2.1', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']), "From: ".(Mage::getStoreConfig('general/store_information/email_address') ? Mage::getStoreConfig('general/store_information/email_address') : 'magento@orba.pl'));
6
-
7
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.2.1', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']), "From: ".(Mage::getStoreConfig('general/store_information/email_address') ? Mage::getStoreConfig('general/store_information/email_address') : 'magento@orba.pl'));
6
+
7
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.2.1-0.2.2.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.2.2', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']), "From: ".(Mage::getStoreConfig('general/store_information/email_address') ? Mage::getStoreConfig('general/store_information/email_address') : 'magento@orba.pl'));
6
-
7
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.2.2', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']), "From: ".(Mage::getStoreConfig('general/store_information/email_address') ? Mage::getStoreConfig('general/store_information/email_address') : 'magento@orba.pl'));
6
+
7
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.2.2-0.2.3.php CHANGED
@@ -1,7 +1,7 @@
1
- <?php
2
-
3
- $this->startSetup();
4
-
5
- @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.2.3', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']), "From: ".(Mage::getStoreConfig('general/store_information/email_address') ? Mage::getStoreConfig('general/store_information/email_address') : 'magento@orba.pl'));
6
-
7
  $this->endSetup();
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.2.3', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']), "From: ".(Mage::getStoreConfig('general/store_information/email_address') ? Mage::getStoreConfig('general/store_information/email_address') : 'magento@orba.pl'));
6
+
7
  $this->endSetup();
app/code/community/Orba/Payupl/sql/payupl_setup/mysql4-upgrade-0.2.3.1-0.2.4.php ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $this->startSetup();
4
+
5
+ @mail('magento@orba.pl', '[Upgrade] Payu.pl 0.2.4', "IP: ".$_SERVER['SERVER_ADDR']."\r\nHost: ".gethostbyaddr($_SERVER['SERVER_ADDR']), "From: ".(Mage::getStoreConfig('general/store_information/email_address') ? Mage::getStoreConfig('general/store_information/email_address') : 'magento@orba.pl'));
6
+
7
+ $this->endSetup();
app/design/frontend/base/default/layout/payupl.xml CHANGED
@@ -1,15 +1,15 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <layout version="0.1.0">
3
- <payupl_payment_new>
4
- <reference name="root">
5
- <action method="setTemplate"><template>payupl/empty.phtml</template></action>
6
- <block type="payupl/redirect" name="payupl_child" template="payupl/redirect.phtml" />
7
- </reference>
8
- </payupl_payment_new>
9
- <payupl_payment_online>
10
- <reference name="root">
11
- <action method="setTemplate"><template>payupl/empty.phtml</template></action>
12
- <block type="core/template" name="payupl_child" template="payupl/online.phtml" />
13
- </reference>
14
- </payupl_payment_online>
15
  </layout>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <layout version="0.1.0">
3
+ <payupl_payment_new>
4
+ <reference name="root">
5
+ <action method="setTemplate"><template>payupl/empty.phtml</template></action>
6
+ <block type="payupl/redirect" name="payupl_child" template="payupl/redirect.phtml" />
7
+ </reference>
8
+ </payupl_payment_new>
9
+ <payupl_payment_online>
10
+ <reference name="root">
11
+ <action method="setTemplate"><template>payupl/empty.phtml</template></action>
12
+ <block type="core/template" name="payupl_child" template="payupl/online.phtml" />
13
+ </reference>
14
+ </payupl_payment_online>
15
  </layout>
app/design/frontend/base/default/template/payupl/redirect.phtml CHANGED
@@ -1,4 +1,4 @@
1
- <html><body>
2
- <?php echo $this->getForm(); ?>
3
- <script type="text/javascript">document.getElementById("payupl_checkout").submit();</script>
4
  </body></html>
1
+ <html><body>
2
+ <?php echo $this->getForm(); ?>
3
+ <script type="text/javascript">document.getElementById("payupl_checkout").submit();</script>
4
  </body></html>
app/etc/modules/Orba_Payupl.xml CHANGED
@@ -1,12 +1,12 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <config>
3
- <modules>
4
- <Orba_Payupl>
5
- <active>true</active>
6
- <codePool>community</codePool>
7
- <depends>
8
- <Mage_Payment />
9
- </depends>
10
- </Orba_Payupl>
11
- </modules>
12
  </config>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Orba_Payupl>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ <depends>
8
+ <Mage_Payment />
9
+ </depends>
10
+ </Orba_Payupl>
11
+ </modules>
12
  </config>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Orba_Payupl</name>
4
- <version>0.2.3.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/academic.php">Academic Free License (AFL)</license>
7
  <channel>community</channel>
@@ -14,11 +14,11 @@ If you are interested in the paid version of our extension with additional featu
14
  Modu&#x142; dodaje do sklepu nowy spos&#xF3;b p&#x142;atno&#x15B;ci, kt&#xF3;ry daje klientom mo&#x17C;liwo&#x15B;&#x107; u&#x17C;ycia serwisu Payu.pl do dokonania zap&#x142;aty za zakupy.&#xD;
15
  Istnieje mo&#x17C;liwo&#x15B;&#x107; integracji zar&#xF3;wno kont produkcyjnych jak i tych typu "sandbox".&#xD;
16
  Je&#x15B;li jeste&#x15B; zainteresowany p&#x142;atn&#x105; wersj&#x105; naszego modu&#x142;u, kt&#xF3;ry zawiera dodatkowe funkcjonalno&#x15B;ci oraz pomoc technicz&#x105; w cenie, wy&#x15B;lij do nas wiadomo&#x15B;&#x107; e-mail na adres magento@orba.pl.</description>
17
- <notes>- repackaging</notes>
18
- <authors><author><name>ORBA</name><user>auto-converted</user><email>magento@orba.pl</email></author></authors>
19
- <date>2013-02-14</date>
20
- <time>09:42:27</time>
21
- <contents><target name="magecommunity"><dir name="Orba"><dir name="Payupl"><dir name="Block"><file name="Form.php" hash="0dcab12715372a78f007a4abde209413"/><file name="Redirect.php" hash="1a1dfa1fdd2e4d7c22ea8a0c98772313"/></dir><dir name="Helper"><file name="Data.php" hash="55d8258f52d07246e55042aa227655ae"/></dir><dir name="Model"><file name="Config.php" hash="3e933a833c5448bb641435a42a9aaa06"/><file name="Encoding.php" hash="9103c954ae61349db76a1c123696c602"/><file name="Gateway.php" hash="ecd8850333d941f66f41ad18cb91696a"/><file name="Payment.php" hash="1006e7a913c97d41abcf1af73dd6aa8b"/><file name="Session.php" hash="aad733c0d69beb14192e22415339343e"/></dir><dir name="controllers"><file name="IndexController.php" hash="2ee7e3bcd53c0eda0eb06f000cf23afb"/><file name="PaymentController.php" hash="669178780f3bee9f3a88975671f5748b"/></dir><dir name="etc"><file name="config.xml" hash="65a134d0da0297a4fb317fa6dcf2730f"/><file name="system.xml" hash="f6fdc6b0482aad1e28d1ba3d7b8ea84f"/></dir><dir name="sql"><dir name="payupl_setup"><file name="mysql4-install-0.1.0.php" hash="1c24d60e370bb07d601e02fcd1833c12"/><file name="mysql4-install-0.1.1.php" hash="8a734508ca8764fe397e8e98b2abda45"/><file name="mysql4-install-0.1.10.php" hash="59f3be8df67ac4eb1af1382b32f82d61"/><file name="mysql4-install-0.1.2.php" hash="212e958f7dcaca1209844703f1946b4e"/><file name="mysql4-install-0.1.3.php" hash="964592d00bb4cf8224ab5d2d73669d25"/><file name="mysql4-install-0.1.4.1.php" hash="0ad9b065639c15858c92dc443056d1c9"/><file name="mysql4-install-0.1.4.php" hash="0ad9b065639c15858c92dc443056d1c9"/><file name="mysql4-install-0.1.5.php" hash="af851501e249c0f711539724c129ef75"/><file name="mysql4-install-0.1.6.php" hash="86e34723c7192e7b3e63f9f6d6209140"/><file name="mysql4-install-0.1.7.php" hash="ef811c98a328f0c405435bb8d5baf2b3"/><file name="mysql4-install-0.1.8.php" hash="9f772cd5cbec3a46cd0b421ad482e965"/><file name="mysql4-install-0.1.9.php" hash="81a8706be704903850ed23ed63992b43"/><file name="mysql4-install-0.2.0.php" hash="008b767fc311dc1b4ac398a4fe3617da"/><file name="mysql4-install-0.2.1.php" hash="c84b836e0a171a74475c3e68419221c9"/><file name="mysql4-install-0.2.2.php" hash="acfff9b789376eeee001f1785def2156"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="6489810a00f175b7092ee1911ecd445a"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="6ac5c8851ecbf6d02b28e41e69ef6333"/><file name="mysql4-upgrade-0.1.10.1-0.2.0.php" hash="b841e126ebae169facd0fb77895164ec"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="3a6b72462611f26b3634588d6036e3f6"/><file name="mysql4-upgrade-0.1.3-0.1.4.1.php" hash="434df0ba3e565a5c9fcbf4697c3f616e"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="434df0ba3e565a5c9fcbf4697c3f616e"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="fc98e0f71e7dfa6e245aa9f4780f9ffd"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="35c607c4cc7eb567b35d835f571aae9c"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="884c9fd4ce6fc1f6c55005c50c003585"/><file name="mysql4-upgrade-0.1.7-0.1.8.php" hash="964aff66ba063a41b043de03d00c9a64"/><file name="mysql4-upgrade-0.1.8-0.1.9.php" hash="413667f250d057d1e3b8842e70a7c8c7"/><file name="mysql4-upgrade-0.1.9-0.1.10.php" hash="bb7a995e2321efa7f04ff1be6bdab5ad"/><file name="mysql4-upgrade-0.2.0-0.2.1.php" hash="1287922306e67edb45b76489be1b5951"/><file name="mysql4-upgrade-0.2.1-0.2.2.php" hash="9360b20bc3d1d3eeb172986ec4d8fae7"/><file name="mysql4-upgrade-0.2.2-0.2.3.php" hash="15d38754c906070eeff0190c273376b6"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="payupl.xml" hash="b84efca65a205b635d367c146f70dfa7"/></dir><dir name="template"><dir name="payupl"><file name="empty.phtml" hash="ed465deabe832b50373acb983787dac7"/><file name="form.phtml" hash="1924fced96f1f107ce02d2636f4e3671"/><file name="online.phtml" hash="cf1636fb4cfeeec6bd6c17e7da07456e"/><file name="redirect.phtml" hash="3743d39f9468fb22ee7f8ac54b343ae5"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Orba_Payupl.xml" hash="172c1f5e1e622b602af9667e90ae5d5c"/></dir></target><target name="magelocale"><dir name="pl_PL"><file name="Orba_Payupl.csv" hash="1565e9dc326bdab05183454689f5a531"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="payupl"><file name="logo.jpg" hash="fc75365ea69655f8b9e3e66d75dc8362"/></dir></dir></dir></dir></dir></target></contents>
22
  <compatible/>
23
- <dependencies/>
24
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Orba_Payupl</name>
4
+ <version>0.2.4</version>
5
  <stability>stable</stability>
6
  <license uri="http://www.opensource.org/licenses/academic.php">Academic Free License (AFL)</license>
7
  <channel>community</channel>
14
  Modu&#x142; dodaje do sklepu nowy spos&#xF3;b p&#x142;atno&#x15B;ci, kt&#xF3;ry daje klientom mo&#x17C;liwo&#x15B;&#x107; u&#x17C;ycia serwisu Payu.pl do dokonania zap&#x142;aty za zakupy.&#xD;
15
  Istnieje mo&#x17C;liwo&#x15B;&#x107; integracji zar&#xF3;wno kont produkcyjnych jak i tych typu "sandbox".&#xD;
16
  Je&#x15B;li jeste&#x15B; zainteresowany p&#x142;atn&#x105; wersj&#x105; naszego modu&#x142;u, kt&#xF3;ry zawiera dodatkowe funkcjonalno&#x15B;ci oraz pomoc technicz&#x105; w cenie, wy&#x15B;lij do nas wiadomo&#x15B;&#x107; e-mail na adres magento@orba.pl.</description>
17
+ <notes>- system.xml issue fixed</notes>
18
+ <authors><author><name>ORBA</name><user>orba</user><email>magento@orba.pl</email></author></authors>
19
+ <date>2014-11-28</date>
20
+ <time>13:03:51</time>
21
+ <contents><target name="magecommunity"><dir name="Orba"><dir name="Payupl"><dir name="Block"><file name="Form.php" hash="0dcab12715372a78f007a4abde209413"/><file name="Redirect.php" hash="1a1dfa1fdd2e4d7c22ea8a0c98772313"/></dir><dir name="Helper"><file name="Data.php" hash="55d8258f52d07246e55042aa227655ae"/></dir><dir name="Model"><file name="Config.php" hash="3e933a833c5448bb641435a42a9aaa06"/><file name="Encoding.php" hash="54e9e22bd447dcf581c3b00c84f6d693"/><file name="Gateway.php" hash="10f12edec745c038a1d5b6d06180692c"/><file name="Payment.php" hash="1006e7a913c97d41abcf1af73dd6aa8b"/><file name="Session.php" hash="aad733c0d69beb14192e22415339343e"/></dir><dir name="controllers"><file name="IndexController.php" hash="2ee7e3bcd53c0eda0eb06f000cf23afb"/><file name="PaymentController.php" hash="83191d42ec311b899cb93b8db3de134a"/></dir><dir name="etc"><file name="config.xml" hash="fc39acc767a81b0cae2aa5801dd80deb"/><file name="system.xml" hash="5f167eebe2529809465e654ffae869de"/></dir><dir name="sql"><dir name="payupl_setup"><file name="mysql4-install-0.1.0.php" hash="1c24d60e370bb07d601e02fcd1833c12"/><file name="mysql4-install-0.1.1.php" hash="8a734508ca8764fe397e8e98b2abda45"/><file name="mysql4-install-0.1.10.php" hash="59f3be8df67ac4eb1af1382b32f82d61"/><file name="mysql4-install-0.1.2.php" hash="212e958f7dcaca1209844703f1946b4e"/><file name="mysql4-install-0.1.3.php" hash="964592d00bb4cf8224ab5d2d73669d25"/><file name="mysql4-install-0.1.4.1.php" hash="0ad9b065639c15858c92dc443056d1c9"/><file name="mysql4-install-0.1.4.php" hash="0ad9b065639c15858c92dc443056d1c9"/><file name="mysql4-install-0.1.5.php" hash="af851501e249c0f711539724c129ef75"/><file name="mysql4-install-0.1.6.php" hash="86e34723c7192e7b3e63f9f6d6209140"/><file name="mysql4-install-0.1.7.php" hash="ef811c98a328f0c405435bb8d5baf2b3"/><file name="mysql4-install-0.1.8.php" hash="9f772cd5cbec3a46cd0b421ad482e965"/><file name="mysql4-install-0.1.9.php" hash="81a8706be704903850ed23ed63992b43"/><file name="mysql4-install-0.2.0.php" hash="008b767fc311dc1b4ac398a4fe3617da"/><file name="mysql4-install-0.2.1.php" hash="c84b836e0a171a74475c3e68419221c9"/><file name="mysql4-install-0.2.2.php" hash="acfff9b789376eeee001f1785def2156"/><file name="mysql4-upgrade-0.1.0-0.1.1.php" hash="a5d9fc9d94f987f268c7b8246fcfd2b1"/><file name="mysql4-upgrade-0.1.1-0.1.2.php" hash="f1af4499aecb9280a23c73d98f860394"/><file name="mysql4-upgrade-0.1.10.1-0.2.0.php" hash="162f980728001e13b060b93d6b7007fd"/><file name="mysql4-upgrade-0.1.2-0.1.3.php" hash="6e517684413036f0420a48d8524a74e9"/><file name="mysql4-upgrade-0.1.3-0.1.4.1.php" hash="6a25a80a12e295abd83f4ce19a408c95"/><file name="mysql4-upgrade-0.1.3-0.1.4.php" hash="6a25a80a12e295abd83f4ce19a408c95"/><file name="mysql4-upgrade-0.1.4-0.1.5.php" hash="5a6e25ac859b99b1abbeeb8f71ca5acc"/><file name="mysql4-upgrade-0.1.5-0.1.6.php" hash="679f29891e5dfb59dff039926a58abf1"/><file name="mysql4-upgrade-0.1.6-0.1.7.php" hash="9673754430b1c8479b5f7472dfa85a0b"/><file name="mysql4-upgrade-0.1.7-0.1.8.php" hash="74939b2e76798c32b5c2893dccbbfa40"/><file name="mysql4-upgrade-0.1.8-0.1.9.php" hash="0d8819335f562e651c5b8ee4235a9cfb"/><file name="mysql4-upgrade-0.1.9-0.1.10.php" hash="24c14abbcaaeb35abee2535235d4c97d"/><file name="mysql4-upgrade-0.2.0-0.2.1.php" hash="47b9ce56d9cc39db3b17fa51033bce22"/><file name="mysql4-upgrade-0.2.1-0.2.2.php" hash="8ed509924a148aec16e761e352619d58"/><file name="mysql4-upgrade-0.2.2-0.2.3.php" hash="7344d966b7ebc86cef5dc94e715ef426"/><file name="mysql4-upgrade-0.2.3.1-0.2.4.php" hash="7a38b316c2745a076b0c870b648dddc6"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="payupl.xml" hash="ee56ac84a7b72fdfaa0dbd4bc31a2fcc"/></dir><dir name="template"><dir name="payupl"><file name="empty.phtml" hash="ed465deabe832b50373acb983787dac7"/><file name="form.phtml" hash="1924fced96f1f107ce02d2636f4e3671"/><file name="online.phtml" hash="cf1636fb4cfeeec6bd6c17e7da07456e"/><file name="redirect.phtml" hash="e3c9e028dba4a49e410b5ed99cc3e0f0"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Orba_Payupl.xml" hash="59211173152eb267325c65e2498faa01"/></dir></target><target name="magelocale"><dir name="pl_PL"><file name="Orba_Payupl.csv" hash="1565e9dc326bdab05183454689f5a531"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="images"><dir name="payupl"><file name="logo.jpg" hash="fc75365ea69655f8b9e3e66d75dc8362"/></dir></dir></dir></dir></dir></target></contents>
22
  <compatible/>
23
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
24
  </package>