Plugin Directory

Changeset 2848052


Ignore:
Timestamp:
01/13/2023 04:20:26 PM (3 years ago)
Author:
cryptapi
Message:

v4.7.0 - minor bugfixes

Location:
cryptapi-payment-gateway-for-woocommerce
Files:
5 edited
7 copied

Legend:

Unmodified
Added
Removed
  • cryptapi-payment-gateway-for-woocommerce/tags/4.7.0/CryptAPI.php

    r2844569 r2848052  
    44Plugin URI: https://github.com/cryptapi/woocommerce-cryptapi
    55Description: Accept cryptocurrency payments on your WooCommerce website
    6 Version: 4.6.9
     6Version: 4.7.0
    77Requires at least: 5
    88Tested up to: 6.1.1
  • cryptapi-payment-gateway-for-woocommerce/tags/4.7.0/README.md

    r2844569 r2848052  
    302302* Minor fixes
    303303
     304#### 4.7.0
     305* Minor fixes
     306* Improvements on the callback processing algorithm
     307
    304308### Upgrade Notice
    305309#### 4.3
  • cryptapi-payment-gateway-for-woocommerce/tags/4.7.0/controllers/CryptAPI.php

    r2844569 r2848052  
    621621            }
    622622
    623             if (($counter_calc <= 0 && !$order->is_paid()) || ($remaining_pending <= 0 && empty($history))) {
    624                 $this->ca_cronjob(true, $order_id);
     623            if (!$order->is_paid()) {
     624                if ($counter_calc <= 0) {
     625                    $this->ca_cronjob(true, $order_id);
     626                }
    625627            }
    626628
     
    11501152
    11511153            if ( $value_refresh !== 0 && ( (int)$last_price_update + (int)$value_refresh < time() ) && ! empty( $last_price_update ) || ((int)$order_id === $order->get_id() && $force) ) {
    1152                 if ( ($remaining === $remaining_pending && $remaining_pending > 0) || ((int)$order_id === $order->get_id() && $force)) {
     1154                if ( ($remaining === $remaining_pending && $remaining_pending > 0) || ((int)$order_id === $order->get_id() && $force && $remaining === $remaining_pending && $remaining_pending > 0)) {
    11531155                    $cryptapi_coin = $order->get_meta( 'cryptapi_currency' );
    11541156
  • cryptapi-payment-gateway-for-woocommerce/tags/4.7.0/define.php

    r2844569 r2848052  
    11<?php
    22
    3 define('CRYPTAPI_PLUGIN_VERSION', '4.6.9');
     3define('CRYPTAPI_PLUGIN_VERSION', '4.7.0');
    44define('CRYPTAPI_PLUGIN_PATH', plugin_dir_path(__FILE__));
    55define('CRYPTAPI_PLUGIN_URL', plugin_dir_url(__FILE__));
  • cryptapi-payment-gateway-for-woocommerce/tags/4.7.0/readme.txt

    r2844569 r2848052  
    44Requires at least: 5
    55Tested up to: 6.1.1
    6 Stable tag: 4.6.9
     6Stable tag: 4.7.0
    77Requires PHP: 7.2
    88WC requires at least: 5.8
     
    312312* Minor fixes
    313313
     314= 4.7.0 =
     315* Minor fixes
     316* Improvements on the callback processing algorithm
     317
    314318== Upgrade Notice ==
    315319
  • cryptapi-payment-gateway-for-woocommerce/trunk/CryptAPI.php

    r2844569 r2848052  
    44Plugin URI: https://github.com/cryptapi/woocommerce-cryptapi
    55Description: Accept cryptocurrency payments on your WooCommerce website
    6 Version: 4.6.9
     6Version: 4.7.0
    77Requires at least: 5
    88Tested up to: 6.1.1
  • cryptapi-payment-gateway-for-woocommerce/trunk/README.md

    r2844569 r2848052  
    302302* Minor fixes
    303303
     304#### 4.7.0
     305* Minor fixes
     306* Improvements on the callback processing algorithm
     307
    304308### Upgrade Notice
    305309#### 4.3
  • cryptapi-payment-gateway-for-woocommerce/trunk/controllers/CryptAPI.php

    r2844569 r2848052  
    621621            }
    622622
    623             if (($counter_calc <= 0 && !$order->is_paid()) || ($remaining_pending <= 0 && empty($history))) {
    624                 $this->ca_cronjob(true, $order_id);
     623            if (!$order->is_paid()) {
     624                if ($counter_calc <= 0) {
     625                    $this->ca_cronjob(true, $order_id);
     626                }
    625627            }
    626628
     
    11501152
    11511153            if ( $value_refresh !== 0 && ( (int)$last_price_update + (int)$value_refresh < time() ) && ! empty( $last_price_update ) || ((int)$order_id === $order->get_id() && $force) ) {
    1152                 if ( ($remaining === $remaining_pending && $remaining_pending > 0) || ((int)$order_id === $order->get_id() && $force)) {
     1154                if ( ($remaining === $remaining_pending && $remaining_pending > 0) || ((int)$order_id === $order->get_id() && $force && $remaining === $remaining_pending && $remaining_pending > 0)) {
    11531155                    $cryptapi_coin = $order->get_meta( 'cryptapi_currency' );
    11541156
  • cryptapi-payment-gateway-for-woocommerce/trunk/define.php

    r2844569 r2848052  
    11<?php
    22
    3 define('CRYPTAPI_PLUGIN_VERSION', '4.6.9');
     3define('CRYPTAPI_PLUGIN_VERSION', '4.7.0');
    44define('CRYPTAPI_PLUGIN_PATH', plugin_dir_path(__FILE__));
    55define('CRYPTAPI_PLUGIN_URL', plugin_dir_url(__FILE__));
  • cryptapi-payment-gateway-for-woocommerce/trunk/readme.txt

    r2844569 r2848052  
    44Requires at least: 5
    55Tested up to: 6.1.1
    6 Stable tag: 4.6.9
     6Stable tag: 4.7.0
    77Requires PHP: 7.2
    88WC requires at least: 5.8
     
    312312* Minor fixes
    313313
     314= 4.7.0 =
     315* Minor fixes
     316* Improvements on the callback processing algorithm
     317
    314318== Upgrade Notice ==
    315319
Note: See TracChangeset for help on using the changeset viewer.