Changeset 2784124
- Timestamp:
- 09/13/2022 03:51:49 PM (4 years ago)
- Location:
- cryptapi-payment-gateway-for-woocommerce
- Files:
-
- 5 deleted
- 5 edited
- 16 copied
-
tags/4.6.1 (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk)
-
tags/4.6.1/CryptAPI.php (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/CryptAPI.php) (1 diff)
-
tags/4.6.1/README.md (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/README.md) (1 diff)
-
tags/4.6.1/controllers/CryptAPI.php (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/controllers/CryptAPI.php) (2 diffs)
-
tags/4.6.1/define.php (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/define.php) (1 diff)
-
tags/4.6.1/languages/cryptapi-payment-gateway-for-woocommerce-it_IT.mo (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/languages/cryptapi-payment-gateway-for-woocommerce-it_IT.mo)
-
tags/4.6.1/languages/cryptapi-payment-gateway-for-woocommerce-it_IT.po (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/languages/cryptapi-payment-gateway-for-woocommerce-it_IT.po)
-
tags/4.6.1/languages/cryptapi-payment-gateway-for-woocommerce-pt_BR.mo (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/languages/cryptapi-payment-gateway-for-woocommerce-pt_BR.mo)
-
tags/4.6.1/languages/cryptapi-payment-gateway-for-woocommerce-pt_BR.po (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/languages/cryptapi-payment-gateway-for-woocommerce-pt_BR.po)
-
tags/4.6.1/languages/cryptapi-payment-gateway-for-woocommerce-pt_PT.mo (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/languages/cryptapi-payment-gateway-for-woocommerce-pt_PT.mo)
-
tags/4.6.1/languages/cryptapi-payment-gateway-for-woocommerce-pt_PT.po (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/languages/cryptapi-payment-gateway-for-woocommerce-pt_PT.po)
-
tags/4.6.1/languages/cryptapi-payment-gateway-for-woocommerce.pot (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/languages/cryptapi-payment-gateway-for-woocommerce.pot)
-
tags/4.6.1/readme.txt (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/readme.txt) (2 diffs)
-
tags/4.6.1/static/200_logo_ca.png (deleted)
-
tags/4.6.1/static/check.png (deleted)
-
tags/4.6.1/static/cryptapi.css (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/static/cryptapi.css)
-
tags/4.6.1/static/loader_5.gif (deleted)
-
tags/4.6.1/static/logo_ca.png (deleted)
-
tags/4.6.1/static/payment.js (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/static/payment.js)
-
tags/4.6.1/utils/decimal.php (deleted)
-
tags/4.6.1/utils/helper.php (copied) (copied from cryptapi-payment-gateway-for-woocommerce/trunk/utils/helper.php)
-
trunk/CryptAPI.php (modified) (1 diff)
-
trunk/README.md (modified) (1 diff)
-
trunk/controllers/CryptAPI.php (modified) (2 diffs)
-
trunk/define.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cryptapi-payment-gateway-for-woocommerce/tags/4.6.1/CryptAPI.php
r2778920 r2784124 4 4 Plugin URI: https://github.com/cryptapi/woocommerce-cryptapi 5 5 Description: Accept cryptocurrency payments on your WooCommerce website 6 Version: 4.6. 06 Version: 4.6.1 7 7 Requires at least: 5 8 8 Tested up to: 6.0.2 -
cryptapi-payment-gateway-for-woocommerce/tags/4.6.1/README.md
r2778920 r2784124 272 272 * Minor fixes 273 273 274 #### 4.6.1 275 * Minor fixes 276 274 277 ### Upgrade Notice 275 278 #### 4.3 -
cryptapi-payment-gateway-for-woocommerce/tags/4.6.1/controllers/CryptAPI.php
r2778920 r2784124 322 322 'title' => __('Order cancelation timeout', 'cryptapi'), 323 323 'type' => 'select', 324 'default' => ' 3600',324 'default' => '0', 325 325 'options' => array( 326 326 '0' => __('Never', 'cryptapi'), … … 623 623 $order->payment_complete($data['address_in']); 624 624 if ($this->virtual_complete) { 625 $is_virtual = false; 625 $count_products = count($order->get_items()); 626 $count_virtual = 0; 626 627 foreach ($order->get_items() as $order_item) { 627 628 $item = wc_get_product($order_item->get_product_id()); 628 if ($item->is_virtual()) { 629 $is_virtual = true; 629 $item_obj = $item->get_type() === 'variable' ? wc_get_product($order_item['variation_id']) : $item; 630 631 if ($item_obj->is_virtual()) { 632 $count_virtual += 1; 630 633 } 631 634 } 632 if ($ is_virtual) {635 if ($count_virtual === $count_products) { 633 636 $order->update_status('completed'); 634 637 } -
cryptapi-payment-gateway-for-woocommerce/tags/4.6.1/define.php
r2778920 r2784124 1 1 <?php 2 2 3 define('CRYPTAPI_PLUGIN_VERSION', '4.6. 0');3 define('CRYPTAPI_PLUGIN_VERSION', '4.6.1'); 4 4 define('CRYPTAPI_PLUGIN_PATH', plugin_dir_path(__FILE__)); 5 5 define('CRYPTAPI_PLUGIN_URL', plugin_dir_url(__FILE__)); -
cryptapi-payment-gateway-for-woocommerce/tags/4.6.1/readme.txt
r2778920 r2784124 4 4 Requires at least: 5 5 5 Tested up to: 6.0.2 6 Stable tag: 4.6. 06 Stable tag: 4.6.1 7 7 Requires PHP: 7.2 8 8 WC requires at least: 5.8 … … 282 282 * Minor fixes 283 283 284 = 4.6.1 = 285 * Minor fixes 286 284 287 == Upgrade Notice == 285 288 -
cryptapi-payment-gateway-for-woocommerce/trunk/CryptAPI.php
r2778920 r2784124 4 4 Plugin URI: https://github.com/cryptapi/woocommerce-cryptapi 5 5 Description: Accept cryptocurrency payments on your WooCommerce website 6 Version: 4.6. 06 Version: 4.6.1 7 7 Requires at least: 5 8 8 Tested up to: 6.0.2 -
cryptapi-payment-gateway-for-woocommerce/trunk/README.md
r2778920 r2784124 272 272 * Minor fixes 273 273 274 #### 4.6.1 275 * Minor fixes 276 274 277 ### Upgrade Notice 275 278 #### 4.3 -
cryptapi-payment-gateway-for-woocommerce/trunk/controllers/CryptAPI.php
r2778920 r2784124 322 322 'title' => __('Order cancelation timeout', 'cryptapi'), 323 323 'type' => 'select', 324 'default' => ' 3600',324 'default' => '0', 325 325 'options' => array( 326 326 '0' => __('Never', 'cryptapi'), … … 623 623 $order->payment_complete($data['address_in']); 624 624 if ($this->virtual_complete) { 625 $is_virtual = false; 625 $count_products = count($order->get_items()); 626 $count_virtual = 0; 626 627 foreach ($order->get_items() as $order_item) { 627 628 $item = wc_get_product($order_item->get_product_id()); 628 if ($item->is_virtual()) { 629 $is_virtual = true; 629 $item_obj = $item->get_type() === 'variable' ? wc_get_product($order_item['variation_id']) : $item; 630 631 if ($item_obj->is_virtual()) { 632 $count_virtual += 1; 630 633 } 631 634 } 632 if ($ is_virtual) {635 if ($count_virtual === $count_products) { 633 636 $order->update_status('completed'); 634 637 } -
cryptapi-payment-gateway-for-woocommerce/trunk/define.php
r2778920 r2784124 1 1 <?php 2 2 3 define('CRYPTAPI_PLUGIN_VERSION', '4.6. 0');3 define('CRYPTAPI_PLUGIN_VERSION', '4.6.1'); 4 4 define('CRYPTAPI_PLUGIN_PATH', plugin_dir_path(__FILE__)); 5 5 define('CRYPTAPI_PLUGIN_URL', plugin_dir_url(__FILE__)); -
cryptapi-payment-gateway-for-woocommerce/trunk/readme.txt
r2778920 r2784124 4 4 Requires at least: 5 5 5 Tested up to: 6.0.2 6 Stable tag: 4.6. 06 Stable tag: 4.6.1 7 7 Requires PHP: 7.2 8 8 WC requires at least: 5.8 … … 282 282 * Minor fixes 283 283 284 = 4.6.1 = 285 * Minor fixes 286 284 287 == Upgrade Notice == 285 288
Note: See TracChangeset
for help on using the changeset viewer.