Compropago_Payment_Extension - Version 2.1.3.1

Version Notes

* add trasact tables

Download this release

Release Info

Developer Eduardo Aguilar
Extension Compropago_Payment_Extension
Version 2.1.3.1
Comparing to
See all releases


Code changes from version 2.1.3 to 2.1.3.1

lib/Compropago/vendor/compropago/php-sdk/CompropagoSdk/Extern/TransactTables.php ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace CompropagoSdk\Extern;
3
+ class TransactTables
4
+ {
5
+ /**
6
+ * SQL query for Droping ComproPago Tables
7
+ * @return string[]
8
+ * @since 1.0.2
9
+ */
10
+ public static function sqlDropTables($prefix=null)
11
+ {
12
+ return array(
13
+ 'DROP TABLE IF EXISTS `' . $prefix . 'compropago_orders`;',
14
+ 'DROP TABLE IF EXISTS `' . $prefix . 'compropago_transactions`;',
15
+ 'DROP TABLE IF EXISTS `' . $prefix . 'compropago_webhook_transactions`'
16
+ );
17
+ }
18
+ /**
19
+ * SQL query for Creating ComproPago Tables
20
+ * @return string[]
21
+ * @since 1.0.2
22
+ */
23
+ public static function sqlCreateTables($prefix=null)
24
+ {
25
+ return array(
26
+ 'CREATE TABLE `' . $prefix . 'compropago_orders` (
27
+ `id` int(11) NOT NULL AUTO_INCREMENT,
28
+ `date` int(11) NOT NULL,
29
+ `modified` int(11) NOT NULL,
30
+ `compropagoId` varchar(50) NOT NULL,
31
+ `compropagoStatus`varchar(50) NOT NULL,
32
+ `storeCartId` varchar(255) NOT NULL,
33
+ `storeOrderId` varchar(255) NOT NULL,
34
+ `storeExtra` varchar(255) NOT NULL,
35
+ `ioIn` mediumtext,
36
+ `ioOut` mediumtext,
37
+ PRIMARY KEY (`id`), UNIQUE KEY (`compropagoId`)
38
+ )ENGINE=MyISAM DEFAULT CHARSET=utf8 DEFAULT COLLATE utf8_general_ci AUTO_INCREMENT=1 ;',
39
+ 'CREATE TABLE `' . $prefix . 'compropago_transactions` (
40
+ `id` int(11) NOT NULL AUTO_INCREMENT,
41
+ `orderId` int(11) NOT NULL,
42
+ `date` int(11) NOT NULL,
43
+ `compropagoId` varchar(50) NOT NULL,
44
+ `compropagoStatus` varchar(50) NOT NULL,
45
+ `compropagoStatusLast` varchar(50) NOT NULL,
46
+ `ioIn` mediumtext,
47
+ `ioOut` mediumtext,
48
+ PRIMARY KEY (`id`)
49
+ )ENGINE=MyISAM DEFAULT CHARSET=utf8 DEFAULT COLLATE utf8_general_ci AUTO_INCREMENT=1 ;',
50
+ 'CREATE TABLE `' . $prefix . 'compropago_webhook_transactions` (
51
+ `id` integer not null auto_increment,
52
+ `webhookId` varchar(50) not null,
53
+ `updated` integer not null,
54
+ `status` varchar(50) not null,
55
+ `url` text not null,
56
+ primary key(id)
57
+ )ENGINE=MyISAM DEFAULT CHARSET=utf8 DEFAULT COLLATE utf8_general_ci AUTO_INCREMENT=1 ;'
58
+ );
59
+ }
60
+ }
package.xml CHANGED
@@ -1,18 +1,18 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Compropago_Payment_Extension</name>
4
- <version>2.1.3</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Precision algorithm</summary>
10
  <description>* precision algorithm</description>
11
- <notes>* update sdk and structure view cash</notes>
12
  <authors><author><name>Eduardo Aguilar</name><user>danetay</user><email>eduardo.aguilar@compropago.com</email></author></authors>
13
  <date>2017-05-09</date>
14
- <time>01:03:45</time>
15
- <contents><target name="mageetc"><dir name="modules"><file name="Compropago_CpPayment.xml" hash="39b519aeecb171cb993e0ee4e064f29a"/></dir></target><target name="magecommunity"><dir name="Compropago"><dir name="CpPayment"><dir name="Block"><file name="Form.php" hash="fedfa50d8860395445eec7e4def4df7d"/><file name="Info.php" hash="d34706306b26afc91b7b0190edbe73a0"/></dir><dir name="Helper"><file name="Data.php" hash="0ae647f79d66d82cc976408c120fcbb6"/></dir><dir name="Model"><file name="Observer.php" hash="240cb5799b8ed42ff62f7f43e14c648f"/><file name="Providers.php" hash="9574ca518ea2ed5e3dbf07f567285257"/><file name="Standard.php" hash="3c955cc65d0148c5da8ceaf5ab3ba4e1"/></dir><dir name="controllers"><file name="IndexController.php" hash="296a30fd79631eee84865c413eba88d4"/></dir><dir name="etc"><file name="config.xml" hash="a98afd06c64fd3ace95957eabe6f29f5"/><file name="system.xml" hash="ac98ab636f0bbc3bbd21aa5fbad11968"/></dir><dir name="sql"><dir name="cppayment_setup"><file name="install-2.0.0.php" hash="3a1215b9adb72418e27ee6fffd604d73"/><file name="install-2.1.0.php" hash="3a1215b9adb72418e27ee6fffd604d73"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="compropago"><dir name="cppayment"><file name="info.phtml" hash="cef0629238404e0441a56af1d072ba82"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cppayment.xml" hash="aadfc4eed58b61274c257d022363e0bb"/></dir><dir name="template"><dir name="compropago"><dir name="cppayment"><file name="cash.phtml" hash="de176c62ad0fa768d711d397997b0222"/><file name="info.phtml" hash="717385b1db73eed01c81e64e8dafb0a6"/><file name="mark.phtml" hash="4eb1668734994184ea2a2f10c9bf8e13"/><file name="success.phtml" hash="1292183b370d80bddf50b67b9b8f13f0"/><file name=".DS_Store" hash="6d26a77bb0aa1f0b0471ffbeb4126011"/></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="compropago"><file name="compropago.js" hash="375309f8d2baa5727be0ae5c39cb4e18"/></dir></dir></target><target name="magelib"><dir name="Compropago"><file name="composer.json" hash="bf6638c9ddfed8bcdb7596a5e64d1aca"/><file name="composer.lock" hash="5cbcd1c6f450e00f9f3990b1a57512bc"/><dir name="vendor"><file name="autoload.php" hash="8570695b211c779dba07dd6a2c07be3b"/><dir name="composer"><file name="ClassLoader.php" hash="292c079dbe63ba06bfbf37fd99fe4bf9"/><file name="LICENSE" hash="955d5fe58c231244f6b49000f383b5e2"/><file name="autoload_classmap.php" hash="8645d3a4e3ad87e7cf4d88a46717aab4"/><file name="autoload_namespaces.php" hash="35e12c7d76c4a81633bcf547c0e229a9"/><file name="autoload_psr4.php" hash="94c7252625076c04000283666cfd7cc0"/><file name="autoload_real.php" hash="246736bc78177bb6b76761ca8d555228"/><file name="autoload_static.php" hash="173ab2ec0d562e1e540c4374bd6f23c2"/><file name="installed.json" hash="b19c48ccd093e2314e0c858427bddf57"/></dir><dir name="compropago"><dir name="php-sdk"><file name="CHANGELOG.md" hash="bbaebfede967523edfa97b0afc17e6c9"/><dir name="CompropagoSdk"><file name="Client.php" hash="cf60f6e91a84edea5ac91aec1ab53c1a"/><dir name="Factory"><file name="Factory.php" hash="eb741f422a6abc7731787abba202d776"/><dir name="Models"><file name="CpOrderInfo.php" hash="5913e6adaf32b974f6048ececb0b64cc"/><file name="Customer.php" hash="063820ab5593af6ca1f5651faefd1f7d"/><file name="EvalAuthInfo.php" hash="f20efd78c8444de1319ffcdff6fe17a6"/><file name="Exchange.php" hash="6ea4dff1aa9686a68580c370926b9bad"/><file name="FeeDetails.php" hash="abb7dd814c9406c8b3c3140b49603594"/><file name="InstructionDetails.php" hash="f62a708998cb78b5fadf3ba06c7ff499"/><file name="Instructions.php" hash="d791bb0c351ba5527d2c42052d264d49"/><file name="NewOrderInfo.php" hash="5cba9b129567b0e8430f7a2de845e526"/><file name="OrderInfo.php" hash="1a8331117aff23655230a1e483271ea2"/><file name="PlaceOrderInfo.php" hash="06595becd9475ddde9a8a23e265ad4b9"/><file name="Provider.php" hash="3d337431ed60cded52053b120bd793a2"/><file name="SmsData.php" hash="79485fd7121b5220df4ccc913fe1e8d2"/><file name="SmsInfo.php" hash="53b5d46bc67e9ff9e3e0fb6154bd5b12"/><file name="SmsObject.php" hash="ac4a5eb8cf4c22850e89491544b4506d"/><file name="Webhook.php" hash="8e8f101d6ffe2493e3bdfc4cd2290bec"/></dir><file name="Serialize.php" hash="8a1f74cae3320226d780a8b3430e0f28"/></dir><file name="Service.php" hash="87b4876585388117be9afadd18698b9b"/><dir name="Tools"><file name="Http.php" hash="ae5f0911464eedbb3708d26a8ee04fcf"/><file name="Request.php" hash="6f1942e3fae6fc6ca9821b7c693e35d9"/><file name="Validations.php" hash="db3d42e0abc7855012c52126c69d67ff"/><file name="cacerts.pem" hash="a527b93e71b94759d99643641ff3b531"/></dir><dir name="UnitTest"><file name="Test.php" hash="c7d75c6edbedadc836e3ffb935f976ea"/><file name="autoload.php" hash="8d0f9e165df15f4e81541e976af3d0f1"/></dir></dir><file name="LICENSE" hash="abac77493634e3d1c15493847c602b03"/><file name="README.md" hash="76d5706abf649fca25eeecc698605a1e"/><file name="composer.json" hash="495a25c62fd7a965ce220d473cb6ce5c"/><file name=".gitignore" hash="34ac7e14eb103b0316bf4efc1ddb8bc0"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="cppayment"><file name="compropago-logo.png" hash="2a3e98095b5c9df0669b7dc70f0682cd"/><file name="gitmerge.gif" hash="31c57faf2960d93d98e9d39bd71df00b"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="compropago"><file name="compropago.css" hash="e01dfd782c15525a4acbe59c3ab241d5"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.4.0</min><max>8.0.0</max></php></required></dependencies>
18
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>Compropago_Payment_Extension</name>
4
+ <version>2.1.3.1</version>
5
  <stability>stable</stability>
6
  <license uri="http://opensource.org/licenses/osl-3.0.php">OSL v3.0</license>
7
  <channel>community</channel>
8
  <extends/>
9
  <summary>Precision algorithm</summary>
10
  <description>* precision algorithm</description>
11
+ <notes>* add trasact tables </notes>
12
  <authors><author><name>Eduardo Aguilar</name><user>danetay</user><email>eduardo.aguilar@compropago.com</email></author></authors>
13
  <date>2017-05-09</date>
14
+ <time>01:19:01</time>
15
+ <contents><target name="mageetc"><dir name="modules"><file name="Compropago_CpPayment.xml" hash="39b519aeecb171cb993e0ee4e064f29a"/></dir></target><target name="magecommunity"><dir name="Compropago"><dir name="CpPayment"><dir name="Block"><file name="Form.php" hash="fedfa50d8860395445eec7e4def4df7d"/><file name="Info.php" hash="d34706306b26afc91b7b0190edbe73a0"/></dir><dir name="Helper"><file name="Data.php" hash="0ae647f79d66d82cc976408c120fcbb6"/></dir><dir name="Model"><file name="Observer.php" hash="240cb5799b8ed42ff62f7f43e14c648f"/><file name="Providers.php" hash="9574ca518ea2ed5e3dbf07f567285257"/><file name="Standard.php" hash="3c955cc65d0148c5da8ceaf5ab3ba4e1"/></dir><dir name="controllers"><file name="IndexController.php" hash="296a30fd79631eee84865c413eba88d4"/></dir><dir name="etc"><file name="config.xml" hash="a98afd06c64fd3ace95957eabe6f29f5"/><file name="system.xml" hash="ac98ab636f0bbc3bbd21aa5fbad11968"/></dir><dir name="sql"><dir name="cppayment_setup"><file name="install-2.0.0.php" hash="3a1215b9adb72418e27ee6fffd604d73"/><file name="install-2.1.0.php" hash="3a1215b9adb72418e27ee6fffd604d73"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="template"><dir name="compropago"><dir name="cppayment"><file name="info.phtml" hash="cef0629238404e0441a56af1d072ba82"/></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="cppayment.xml" hash="aadfc4eed58b61274c257d022363e0bb"/></dir><dir name="template"><dir name="compropago"><dir name="cppayment"><file name="cash.phtml" hash="de176c62ad0fa768d711d397997b0222"/><file name="info.phtml" hash="717385b1db73eed01c81e64e8dafb0a6"/><file name="mark.phtml" hash="4eb1668734994184ea2a2f10c9bf8e13"/><file name="success.phtml" hash="1292183b370d80bddf50b67b9b8f13f0"/><file name=".DS_Store" hash="6d26a77bb0aa1f0b0471ffbeb4126011"/></dir></dir></dir></dir></dir></dir></target><target name="mage"><dir name="js"><dir name="compropago"><file name="compropago.js" hash="375309f8d2baa5727be0ae5c39cb4e18"/></dir></dir></target><target name="magelib"><dir name="Compropago"><file name="composer.json" hash="bf6638c9ddfed8bcdb7596a5e64d1aca"/><file name="composer.lock" hash="5cbcd1c6f450e00f9f3990b1a57512bc"/><dir name="vendor"><file name="autoload.php" hash="8570695b211c779dba07dd6a2c07be3b"/><dir name="composer"><file name="ClassLoader.php" hash="292c079dbe63ba06bfbf37fd99fe4bf9"/><file name="LICENSE" hash="955d5fe58c231244f6b49000f383b5e2"/><file name="autoload_classmap.php" hash="8645d3a4e3ad87e7cf4d88a46717aab4"/><file name="autoload_namespaces.php" hash="35e12c7d76c4a81633bcf547c0e229a9"/><file name="autoload_psr4.php" hash="94c7252625076c04000283666cfd7cc0"/><file name="autoload_real.php" hash="246736bc78177bb6b76761ca8d555228"/><file name="autoload_static.php" hash="173ab2ec0d562e1e540c4374bd6f23c2"/><file name="installed.json" hash="b19c48ccd093e2314e0c858427bddf57"/></dir><dir name="compropago"><dir name="php-sdk"><file name="CHANGELOG.md" hash="bbaebfede967523edfa97b0afc17e6c9"/><dir name="CompropagoSdk"><file name="Client.php" hash="cf60f6e91a84edea5ac91aec1ab53c1a"/><dir name="Extern"><file name="TransactTables.php" hash="e54c26edf1db08fbbf51b799aa5ccbf6"/></dir><dir name="Factory"><file name="Factory.php" hash="eb741f422a6abc7731787abba202d776"/><dir name="Models"><file name="CpOrderInfo.php" hash="5913e6adaf32b974f6048ececb0b64cc"/><file name="Customer.php" hash="063820ab5593af6ca1f5651faefd1f7d"/><file name="EvalAuthInfo.php" hash="f20efd78c8444de1319ffcdff6fe17a6"/><file name="Exchange.php" hash="6ea4dff1aa9686a68580c370926b9bad"/><file name="FeeDetails.php" hash="abb7dd814c9406c8b3c3140b49603594"/><file name="InstructionDetails.php" hash="f62a708998cb78b5fadf3ba06c7ff499"/><file name="Instructions.php" hash="d791bb0c351ba5527d2c42052d264d49"/><file name="NewOrderInfo.php" hash="5cba9b129567b0e8430f7a2de845e526"/><file name="OrderInfo.php" hash="1a8331117aff23655230a1e483271ea2"/><file name="PlaceOrderInfo.php" hash="06595becd9475ddde9a8a23e265ad4b9"/><file name="Provider.php" hash="3d337431ed60cded52053b120bd793a2"/><file name="SmsData.php" hash="79485fd7121b5220df4ccc913fe1e8d2"/><file name="SmsInfo.php" hash="53b5d46bc67e9ff9e3e0fb6154bd5b12"/><file name="SmsObject.php" hash="ac4a5eb8cf4c22850e89491544b4506d"/><file name="Webhook.php" hash="8e8f101d6ffe2493e3bdfc4cd2290bec"/></dir><file name="Serialize.php" hash="8a1f74cae3320226d780a8b3430e0f28"/></dir><file name="Service.php" hash="87b4876585388117be9afadd18698b9b"/><dir name="Tools"><file name="Http.php" hash="ae5f0911464eedbb3708d26a8ee04fcf"/><file name="Request.php" hash="6f1942e3fae6fc6ca9821b7c693e35d9"/><file name="Validations.php" hash="db3d42e0abc7855012c52126c69d67ff"/><file name="cacerts.pem" hash="a527b93e71b94759d99643641ff3b531"/></dir><dir name="UnitTest"><file name="Test.php" hash="c7d75c6edbedadc836e3ffb935f976ea"/><file name="autoload.php" hash="8d0f9e165df15f4e81541e976af3d0f1"/></dir></dir><file name="LICENSE" hash="abac77493634e3d1c15493847c602b03"/><file name="README.md" hash="76d5706abf649fca25eeecc698605a1e"/><file name="composer.json" hash="495a25c62fd7a965ce220d473cb6ce5c"/><file name=".gitignore" hash="34ac7e14eb103b0316bf4efc1ddb8bc0"/></dir></dir></dir></dir></target><target name="magemedia"><dir name="cppayment"><file name="compropago-logo.png" hash="2a3e98095b5c9df0669b7dc70f0682cd"/><file name="gitmerge.gif" hash="31c57faf2960d93d98e9d39bd71df00b"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="base"><dir name="default"><dir name="compropago"><file name="compropago.css" hash="e01dfd782c15525a4acbe59c3ab241d5"/></dir></dir></dir></dir></target></contents>
16
  <compatible/>
17
  <dependencies><required><php><min>5.4.0</min><max>8.0.0</max></php></required></dependencies>
18
  </package>