Changeset 3382531
- Timestamp:
- 10/22/2025 10:52:07 AM (6 months ago)
- Location:
- bosta-woocommerce/trunk
- Files:
-
- 1 added
- 2 edited
-
bosta-woocommerce.php (modified) (6 diffs)
-
includes/class-bosta-payment-method-handler.php (added)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bosta-woocommerce/trunk/bosta-woocommerce.php
r3378853 r3382531 6 6 * Author: Bosta 7 7 * Author URI: https://www.bosta.co/ 8 * Version: 4. 2.28 * Version: 4.3.0 9 9 * Requires at least: 5.0 10 10 * php version 7.0 … … 42 42 require_once plugin_dir_path(__FILE__) . 'includes/class-bosta-consignee-ranking.php'; 43 43 44 // Include payment method handler 45 require_once plugin_dir_path(__FILE__) . 'includes/class-bosta-payment-method-handler.php'; 46 44 47 45 48 … … 47 50 add_action('init', function() { 48 51 Bosta_Webhook_Loader::init(); 52 Bosta_Payment_Method_Handler::init(); 49 53 }); 50 54 … … 116 120 const BOSTA_ENV_URL_V0 = 'https://app.bosta.co/api/v0'; 117 121 const BOSTA_ENV_URL_V2 = 'https://app.bosta.co/api/v2'; 118 const PLUGIN_VERSION = '4. 2.2';122 const PLUGIN_VERSION = '4.3.0'; 119 123 const bosta_cache_duration = 86400; 120 124 const bosta_country_id_duration = 604800; … … 1595 1599 if ($order->get_payment_method() === 'cod') { 1596 1600 $newOrder->cod = (float) $order->get_total(); 1601 } else { 1602 $newOrder->cod = 0; 1597 1603 } 1598 1604 … … 1869 1875 if ($includeProductDescriptions === 'yes' && !$is_fulfillment) { 1870 1876 $newOrder->specs->packageDetails = bosta_format_package_details($order, $productDescription); 1877 } 1878 1879 // Add COD handling 1880 if ($order->get_payment_method() === 'cod') { 1881 $newOrder->cod = (float) $order->get_total(); 1882 } else { 1883 $newOrder->cod = 0; 1871 1884 } 1872 1885 -
bosta-woocommerce/trunk/readme.txt
r3378853 r3382531 7 7 Requires PHP: 7.0 8 8 Tested up to: 6.8.2 9 Stable tag: 4. 2.29 Stable tag: 4.3.0 10 10 WC requires at least: 2.6 11 11 WC tested up to: 10.0.4 … … 247 247 = 4.2.2 = 248 248 * Added Filter for consignee ranking 249 250 = 4.3.0 = 251 * Added handling for payment method update
Note: See TracChangeset
for help on using the changeset viewer.