Number format the discount

Closes #9462
This commit is contained in:
Mike Jolley 2015-10-29 15:23:34 +00:00
parent 4522b68a47
commit 871c8591f0
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ class WC_Gateway_Paypal_Request {
$line_item_args['tax_cart'] = $this->number_format( $order->get_total_tax(), $order );
if ( $order->get_total_discount() > 0 ) {
$line_item_args['discount_amount_cart'] = $this->round( $order->get_total_discount(), $order );
$line_item_args['discount_amount_cart'] = $this->number_format( $this->round( $order->get_total_discount(), $order ), $order );
}
/**