Page 1 of 3 123 LastLast
Results 1 to 10 of 30
  1. #1
    Join Date
    Sep 2005
    Posts
    460
    Plugin Contributions
    0

    Default Wrong total in bank module

    Hi,

    we have a problem that a total sum of the order calculated properly in checkout process ends up in the bank thousand times bigger sum! So, if we pay 52,90 euro, we get in the bank a payment for 52.897,00 euro! That would be nice for the shopkeeper but the customers may not like...

    I think this is something do with the fact that in Europe we use commas instead of dots and other way round compared to USA and ZC has always some "hidden" settings for US shops... ;) So, we are using the proper set_local in finnish.php that the system understands for example to put the dates in our language but the commas and dots may have other settings somewhere...

    I was trying to search for the solution being sure somebody would have asked about commas and dots but could not get any real results.

    Elli
    I may be blond but at least I found Zen.

  2. #2
    Join Date
    Sep 2005
    Posts
    460
    Plugin Contributions
    0

    Default Re: Wrong total in bank module

    Hi again,

    I found a working shop that is also using the newest ZC (or actually 1.3.0.2) and it has been upgraded to use that version, not fresh install. So, it has got the settings of the earlier versions as well and it works perfectly for the bank modules! But in the same version the fresh install (I have tried 2 of them) won't work!

    I've been comparing all the settings like Localization, there Currencies and Languages both, no changes there affects on anything in this issue. Neither the setlocal value ISO8859-1 should affect this since it is working for the dates etc.

    I would just need to find out what it makes this thing to make the prices 1000 times bigger, moving commas or dots and making 52.897,00 euro out of 52,90 euro!

    Please, help, I should have gone online with my new versions of ZC already.

    Elli
    I may be blond but at least I found Zen.

  3. #3
    Join Date
    Sep 2005
    Posts
    460
    Plugin Contributions
    0

    Default Re: Wrong total in bank module

    Nobody knows anything about this total sum problem?
    I may be blond but at least I found Zen.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Wrong total in bank module

    No idea.
    If you've already compared every database-setting, then check your files
    http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Sep 2005
    Posts
    460
    Plugin Contributions
    0

    Default Re: Wrong total in bank module

    Quote Originally Posted by DrByte
    No idea.
    If you've already compared every database-setting, then check your files
    http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    Could I somehow cleverly compare the database settings? I've been trying to compare with admin settings by going one by one in all navigation links through. Some settings were of course differently but by changing them didn't make any difference. If I make a SQL dump then I have lots of different things due to different products there.

    I compared the folders and files of ZC in all three installations and they were identical. Only some translation package had different sentences but not different settings in setlocal or so on.

    I guess I should just find where are the places that somehow guide the commas and dots, since that may give the answer... quite in panic over this matter anyway.

    Elli
    I may be blond but at least I found Zen.

  6. #6
    Join Date
    Sep 2005
    Posts
    460
    Plugin Contributions
    0

    Default Re: Wrong total in bank module

    Quote Originally Posted by ellivir
    Could I somehow cleverly compare the database settings? I've been trying to compare with admin settings by going one by one in all navigation links through. Some settings were of course differently but by changing them didn't make any difference. If I make a SQL dump then I have lots of different things due to different products there.

    I compared the folders and files of ZC in all three installations and they were identical. Only some translation package had different sentences but not different settings in setlocal or so on.

    I guess I should just find where are the places that somehow guide the commas and dots, since that may give the answer... quite in panic over this matter anyway.

    Elli
    Hi, more information:
    it is strange but if I choose Store Pickup for shipment the bank module gets the right total sum, for example 49 euro to be paid.
    If I choose Post Office delivery, and it adds some sum for the total and shows in checkout page for example 52 euro, it will be in bank module 52000 euro! So it is something to do with the shipping module calculations then. Now we have to just find out what it could be... anybody has any idea?

    Elli
    I may be blond but at least I found Zen.

  7. #7
    Join Date
    Sep 2005
    Posts
    460
    Plugin Contributions
    0

    Default Re: Wrong total in bank module

    Quote Originally Posted by ellivir
    Hi, more information:
    it is strange but if I choose Store Pickup for shipment the bank module gets the right total sum, for example 49 euro to be paid.
    If I choose Post Office delivery, and it adds some sum for the total and shows in checkout page for example 52 euro, it will be in bank module 52000 euro! So it is something to do with the shipping module calculations then. Now we have to just find out what it could be... anybody has any idea?

    Elli
    So, even if I put in my tests the original Table Rate module as shipping module the failure in bank module makes the sum thousand times bigger.
    In case the shipping is free or chosen Store Pick Up (0 euro) the sum in the bank comes correct.
    I still think that the shipping module may add the shipping price in English settings like 1,000.00 euro style, so in that case for example price written 5,00 euro of shipping will be understood as thousands. On the other hand it is strange it indeed doesn't happen on the web site part yet but only is visible in the bank. The checkout success page looks fine.
    I may be blond but at least I found Zen.

  8. #8
    Join Date
    Sep 2005
    Posts
    460
    Plugin Contributions
    0

    Default Re: Wrong total in bank module

    I forgot to tell I also tried to change the default language for English but the problem still occured. I even removed other languages and kept only the English but still I had the same problem.
    I may be blond but at least I found Zen.

  9. #9
    Join Date
    Sep 2005
    Posts
    460
    Plugin Contributions
    0

    Default Re: Wrong total in bank module

    Quote Originally Posted by ellivir
    I forgot to tell I also tried to change the default language for English but the problem still occured. I even removed other languages and kept only the English but still I had the same problem.
    Am I really alone here with my problems?
    I tried to upgrade the webshop for this latest 1.3.5. version but the problem just persists.
    I kept the shop as naked as possible to test the bank module functioning but no result. Of course I have the settings imported from the previous shop since I indeed made a proper upgrade process for it.

    But my panic is deepening really...

    Elli
    I may be blond but at least I found Zen.

  10. #10
    Join Date
    Sep 2005
    Posts
    460
    Plugin Contributions
    0

    Default Re: Wrong total in bank module

    Quote Originally Posted by ellivir
    Am I really alone here with my problems?
    I tried to upgrade the webshop for this latest 1.3.5. version but the problem just persists.
    I kept the shop as naked as possible to test the bank module functioning but no result. Of course I have the settings imported from the previous shop since I indeed made a proper upgrade process for it.

    But my panic is deepening really...

    Elli
    I noticed that all my "ä" and "ö" letters (Scandinavian characters) gets kind of corrupted when I make the SQL dump for the upgrade. Can this be a problem for the Wrong Sums in bank module as well? I corrected all the ä and ö by hand from the admin for the products. What kind of settings I should have for the SQL dump and what kind of ä and ö the system understands in database, for example ‰ or html code ä or pure ä?

    Elli - in despair trying to find a solution
    I may be blond but at least I found Zen.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v154 Module for Paying Bill through Bank Account / Direct Bank Deposit
    By jolliejollie in forum Addon Payment Modules
    Replies: 0
    Last Post: 23 Mar 2015, 06:04 PM
  2. PayEx module sending the wrong order total
    By piwanek in forum Addon Payment Modules
    Replies: 1
    Last Post: 14 Jun 2010, 04:23 PM
  3. Bank to Bank Transaction module for two different banks with min and max limit!
    By dionidis in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 21 Sep 2009, 02:28 PM
  4. Pass the total amount to third-party site (bank)
    By mchahkandi in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 1 Sep 2007, 12:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg