Plugin Directory

Changeset 464838


Ignore:
Timestamp:
11/18/2011 06:00:48 PM (14 years ago)
Author:
moshthepitt
Message:

fixing worldpay bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dukapress/trunk/php/dp-payment.php

    r461766 r464838  
    267267        }
    268268        $total_amount = ($dpsc_total + $total_tax + $total_shipping - $total_discount) * $conversion_rate;
    269         $dpsc_total = number_format($total_amount, 2);
     269        $dpsc_total = number_format($total_amount, 2, '.', '');
    270270        $lang = (strlen(WPLANG) > 0 ? substr(WPLANG, 0, 2) : 'en');
    271271        $output = '<form name="dpsc_worldpay_form" id="dpsc_payment_form" action="' . $dpsc_form_action . '" method="post">
Note: See TracChangeset for help on using the changeset viewer.