Plugin Directory

Changeset 3439577


Ignore:
Timestamp:
01/14/2026 01:39:40 PM (3 months ago)
Author:
adrianpo
Message:

tagging version 7.0.2

Location:
plationline
Files:
4 edited
24 copied

Legend:

Unmodified
Added
Removed
  • plationline/tags/7.0.2/inc/admin/class-admin-recurrence.php

    r3437666 r3439577  
    7979    }
    8080
    81     function plationline_create_recurrence_checkbox_for_product()
     81    public function plationline_create_recurrence_checkbox_for_product()
    8282    {
    8383        echo '<div id="plationline_create_recurrence_checkbox_for_product" class="panel woocommerce_options_panel">';
  • plationline/tags/7.0.2/inc/core/class-wc-plationline-process.php

    r3437666 r3439577  
    313313
    314314        $f_request['customer_info'] = $customer_info;
    315         if ($order->needs_shipping() && $order->has_shipping_address()) {
     315
     316        $has_shipping_method = count( $order->get_items( 'shipping' ) ) > 0;
     317
     318        if ($has_shipping_method && $order->has_shipping_address()) {
    316319            $shipping_info = array();
    317320
     
    443446        }
    444447
    445         if ($order->needs_shipping()) {
     448        if ($has_shipping_method) {
    446449            $shipping = array();
    447450            $shipping['name'] = substr($order->get_shipping_method(), 0, 250);
  • plationline/tags/7.0.2/plationline.php

    r3438445 r3439577  
    1616 * Plugin URI:          https://plati.online
    1717 * Description:         Online payment by card and Login with Plati.Online account
    18  * Version:             7.0.1
     18 * Version:             7.0.2
    1919 * Author:              PlatiOnline
    2020 * Author URI:          https://plati.online
     
    4141define(__NAMESPACE__ . '\NS', __NAMESPACE__ . '\\');
    4242define(NS . 'PLUGIN_NAME', 'plationline');
    43 define(NS . 'PLUGIN_VERSION', '7.0.1');
     43define(NS . 'PLUGIN_VERSION', '7.0.2');
    4444define(NS . 'PLUGIN_NAME_DIR', plugin_dir_path(__FILE__));
    4545define(NS . 'PLUGIN_NAME_URL', plugin_dir_url(__FILE__));
  • plationline/tags/7.0.2/readme.txt

    r3438445 r3439577  
    44Requires at least: 6.0
    55Tested up to: 6.9
    6 Stable tag: 7.0.1
     6Stable tag: 7.0.2
    77Requires PHP: 5.6
    88WC requires at least: 8.3.0
     
    106106== Changelog ==
    107107
     108= 7.0.2 =
     109* fix order needs shipping for Woocommerce lower than 9.9.0
     110
    108111= 7.0.1 =
    109112* added admin remote actions extra validation
  • plationline/trunk/inc/admin/class-admin-recurrence.php

    r3437666 r3439577  
    7979    }
    8080
    81     function plationline_create_recurrence_checkbox_for_product()
     81    public function plationline_create_recurrence_checkbox_for_product()
    8282    {
    8383        echo '<div id="plationline_create_recurrence_checkbox_for_product" class="panel woocommerce_options_panel">';
  • plationline/trunk/inc/core/class-wc-plationline-process.php

    r3437666 r3439577  
    313313
    314314        $f_request['customer_info'] = $customer_info;
    315         if ($order->needs_shipping() && $order->has_shipping_address()) {
     315
     316        $has_shipping_method = count( $order->get_items( 'shipping' ) ) > 0;
     317
     318        if ($has_shipping_method && $order->has_shipping_address()) {
    316319            $shipping_info = array();
    317320
     
    443446        }
    444447
    445         if ($order->needs_shipping()) {
     448        if ($has_shipping_method) {
    446449            $shipping = array();
    447450            $shipping['name'] = substr($order->get_shipping_method(), 0, 250);
  • plationline/trunk/plationline.php

    r3438445 r3439577  
    1616 * Plugin URI:          https://plati.online
    1717 * Description:         Online payment by card and Login with Plati.Online account
    18  * Version:             7.0.1
     18 * Version:             7.0.2
    1919 * Author:              PlatiOnline
    2020 * Author URI:          https://plati.online
     
    4141define(__NAMESPACE__ . '\NS', __NAMESPACE__ . '\\');
    4242define(NS . 'PLUGIN_NAME', 'plationline');
    43 define(NS . 'PLUGIN_VERSION', '7.0.1');
     43define(NS . 'PLUGIN_VERSION', '7.0.2');
    4444define(NS . 'PLUGIN_NAME_DIR', plugin_dir_path(__FILE__));
    4545define(NS . 'PLUGIN_NAME_URL', plugin_dir_url(__FILE__));
  • plationline/trunk/readme.txt

    r3438445 r3439577  
    44Requires at least: 6.0
    55Tested up to: 6.9
    6 Stable tag: 7.0.1
     6Stable tag: 7.0.2
    77Requires PHP: 5.6
    88WC requires at least: 8.3.0
     
    106106== Changelog ==
    107107
     108= 7.0.2 =
     109* fix order needs shipping for Woocommerce lower than 9.9.0
     110
    108111= 7.0.1 =
    109112* added admin remote actions extra validation
Note: See TracChangeset for help on using the changeset viewer.