Jump to content

 

sok777

Member Since 23 Jun 2011
Offline Last Active Nov 25 2020 07:10 AM
-----

#330786 Redsys Recieve Wrong Amount Format For Some Orders

Posted by sok777 on 26 August 2020 - 12:45 AM

Well, I found the issue.

 

Looks like after PHP 7.0.33 there is a PHP bug https://bugs.php.net/bug.php?id=78172

 

I think cs cart should update servired.php for php versions 7.033 and up, as follows to correct the bug with round up:

 

For those who have the same problem you need to change the following lines 70 and 124 in servired.php

 

from

$amount = ($currency == '978') ? ($order_info['total'] * 100) : $order_info['total'];

to

$amount = ($currency == '978') ? (int)($order_info['total'] * 100) : $order_info['total'];

Problem solved.




#319436 Simple Encode

Posted by sok777 on 03 September 2019 - 06:04 PM

thank you guys, works perfect.




#313518 Paypal Express Checkout Surcharge On The Cart Page

Posted by sok777 on 21 March 2019 - 05:35 PM

I use latest 4.9.3 SP1.

Also to be sure I doublechecked on your demo store. It has the same problem.

 

Probably you did not confure any surcharge that is why it does not appear on the cart.


PayPal Express surcharge configuration:

http://prntscr.com/n13iz6


Surcharge on cart page appears by default if PayPal Express surcharge is active. But the same time there are other payment options without surcharge. It creates confusion. Nobody will read and think or guess what this surcharge is for, they will just leave.

http://prntscr.com/n13jwc




#303276 Why Is There No Company Registration And Vat Number In Cs-Cart?

Posted by sok777 on 27 June 2018 - 06:11 AM

Since the EU GDPR addon exists anyway may be it is time to move/add all "EU law specific" configuration like VAT, GDPR, COOKIES, WHATEVER ELSE COMING overthere? And If one day this addon is not needed anymore (EUEXIT) just wipe it out!

 

It can be the easy way to have/manage all EU things together in one place = addon. Meanwhile probably global settings like business and private profile account activation/configuration should be under main settings.




#301691 Gdpr Policy In The Eu

Posted by sok777 on 16 May 2018 - 05:11 PM

All this GDPR has nothing to do with real privacy protection. Most silly thing after cookie notification law. New excuse to collect more money with no reason and get more control of sensetive info of all the people in EU. I will not be surprised if In couple of years they will deside that only one email address is allowed per person and it has to be approved by Data Protection authority.




#301452 Gdpr Policy In The Eu

Posted by sok777 on 10 May 2018 - 11:17 PM

Hello,

 

is it 100% obligatory to to send newsletter to all existing customers and ask them explicitly to agree with new Privacy Policy?

 

I am sure 95% of recipients will not even open this email, but it does not mean they want to close the account or will not buy again in the future. They just do not care about GDPR emails from hundreds of companies they have registered in the past 20 years. What happens in this case? Do I have to delete all these customers or what? Any idea how to do it right without disturbing customers? (looks like "law makers" did not care that much about customers from this point of view).




#285945 Coupon Code From Edit Order Page

Posted by sok777 on 11 October 2017 - 03:10 PM

Ok,

 

posted http://forum.cs-cart...-editing-order/




#284781 Paypal Express Order Status Issue

Posted by sok777 on 22 September 2017 - 08:12 AM

OK,

 

posted to bug tracker http://forum.cs-cart...r-status-issue/




#283772 Variable Name

Posted by sok777 on 01 September 2017 - 10:25 AM

If you want just to change display name from PAYMENT to PAYMENT METHOD you do not need to create extra language variable for that.

 

Just go to Administrtion > Translations

 

in the search field write PAYMENT, find the needed value and change it to PAYMENT METHOD

 

But if you want to create new variable then change to {{__("PAYMENT_METHOD")}} on the invoice, and add extra variable in Administrtion > Translations > Add new variable

 

Variable = PAYMENT_METHOD

 

Value = PAYMENT METHOD




#281323 Coupon Code On Promotion List Page

Posted by sok777 on 22 July 2017 - 05:10 AM

Ok, if someone needs something similar.

 

fast solution is:

 

change in app/controllers/frontend/promotions.php

 

line 25 as follows:

 

'zone' => 'cart',

 

And in

 

...views/promotions/list.tpl

 

add for example

 

{$promotion.conditions_hash|regex_replace:"/;.+/":""|substr:12}




#276521 Servired Processor Issue

Posted by sok777 on 04 May 2017 - 11:36 AM

ok,

 

posted to bug tracker

 

http://forum.cs-cart...rocessor-issue/

 

Lately I do not see that CS CART reacts to new bugs.




#276034 Image Path For Import In Cs Cart Ultimate

Posted by sok777 on 26 April 2017 - 12:55 PM

Hi,

 

What should be the path to the images for all stores?

 

Fot the moment I place images for all stores in \var\files\1\exim\backup\images

 

In import path it sais by default exim\backup\images

 

So, if I import stores one by one, it works fine.

 

If I choose All stores and trying to import, then no images are imported.

 

Is it another import bug? or I need to place images in different folder?

 

 

OK Solved.

 

If you need to import images to all stores from one CSV, place them to \var\files\exim\backup\images

 

instead of \var\files\1\exim\backup\images




#275996 Features Import To Multiple Stores

Posted by sok777 on 26 April 2017 - 07:36 AM

Same behavior on demo store.

 

The issue is posted in the bug tracker

 

http://forum.cs-cart...t-to-all-stores




#271392 Login page only to wholesalers

Posted by sok777 on 22 February 2017 - 10:53 AM

hi, cscartrocks

 

do you have this add on for 4.4.3?

 

Does it support customized logo for distributor?




#139378 Redirect 301 to www...

Posted by sok777 on 25 June 2012 - 01:41 PM

Hello

A little bit stuck with simple seo rule. I need redirect 301 mydomain.com to www.mydomain.com

I added 2 lines in the default htaccess, now it is as follows:

DirectoryIndex index.html index.php
<IfModule mod_rewrite.c>
RewriteEngine on
# Some hostings require RewriteBase to be uncommented
# Example:
# Your store url is http://www.yourcompany.com/store/cart
# So "RewriteBase" should be:
# RewriteBase /store/cart
#RewriteBase /
RewriteCond %{HTTP_HOST} ^mydomain\.com$ [NC]
RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !\.(png|gif|ico|swf|jpe?g|js|css)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php?sef_rewrite=1 [L,QSA]
</IfModule>

Like this it give error and does not show the page.

Where is a mistake?

Thanks in advance for any help.