Results 1 to 10 of 30

Hybrid View

  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
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Wrong total in bank module

    Quote Originally Posted by ellivir
    Could I somehow cleverly compare the database settings?
    You could compare the settings in the "currencies" table. Easiest way would be to do an export of the table and then use a diff tool like WinMerge to compare the output.
    .

    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.

 

 

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