Plugin Directory

Changeset 2534234


Ignore:
Timestamp:
05/19/2021 12:17:26 PM (5 years ago)
Author:
best2pay
Message:

new stable 1.1.1

Location:
best2pay-payment-method-visamastercard
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • best2pay-payment-method-visamastercard/best2pay-payment_method.php

    r2529684 r2534234  
    1818 * Plugin URI: http://best2pay.net/
    1919 * Description: Receive payments via Visa/Mastercard easily with Best2Pay bank cards processing
    20  * Version: 1.0
     20 * Version: 1.1.1
    2121 * Author: Best2Pay
    2222 * Tested up to: 5.7.1
     
    188188                    $fiscalAmount += $item_data['quantity'] * $elementPrice;
    189189                }
    190                 if ($wc_order->shipping_total) {
    191                     $fiscalPositions .= '1;' . $wc_order->shipping_total * 100 . ';6;Доставка|';
    192                     $fiscalAmount += $wc_order->shipping_total * 100;
     190                if ($wc_order->get_shipping_total()) {
     191                    $fiscalPositions .= '1;' . $wc_order->get_shipping_total() * 100 . ';6;Доставка|';
     192                    $fiscalAmount += $wc_order->get_shipping_total() * 100;
    193193                }
    194194                $fiscalDiff = abs($fiscalAmount - intval($order->get_total() * 100));
  • best2pay-payment-method-visamastercard/readme.txt

    r2532805 r2534234  
    55Requires at least: 4.7
    66Requires PHP: 7.0
    7 Stable tag: 1.0
     7Stable tag: 1.1.1
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
  • best2pay-payment-method-visamastercard/trunk/best2pay-payment_method.php

    r2533057 r2534234  
    1818 * Plugin URI: http://best2pay.net/
    1919 * Description: Receive payments via Visa/Mastercard easily with Best2Pay bank cards processing
    20  * Version: 1.1
     20 * Version: 1.1.1
    2121 * Author: Best2Pay
    2222 * Tested up to: 5.7.1
     
    188188                    $fiscalAmount += $item_data['quantity'] * $elementPrice;
    189189                }
    190                 if ($wc_order->shipping_total) {
    191                     $fiscalPositions .= '1;' . $wc_order->shipping_total * 100 . ';6;Доставка|';
    192                     $fiscalAmount += $wc_order->shipping_total * 100;
     190                if ($wc_order->get_shipping_total()) {
     191                    $fiscalPositions .= '1;' . $wc_order->get_shipping_total() * 100 . ';6;Доставка|';
     192                    $fiscalAmount += $wc_order->get_shipping_total() * 100;
    193193                }
    194194                $fiscalDiff = abs($fiscalAmount - intval($order->get_total() * 100));
  • best2pay-payment-method-visamastercard/trunk/readme.txt

    r2533057 r2534234  
    55Requires at least: 4.7
    66Requires PHP: 7.0
    7 Stable tag: 1.1
     7Stable tag: 1.1.1
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
Note: See TracChangeset for help on using the changeset viewer.