Changeset 2667946
- Timestamp:
- 01/28/2022 08:54:02 AM (4 years ago)
- Location:
- ozon-wp/trunk
- Files:
-
- 4 edited
-
classes/ozon-wp.class.php (modified) (2 diffs)
-
classes/shipping.class.php (modified) (2 diffs)
-
ozon-wp.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ozon-wp/trunk/classes/ozon-wp.class.php
r2647702 r2667946 879 879 880 880 // fix 881 $oldSerializePrecision = ini_ set('serialize_precision');881 $oldSerializePrecision = ini_get('serialize_precision'); 882 882 ini_set('serialize_precision', -1); 883 883 … … 1320 1320 * @return string 1321 1321 */ 1322 private function _getDeliveryVariantId(\WC_Order $wc_order, array$point_data): string {1322 private function _getDeliveryVariantId(\WC_Order $wc_order, $point_data): string { 1323 1323 if(!empty($point_data) && !empty($point_data['id'])) 1324 1324 return $point_data['id']; -
ozon-wp/trunk/classes/shipping.class.php
r2647702 r2667946 205 205 206 206 $paymentGatewayes = WC()->payment_gateways(); 207 if ($paymentGatewayes && !is_array($paymentGatewayes)){ 208 $paymentGatewayes = array($paymentGatewayes); 209 } 207 210 if (is_array($paymentGatewayes) && count($paymentGatewayes)>0) { 208 211 $wc_gateways = array_filter(WC()->payment_gateways->get_available_payment_gateways(), function($gateway) { … … 338 341 */ 339 342 public function calculate_shipping($package = array()) { 343 344 // \WordPress\Ozon\Ozon_WP::actionEveryMinuteEvent(); 345 // \WordPress\Ozon\Ozon_WP::actionHourlyEvent(); 346 340 347 if(!empty($this->settings['client_id']) && !empty($this->settings['client_secret'])) { 341 348 $location_parts = []; -
ozon-wp/trunk/ozon-wp.php
r2647702 r2667946 4 4 Plugin URI: 5 5 Description: Ozon — ведущий игрок на рынке и одна из самых дорогих российских интернет-компаний по версии Forbes. Мы предоставляем клиентам самый широкий выбор товаров и доставляем их до двери во всех 11 часовых поясах России. 6 Version: 1.0.1 36 Version: 1.0.14 7 7 Author URI: https://ipol.ru 8 8 Text Domain: ozon-wp … … 16 16 exit; // Exit if accessed directly 17 17 18 const OZON_PLUGIN_VERSION = '1.0.1 3';18 const OZON_PLUGIN_VERSION = '1.0.14'; 19 19 const OZON_CHECK_VERSION_URL = 'http://ozon-wp.ipol.tech/update/version.php'; 20 20 const OZON_PLUGIN_REQUIRES = '5.0'; -
ozon-wp/trunk/readme.txt
r2647703 r2667946 63 63 * Доработки и исправления 64 64 65 = 1.0.13 = 66 * Исправлена ошибка возникающая при отправке заявок на доставку курьером 67 * Исправлена связанная с определением платежных систем сайта 68 65 69 == Upgrade Notice == 66 70
Note: See TracChangeset
for help on using the changeset viewer.