Plugin Directory

Changeset 3115887


Ignore:
Timestamp:
07/10/2024 09:20:16 PM (21 months ago)
Author:
robokassa
Message:

1.6.1 fix2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • robokassa/trunk/wp_robokassa.php

    r3111028 r3115887  
    852852        $current['name'] = 'Доставка';
    853853        $current['quantity'] = 1;
    854         $current['cost'] = (double)\sprintf(
    855             "%01.2f",
    856             $order->get_shipping_total()
    857         );
     854        $current['cost'] = (double)sprintf("%01.2f", $order->get_shipping_total());
     855        $current['sum'] = (double)sprintf("%01.2f", $order->get_shipping_total());
    858856
    859857        if (get_option('robokassa_country_code') == 'RU') {
Note: See TracChangeset for help on using the changeset viewer.