Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: eway $1000 bug - help!

    No experience at all with that module, but maybe it happens because 1000 is formatted as 1.000 or 1,000 ?

    Code:
    $my_totalamount = number_format($order->info['total'], 2, ',', '') * 100;
    (in which the hardcoded ',' should be replaced by the decimal separator definition?)

    The second '' removes the thousands separator.

  2. #2
    Join Date
    May 2005
    Posts
    110
    Plugin Contributions
    0

    Default Re: eway $1000 bug - help!

    Can anyone else confirm this would fix the problem?

  3. #3
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: eway $1000 bug - help!

    Two isn't enough? ;-)
    (one of which being a Zen Cart dev)

    note: use DrByte's '.' in stead of my ',' .

    (eway is from the US I assume now, where I live we usually use the ',' )

  4. #4
    Join Date
    May 2005
    Posts
    110
    Plugin Contributions
    0

    Default Re: eway $1000 bug - help!

    Sorry, I only saw the 1 post before! Thanks guys, very much appreciated!

  5. #5
    Join Date
    Nov 2003
    Posts
    1,987
    Plugin Contributions
    15

    Default Re: eway $1000 bug - help!

    Sorry, I only saw the 1 post before!
    Yeah, I already thought so :-)

  6. #6
    Join Date
    Apr 2005
    Location
    Traralgon
    Posts
    56
    Plugin Contributions
    0

    Default Re: eway $1000 bug - help!

    Actually Dr Byte, eWay's policy is that amounts should be specified with no place holders at all.

    Therefore your fix, according to eWay's spec, is "incorrect".

    Cheeky.

 

 

Similar Threads

  1. Need help! Generate 1000 gift certificate redeem codes
    By Daniel in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 6
    Last Post: 8 Apr 2011, 05:21 PM
  2. Eway module bug
    By emtecmedia in forum Addon Payment Modules
    Replies: 5
    Last Post: 2 Aug 2010, 06:43 AM
  3. Pls help: Do I need to edit each of the 1000+ products?
    By pppkkk in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 7 Sep 2008, 02:44 AM

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