Version Notes
Async Mode as mandatory.
Download this release
Release Info
Developer | ClearSale Dev Team |
Extension | ClearSale_Total |
Version | 1.1.4 |
Comparing to | |
See all releases |
Code changes from version 1.1.3 to 1.1.4
app/code/community/Clearsale/Total/Model/Authorizenet.php
CHANGED
@@ -4,10 +4,11 @@ class Clearsale_Total_Model_Authorizenet extends Mage_Paygate_Model_Authorizenet
|
|
4 |
{
|
5 |
protected function _registercard(varien_object $response, mage_sales_model_order_payment $payment)
|
6 |
{
|
|
|
7 |
try
|
8 |
{
|
9 |
|
10 |
-
|
11 |
$csLog->log("CreditCard Information");
|
12 |
|
13 |
$cardInfo = parent::_registercard($response,$payment);
|
4 |
{
|
5 |
protected function _registercard(varien_object $response, mage_sales_model_order_payment $payment)
|
6 |
{
|
7 |
+
$csLog = Mage::getSingleton('total/log');
|
8 |
try
|
9 |
{
|
10 |
|
11 |
+
|
12 |
$csLog->log("CreditCard Information");
|
13 |
|
14 |
$cardInfo = parent::_registercard($response,$payment);
|
app/code/community/Clearsale/Total/Model/Observer.php
CHANGED
@@ -206,20 +206,16 @@ class Clearsale_Total_Model_Observer
|
|
206 |
$clearsaleOrder->Payments[$paymentIndex]->Type = 1;
|
207 |
|
208 |
if($payment->getAdditionalInformation('clearsaleCCAvs'))
|
209 |
-
{
|
210 |
-
$clearsaleOrder->CustomFields = array();
|
211 |
-
|
212 |
//AVS
|
213 |
-
$clearsaleOrder->
|
214 |
-
$clearsaleOrder->Customfields[0]->
|
215 |
-
$clearsaleOrder->Customfields[0]->
|
216 |
-
$clearsaleOrder->Customfields[0]->Value = $payment->getAdditionalInformation('clearsaleCCBin');
|
217 |
|
218 |
-
//Credicard Response Code
|
219 |
-
$clearsaleOrder->
|
220 |
-
$clearsaleOrder->Customfields[1]->
|
221 |
-
$clearsaleOrder->Customfields[1]->
|
222 |
-
$clearsaleOrder->Customfields[1]->Value = $payment->getAdditionalInformation('clearsaleCCBin');
|
223 |
}
|
224 |
}
|
225 |
|
206 |
$clearsaleOrder->Payments[$paymentIndex]->Type = 1;
|
207 |
|
208 |
if($payment->getAdditionalInformation('clearsaleCCAvs'))
|
209 |
+
{
|
|
|
|
|
210 |
//AVS
|
211 |
+
$clearsaleOrder->Customfields[0]->Type = 1;
|
212 |
+
$clearsaleOrder->Customfields[0]->Name = 'AVS_RESPONSE';
|
213 |
+
$clearsaleOrder->Customfields[0]->Value = $payment->getAdditionalInformation('clearsaleCCAvs');
|
|
|
214 |
|
215 |
+
//Credicard Response Code
|
216 |
+
$clearsaleOrder->Customfields[1]->Type = 1;
|
217 |
+
$clearsaleOrder->Customfields[1]->Name = 'CC_RESPONSE';
|
218 |
+
$clearsaleOrder->Customfields[1]->Value = $payment->getAdditionalInformation('clearsaleCCResponseCode');
|
|
|
219 |
}
|
220 |
}
|
221 |
|
app/code/community/Clearsale/Total/etc/system.xml
CHANGED
@@ -50,7 +50,7 @@
|
|
50 |
</clientid>
|
51 |
<clientsecret>
|
52 |
<label>Client Secret:</label>
|
53 |
-
<frontend_type>
|
54 |
<sort_order>4</sort_order>
|
55 |
<show_in_default>1</show_in_default>
|
56 |
<show_in_website>1</show_in_website>
|
50 |
</clientid>
|
51 |
<clientsecret>
|
52 |
<label>Client Secret:</label>
|
53 |
+
<frontend_type>text</frontend_type>
|
54 |
<sort_order>4</sort_order>
|
55 |
<show_in_default>1</show_in_default>
|
56 |
<show_in_website>1</show_in_website>
|
package.xml
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ClearSale_Total</name>
|
4 |
-
<version>1.1.
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
@@ -17,8 +17,8 @@ More than offering tools, Clearsale is always looking for the optimum balance be
|
|
17 |
</notes>
|
18 |
<authors><author><name>ClearSale Dev Team</name><user>clearsale_dev</user><email>support@clear.sale</email></author></authors>
|
19 |
<date>2016-12-21</date>
|
20 |
-
<time>
|
21 |
-
<contents><target name="magecommunity"><dir name="Clearsale"><dir name="Total"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="View.php" hash="92bdbfdd90c3b7e1040252bf15950dd1"/><file name="testimonial.txt" hash="c3e091a20252d989f80da96ffecd74ae"/></dir></dir><file name="Totalbackend.php" hash="8bb5082623943fa6686af41de4f25119"/></dir></dir><dir name="Helper"><file name="Data.php" hash="e2372ddf1f40626c1b85549d78f3eed2"/></dir><dir name="Model"><dir name="Auth"><dir name="Business"><file name="Object.php" hash="a75e924d9fde7432a39a87483799ded3"/></dir><dir name="Entity"><file name="Credentials.php" hash="a0c74f0eb00025a4fa0ea1a5632cff25"/><file name="RequestAuth.php" hash="3b07965ef09be73b7ad672b97efb2a82"/><file name="ResponseAuth.php" hash="d4236e408c52abc32b19b90c2ae9ed67"/><file name="Token.php" hash="ab6b05a2b1bafe66bf42ef1c68a74008"/></dir></dir><file name="Authorizenet.php" hash="
|
22 |
<compatible/>
|
23 |
<dependencies><required><php><min>4.4.1</min><max>5.6.13</max></php></required></dependencies>
|
24 |
</package>
|
1 |
<?xml version="1.0"?>
|
2 |
<package>
|
3 |
<name>ClearSale_Total</name>
|
4 |
+
<version>1.1.4</version>
|
5 |
<stability>stable</stability>
|
6 |
<license>OSL</license>
|
7 |
<channel>community</channel>
|
17 |
</notes>
|
18 |
<authors><author><name>ClearSale Dev Team</name><user>clearsale_dev</user><email>support@clear.sale</email></author></authors>
|
19 |
<date>2016-12-21</date>
|
20 |
+
<time>21:21:54</time>
|
21 |
+
<contents><target name="magecommunity"><dir name="Clearsale"><dir name="Total"><dir name="Block"><dir name="Adminhtml"><dir name="Sales"><dir name="Order"><file name="View.php" hash="92bdbfdd90c3b7e1040252bf15950dd1"/><file name="testimonial.txt" hash="c3e091a20252d989f80da96ffecd74ae"/></dir></dir><file name="Totalbackend.php" hash="8bb5082623943fa6686af41de4f25119"/></dir></dir><dir name="Helper"><file name="Data.php" hash="e2372ddf1f40626c1b85549d78f3eed2"/></dir><dir name="Model"><dir name="Auth"><dir name="Business"><file name="Object.php" hash="a75e924d9fde7432a39a87483799ded3"/></dir><dir name="Entity"><file name="Credentials.php" hash="a0c74f0eb00025a4fa0ea1a5632cff25"/><file name="RequestAuth.php" hash="3b07965ef09be73b7ad672b97efb2a82"/><file name="ResponseAuth.php" hash="d4236e408c52abc32b19b90c2ae9ed67"/><file name="Token.php" hash="ab6b05a2b1bafe66bf42ef1c68a74008"/></dir></dir><file name="Authorizenet.php" hash="655a5332b349a0a10c8edfcbaaffdf40"/><dir name="Gateway"><file name="Authorizenet.php" hash="5facb6fd677fde085625bb510dab13e1"/></dir><file name="Log.php" hash="4ef1d30b39450a84919284b093b3f9b8"/><dir name="Mysql4"><dir name="Clearsaleorderdiagnostic"><file name="Collection.php" hash="5ecea4a48d5eb3b2bcd7cc413b40c9e9"/></dir><file name="Clearsaleorderdiagnostic.php" hash="cd81082bccda08a7f5725f24dc56fb19"/></dir><file name="Observer.php" hash="5563962f9c65aecc147d5a008ae7da65"/><dir name="Order"><dir name="Business"><file name="Object.php" hash="31fb1bed92a1169a48370efaf23e8095"/></dir><dir name="Entity"><file name="Address.php" hash="75efca7d3a5b595aeca5171ba944f15c"/><file name="CustomField.php" hash="bfbe2c97fa78575a887d470d864dd723"/><file name="Diagnostic.php" hash="d96e05ff7fad3f619418b30729bec133"/><file name="Item.php" hash="9fe1b333deb3c7651c33e8ea0a769352"/><file name="Order.php" hash="74d8d917208014ad32c0ec22c8bd5874"/><file name="Payment.php" hash="f76c5abf01a17350fb10d06ac5b8e451"/><file name="Person.php" hash="19492db5e1a66cdff3a3725712dd55ff"/><file name="Phone.php" hash="9a47b48b2915685ea978e0d44c732dfc"/><file name="ResponseOrder.php" hash="78f0fa0225acccd8bae760576f2b584c"/><file name="Status.php" hash="de2201c06c9109ba28ae37eea9cc5a98"/></dir></dir><dir name="System"><dir name="Config"><dir name="Source"><dir name="Analysislocation"><file name="Values.php" hash="2bea7b2d240748262997c5255147dc43"/></dir><dir name="Cron"><file name="Values.php" hash="0039f5f91e8b31e46197cfc91f1db96f"/></dir><dir name="Environment"><file name="Values.php" hash="d2716bd93c212bb1717d7951a552eff3"/></dir><dir name="OrderStatus"><file name="Values.php" hash="2bff6581aa0320b3067b6914b86ac0f2"/></dir><dir name="Paymentmethod"><file name="Values.php" hash="00023fd6ebb78fc692cfe5f4d8757257"/></dir></dir></dir></dir><dir name="Utils"><file name="HttpHelper.php" hash="c1035d3caa764ff7a8b74fefc7a85440"/><file name="HttpMessage.php" hash="81a7aab4bf241d7e9838a8edacf772e9"/><file name="Status.php" hash="14afbf39cdec95fe1e3707455a85735f"/></dir><file name="app - Atalho.lnk" hash="4604eb44c9c8fdb3fc6e3f82ab86eb21"/></dir><dir name="controllers"><dir name="Adminhtml"><file name="TotalbackendController.php" hash="246df39ec4bc19f9a65f57d6f4d5ff20"/></dir><file name="IndexController.php" hash="dd6c505031b4278d6a57179d7245d217"/><dir name="Integration"><file name="IndexController.php" hash="8eb2f144d0eaa9bef40e476f9c28c311"/></dir></dir><dir name="etc"><file name="config.xml" hash="581049b83e4e6159493c3d1ebe12afde"/><file name="system.xml" hash="b7ed2fed790c92e4b4d1566a1c5e00d8"/></dir><dir name="sql"><dir name="total_setup"><file name="mysql4-install-1.0.1.php" hash="dc54c04d5b5f2f7715a24dbca414dcac"/><file name="mysql4-install-1.1.3.php" hash="9c252bf70ba58fa5cb9766b036dba693"/><file name="mysql4-upgrade-1.0.3-1.1.0.php" hash="e4e7907b576eb2543e2ee9078e4927d4"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="total.xml" hash="b20fb23ff3df99b69874c8b6513b148f"/></dir><dir name="template"><dir name="total"><file name="totalbackend.phtml" hash="38c275932ab4a801ade0572d16b3ca0c"/></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="total.xml" hash="1677f62474494d918fd012da57f6cb54"/></dir><dir name="template"><dir name="total"><file name="fingerprint.phtml" hash="7ec23ab40ab28a0fc7f77d1421041721"/><file name="getorderstatus.phtml" hash="ff5c297a1a594607024888293181557e"/><file name="mapper.phtml" hash="6b3b2c690d4c0509d497fc94433aaab9"/><file name="meta_account_create.phtml" hash="9942098ce07732b0011e513da0fea91b"/><file name="meta_account_edit.phtml" hash="9f992ff686789d059a9a5ff4801e3884"/><file name="meta_cart.phtml" hash="013250fb64b4dc6cf50082898c345657"/><file name="meta_checkout.phtml" hash="10e00a4bc18f4e07050fd440d3c3f290"/><file name="meta_contact.phtml" hash="7eef5f6c488368ca91dc43827f6d4fdc"/><file name="meta_home.phtml" hash="e53aeefb23c4e4b3a1380c659d49494e"/><file name="meta_pass_fail.phtml" hash="1404a1f3c07d0574fce666b72f770e32"/><file name="meta_password_reset.phtml" hash="a6ecdc56b080695e03499cad8f93dea5"/><file name="meta_product.html" hash="21e064ad8b3b6c8587b4e48a229a97b0"/><file name="meta_purchase_confirmation.phtml" hash="2ee03b7ee3f60bd1489c103020b215ab"/><file name="meta_search.phtml" hash="c452fede6e703b549bc939f7a28bab50"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Clearsale_Total.xml" hash="f43234d3956fbbbe0a6d8c90fd59b3e7"/></dir></target><target name="mage"><dir name="js"><dir name="clearsale"><dir name="total"><dir name="Graphs"><file name="graph-data.js" hash="6871eca20564813f7ecf413fc7478883"/></dir><dir name="Plugin"><file name="morris.min.js" hash="fadac462637afd6cdc0cb0a0137629af"/><file name="raphael.min.js" hash="df3aee40d12beaa16159fa297d28c132"/></dir><file name="bootstrap.min.js" hash="046ba2b5f4cff7d2eaaa1af55caa9fd8"/><file name="formats.js" hash="6084ce895fb54436ecc842d78751b53d"/><file name="jquery-1.11.1.js" hash="8101d596b2b8fa35fe3a634ea342d7c3"/><file name="jquery-2.1.1.min.js" hash="e40ec2161fe7993196f23c8a07346306"/><file name="jquery.clearsale.js" hash="94e83745ccf9ab784331e181c029bd9b"/><file name="jquery.js" hash="3c9137d88a00b1ae0b41ff6a70571615"/><file name="noconflict.js" hash="3179f2255b046d5f2e9a71e365287bef"/><file name="timeago.js" hash="b1e1d1a0576a9a952d2fdac4c3dd321f"/></dir></dir></dir></target><target name="mageskin"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="clearsale"><dir name="font"><file name="klavikalight-osf-webfont.eot" hash="70c694623ae6e600d65b17cb767ec64a"/><file name="klavikalight-osf-webfont.svg" hash="318c533f3c8563ca910f9b74bb0acf41"/><file name="klavikalight-osf-webfont.ttf" hash="53adda2104cc31f2e2d332e372bd020e"/><file name="klavikalight-osf-webfont.woff" hash="2a0466f4aa6715c05dff3a62c37bec3d"/><file name="klavikalight-osf-webfont.woff2" hash="85bbd3b7ba594c02340da194b5b2d1b3"/><file name="klavikalight-plain-webfont.eot" hash="b83fe7b442d00705780147aa583d34f9"/><file name="klavikalight-plain-webfont.svg" hash="a0f73c6fc6dffbf3d18c63ec6c3b5191"/><file name="klavikalight-plain-webfont.ttf" hash="94609b6db82cfc5adb6a4b29603f551d"/><file name="klavikalight-plain-webfont.woff" hash="f704cce62e9b346845cc1111cc0f604b"/><file name="klavikalight-plain-webfont.woff2" hash="bcf62c18730f756a848bc1cb5b631bd3"/><file name="klavikamedium-osf-webfont.eot" hash="a6435da6686dfe15caf1b7b916a71d96"/><file name="klavikamedium-osf-webfont.svg" hash="c4ebeb1cb0df09e2717345b233555855"/><file name="klavikamedium-osf-webfont.ttf" hash="290323eee0539406adde3637294bae2b"/><file name="klavikamedium-osf-webfont.woff" hash="f35c8871e39ae9bad7b173bf02c2c111"/><file name="klavikamedium-osf-webfont.woff2" hash="d43a2625c3252dcf5405617c058be2b6"/><file name="klavikaregular-osf-webfont.eot" hash="8146f953bb696559fd3c277dad2e3075"/><file name="klavikaregular-osf-webfont.svg" hash="fa60750a7d4c93ed7a621e67321140cd"/><file name="klavikaregular-osf-webfont.ttf" hash="de531bd4e7e99df5d672bc253b886969"/><file name="klavikaregular-osf-webfont.woff" hash="f168b99aad67559207101a9a792f6a24"/><file name="klavikaregular-osf-webfont.woff2" hash="4d45eb7fd558c191c91bc0da5190784e"/></dir><dir name="total"><file name="app.css" hash="437bd0c5441986efc8ce0a53eeb4654f"/><file name="bootstrap.css" hash="d2ab08de4855f3f73d2ecec6da794293"/><file name="bootstrap.min.css" hash="3ab3438f85ad9f9e27e1af1facf0a9c4"/><file name="dashboard.css" hash="547897957c8a66d307a36ea9ae3c2fe0"/><dir name="fonts"><file name="Material-Design-Iconic-Font.eot" hash="83d896ed524d89eb7cb1273e26be3ea6"/><file name="Material-Design-Iconic-Font.svg" hash="6383f1e33e4159197aa854dfac4676e1"/><file name="Material-Design-Iconic-Font.ttf" hash="aa1af632841550199ebdf0c3cc1e47a6"/><file name="Material-Design-Iconic-Font.woff" hash="a2a1ba89e7f9d29f7d5aee76e8b9f7ab"/></dir><file name="material-design-iconic-font.min.css" hash="ed31cc228d731ae1f667d440cc00fceb"/><file name="morris.css" hash="36e70bf949fcdb7d0fe55fc16ce86445"/></dir></dir></dir></dir></dir></target><target name="mageweb"><dir name="."><file name="clearsalegetorders.php" hash="6012a01a456a3a26256a8a75c1c269eb"/><file name="clearsaleretry.php" hash="a5cd59cc326cd5a7b125567901477b03"/></dir></target></contents>
|
22 |
<compatible/>
|
23 |
<dependencies><required><php><min>4.4.1</min><max>5.6.13</max></php></required></dependencies>
|
24 |
</package>
|