Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2005
    Posts
    99
    Plugin Contributions
    0

    Default CyberSource amount woes

    I just started testing my store for larger orders and if an amount is passed to cybersource that's over $1000, with the version of the module I had it was presented to CyberSource as, say, $1,655.87 - needless to say, they don't support the 1000s separator.

    Easy fix in /includes/modules/payment/cs.php

    change

    InsertSignature(number_format($order->info['total'], 2));

    to
    InsertSignature(number_format($order->info['total'], 2,'.',''));

    Around line 337 (or exactly there if you have the same version as I do).

    TIA
    Maciek

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: CyberSource amount woes

    Thank you for posting the fix for the Cybersource separator problem.

 

 

Similar Threads

  1. Spend x amount. Get X amount discount
    By Muzz in forum Setting Up Specials and SaleMaker
    Replies: 1
    Last Post: 28 Aug 2010, 12:36 AM
  2. not minus from the amount of coupon but it add the amount in to it
    By jikey in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 29 Apr 2009, 01:19 AM
  3. Paypal amount diff from order amount
    By mmwilcox in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 28 Sep 2008, 08:45 PM
  4. Moving woes
    By Nipple in forum General Questions
    Replies: 21
    Last Post: 12 May 2008, 08:06 PM
  5. Tax amount excluded from total amount transferred to Paypal
    By Rykmann in forum Built-in Shipping and Payment Modules
    Replies: 15
    Last Post: 1 Dec 2007, 11:29 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