Changeset 3250284
- Timestamp:
- 03/04/2025 10:24:55 AM (13 months ago)
- Location:
- multisafepay
- Files:
-
- 16 edited
- 1 copied
-
tags/6.7.3 (copied) (copied from multisafepay/trunk)
-
tags/6.7.3/multisafepay.php (modified) (3 diffs)
-
tags/6.7.3/readme.txt (modified) (3 diffs)
-
tags/6.7.3/src/Services/OrderService.php (modified) (1 diff)
-
tags/6.7.3/src/Services/ShoppingCartService.php (modified) (14 diffs)
-
tags/6.7.3/vendor/autoload.php (modified) (1 diff)
-
tags/6.7.3/vendor/composer/autoload_real.php (modified) (2 diffs)
-
tags/6.7.3/vendor/composer/autoload_static.php (modified) (2 diffs)
-
tags/6.7.3/vendor/composer/installed.php (modified) (2 diffs)
-
trunk/multisafepay.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/src/Services/OrderService.php (modified) (1 diff)
-
trunk/src/Services/ShoppingCartService.php (modified) (14 diffs)
-
trunk/vendor/autoload.php (modified) (1 diff)
-
trunk/vendor/composer/autoload_real.php (modified) (2 diffs)
-
trunk/vendor/composer/autoload_static.php (modified) (2 diffs)
-
trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
multisafepay/tags/6.7.3/multisafepay.php
r3240589 r3250284 5 5 * Plugin URI: https://docs.multisafepay.com/docs/woocommerce 6 6 * Description: MultiSafepay Payment Plugin 7 * Version: 6.7. 27 * Version: 6.7.3 8 8 * Author: MultiSafepay 9 9 * Author URI: https://www.multisafepay.com … … 14 14 * Tested up to: 6.7.2 15 15 * WC requires at least: 6.0.0 16 * WC tested up to: 9. 6.216 * WC tested up to: 9.7.0 17 17 * Requires PHP: 7.3 18 18 * Text Domain: multisafepay … … 27 27 * Plugin version 28 28 */ 29 define( 'MULTISAFEPAY_PLUGIN_VERSION', '6.7. 2' );29 define( 'MULTISAFEPAY_PLUGIN_VERSION', '6.7.3' ); 30 30 31 31 /** -
multisafepay/tags/6.7.3/readme.txt
r3240589 r3250284 5 5 Tested up to: 6.7.2 6 6 Requires PHP: 7.3 7 Stable tag: 6.7. 27 Stable tag: 6.7.3 8 8 License: MIT 9 9 … … 128 128 == Upgrade Notice == 129 129 130 = 6.7. 2=130 = 6.7.3 = 131 131 6.x.x is a major upgrade in which the MultiSafepay payment methods are registered dynamically via an API request to MultiSafepay. If you are upgrading from 5.X.X version, after the upgrade, please navigate to the MultiSafepay settings page, and to each one of the payment methods enabled in your account, and confirm the settings in each section are set up according to your preferences. 132 132 … … 144 144 145 145 == Changelog == 146 = Release Notes - WooCommerce 6.7.3 (Mar 4th, 2025) = 147 148 ### Fixed 149 + PLGWOOS-973: Round shopping cart item tax rates in BILLINK gateway 150 146 151 = Release Notes - WooCommerce 6.7.2 (Feb 14th, 2025) = 147 152 -
multisafepay/tags/6.7.3/src/Services/OrderService.php
r3230524 r3250284 71 71 72 72 if ( ! get_option( 'multisafepay_disable_shopping_cart', false ) || in_array( $gateway_code, GatewaysSdk::SHOPPING_CART_REQUIRED_GATEWAYS, true ) ) { 73 $order_request->addShoppingCart( $this->shopping_cart_service->create_shopping_cart( $order, $order->get_currency() ) );73 $order_request->addShoppingCart( $this->shopping_cart_service->create_shopping_cart( $order, $order->get_currency(), $gateway_code ) ); 74 74 } 75 75 -
multisafepay/tags/6.7.3/src/Services/ShoppingCartService.php
r3114383 r3250284 37 37 38 38 /** 39 * @param WC_Order $order 40 * @param string $currency 39 * @param WC_Order $order 40 * @param string $currency 41 * @param string|null $gateway_code 41 42 * @return ShoppingCart 42 43 */ 43 public function create_shopping_cart( WC_Order $order, string $currency ): ShoppingCart {44 public function create_shopping_cart( WC_Order $order, string $currency, ?string $gateway_code = '' ): ShoppingCart { 44 45 45 46 // If coupon type is percentage, fixed_product type, or fixed_cart, which comes by default in WooCommerce, … … 56 57 /** @var WC_Order_Item_Product $item */ 57 58 foreach ( $order->get_items() as $item ) { 58 $cart_items[] = $this->create_cart_item( $item, $currency );59 $cart_items[] = $this->create_cart_item( $item, $currency, $gateway_code ); 59 60 } 60 61 61 62 /** @var WC_Order_Item_Shipping $item */ 62 63 foreach ( $order->get_items( 'shipping' ) as $item ) { 63 $cart_items[] = $this->create_shipping_cart_item( $item, $currency );64 $cart_items[] = $this->create_shipping_cart_item( $item, $currency, $gateway_code ); 64 65 } 65 66 66 67 /** @var WC_Order_Item_Fee $item */ 67 68 foreach ( $order->get_items( 'fee' ) as $item ) { 68 $cart_items[] = $this->create_fee_cart_item( $item, $currency );69 $cart_items[] = $this->create_fee_cart_item( $item, $currency, $gateway_code ); 69 70 } 70 71 … … 94 95 * @param WC_Order_Item_Product $item 95 96 * @param string $currency 97 * @param string $gateway_code 96 98 * @return CartItem 97 99 */ 98 private function create_cart_item( WC_Order_Item_Product $item, string $currency ): CartItem {100 private function create_cart_item( WC_Order_Item_Product $item, string $currency, string $gateway_code ): CartItem { 99 101 $merchant_item_id = apply_filters( 'multisafepay_merchant_item_id', (string) $item->get_variation_id() ? $item->get_variation_id() : $item->get_product_id(), $item ); 100 102 $product_name = $item->get_name(); … … 115 117 ->addMerchantItemId( (string) $merchant_item_id ) 116 118 ->addUnitPrice( MoneyUtil::create_money( $product_price, $currency ) ) 117 ->addTaxRate( $this->get_item_tax_rate( $item ) );119 ->addTaxRate( $this->get_item_tax_rate( $item, $gateway_code ) ); 118 120 } 119 121 … … 122 124 * 123 125 * @param WC_Order_Item_Product $item 124 * @return float 125 */ 126 private function get_item_tax_rate( WC_Order_Item_Product $item ): float { 126 * @param string $gateway_code 127 * @return float 128 */ 129 private function get_item_tax_rate( WC_Order_Item_Product $item, string $gateway_code ): float { 127 130 if ( ! wc_tax_enabled() ) { 128 131 return 0; … … 150 153 break; 151 154 } 152 return $tax_rate; 155 156 return $this->rounding_filter( $tax_rate, $gateway_code ); 153 157 } 154 158 … … 156 160 * @param WC_Order_Item_Shipping $item 157 161 * @param string $currency 162 * @param string $gateway_code 158 163 * @return ShippingItem 159 164 */ 160 private function create_shipping_cart_item( WC_Order_Item_Shipping $item, string $currency ): ShippingItem {165 private function create_shipping_cart_item( WC_Order_Item_Shipping $item, string $currency, string $gateway_code ): ShippingItem { 161 166 $cart_item = new ShippingItem(); 162 167 return $cart_item->addName( __( 'Shipping', 'multisafepay' ) ) 163 168 ->addQuantity( 1 ) 164 169 ->addUnitPrice( MoneyUtil::create_money( (float) $item->get_total(), $currency ) ) 165 ->addTaxRate( $this->get_shipping_tax_rate( $item ) );170 ->addTaxRate( $this->get_shipping_tax_rate( $item, $gateway_code ) ); 166 171 } 167 172 … … 170 175 * 171 176 * @param WC_Order_Item_Shipping $item 172 * @return float 173 */ 174 private function get_shipping_tax_rate( WC_Order_Item_Shipping $item ): float { 177 * @param string $gateway_code 178 * @return float 179 */ 180 private function get_shipping_tax_rate( WC_Order_Item_Shipping $item, string $gateway_code ): float { 175 181 if ( ! wc_tax_enabled() ) { 176 182 return 0; … … 191 197 $total_tax = array_sum( $taxes['total'] ); 192 198 $tax_rate = ( (float) $total_tax * 100 ) / (float) $item->get_total(); 193 return $tax_rate; 199 200 return $this->rounding_filter( $tax_rate, $gateway_code ); 194 201 } 195 202 … … 197 204 * @param WC_Order_Item_Fee $item 198 205 * @param string $currency 206 * @param string $gateway_code 199 207 * @return CartItem 200 208 */ 201 private function create_fee_cart_item( WC_Order_Item_Fee $item, string $currency ): CartItem {209 private function create_fee_cart_item( WC_Order_Item_Fee $item, string $currency, string $gateway_code ): CartItem { 202 210 $cart_item = new CartItem(); 203 211 return $cart_item->addName( $item->get_name() ) … … 205 213 ->addMerchantItemId( (string) $item->get_id() ) 206 214 ->addUnitPrice( MoneyUtil::create_money( (float) $item->get_total(), $currency ) ) 207 ->addTaxRate( $this->get_fee_tax_rate( $item ) );215 ->addTaxRate( $this->get_fee_tax_rate( $item, $gateway_code ) ); 208 216 } 209 217 … … 212 220 * 213 221 * @param WC_Order_Item_Fee $item 214 * @return float 215 */ 216 private function get_fee_tax_rate( WC_Order_Item_Fee $item ): float { 222 * @param string $gateway_code 223 * @return float 224 */ 225 private function get_fee_tax_rate( WC_Order_Item_Fee $item, string $gateway_code ): float { 217 226 if ( ! wc_tax_enabled() ) { 218 227 return 0; … … 235 244 $total_tax = array_sum( $taxes['total'] ); 236 245 $tax_rate = ( (float) $total_tax * 100 ) / (float) $item->get_total(); 237 return $tax_rate; 246 247 return $this->rounding_filter( $tax_rate, $gateway_code ); 238 248 } 239 249 … … 263 273 } 264 274 275 /** 276 * @param float $tax_rate 277 * @param string $gateway_code 278 * @return float 279 */ 280 private function rounding_filter( float $tax_rate, string $gateway_code ): float { 281 if ( 'BILLINK' !== $gateway_code ) { 282 return $tax_rate; 283 } 284 285 $allowed_rates = array( 0, 5, 6, 7, 9, 16, 19, 20, 21 ); 286 287 foreach ( $allowed_rates as $rate ) { 288 if ( abs( $tax_rate - $rate ) <= 0.15 ) { 289 return round( $tax_rate ); 290 } 291 } 292 293 return $tax_rate; 294 } 265 295 } -
multisafepay/tags/6.7.3/vendor/autoload.php
r3240589 r3250284 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 11f1daa923d534ef4a1e0351581144f4::getLoader();25 return ComposerAutoloaderInitd751dfc969be7438cc025668cde0624e::getLoader(); -
multisafepay/tags/6.7.3/vendor/composer/autoload_real.php
r3240589 r3250284 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 11f1daa923d534ef4a1e0351581144f45 class ComposerAutoloaderInitd751dfc969be7438cc025668cde0624e 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 11f1daa923d534ef4a1e0351581144f4', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitd751dfc969be7438cc025668cde0624e', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 11f1daa923d534ef4a1e0351581144f4', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitd751dfc969be7438cc025668cde0624e', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 11f1daa923d534ef4a1e0351581144f4::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitd751dfc969be7438cc025668cde0624e::getInitializer($loader)); 33 33 34 34 $loader->register(true); -
multisafepay/tags/6.7.3/vendor/composer/autoload_static.php
r3240589 r3250284 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 11f1daa923d534ef4a1e0351581144f47 class ComposerStaticInitd751dfc969be7438cc025668cde0624e 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 63 63 { 64 64 return \Closure::bind(function () use ($loader) { 65 $loader->prefixLengthsPsr4 = ComposerStaticInit 11f1daa923d534ef4a1e0351581144f4::$prefixLengthsPsr4;66 $loader->prefixDirsPsr4 = ComposerStaticInit 11f1daa923d534ef4a1e0351581144f4::$prefixDirsPsr4;67 $loader->classMap = ComposerStaticInit 11f1daa923d534ef4a1e0351581144f4::$classMap;65 $loader->prefixLengthsPsr4 = ComposerStaticInitd751dfc969be7438cc025668cde0624e::$prefixLengthsPsr4; 66 $loader->prefixDirsPsr4 = ComposerStaticInitd751dfc969be7438cc025668cde0624e::$prefixDirsPsr4; 67 $loader->classMap = ComposerStaticInitd751dfc969be7438cc025668cde0624e::$classMap; 68 68 69 69 }, null, ClassLoader::class); -
multisafepay/tags/6.7.3/vendor/composer/installed.php
r3240589 r3250284 2 2 'root' => array( 3 3 'name' => 'multisafepay/woocommerce', 4 'pretty_version' => '6.7. 2',5 'version' => '6.7. 2.0',4 'pretty_version' => '6.7.3', 5 'version' => '6.7.3.0', 6 6 'reference' => null, 7 7 'type' => 'wordpress-plugin', … … 21 21 ), 22 22 'multisafepay/woocommerce' => array( 23 'pretty_version' => '6.7. 2',24 'version' => '6.7. 2.0',23 'pretty_version' => '6.7.3', 24 'version' => '6.7.3.0', 25 25 'reference' => null, 26 26 'type' => 'wordpress-plugin', -
multisafepay/trunk/multisafepay.php
r3240589 r3250284 5 5 * Plugin URI: https://docs.multisafepay.com/docs/woocommerce 6 6 * Description: MultiSafepay Payment Plugin 7 * Version: 6.7. 27 * Version: 6.7.3 8 8 * Author: MultiSafepay 9 9 * Author URI: https://www.multisafepay.com … … 14 14 * Tested up to: 6.7.2 15 15 * WC requires at least: 6.0.0 16 * WC tested up to: 9. 6.216 * WC tested up to: 9.7.0 17 17 * Requires PHP: 7.3 18 18 * Text Domain: multisafepay … … 27 27 * Plugin version 28 28 */ 29 define( 'MULTISAFEPAY_PLUGIN_VERSION', '6.7. 2' );29 define( 'MULTISAFEPAY_PLUGIN_VERSION', '6.7.3' ); 30 30 31 31 /** -
multisafepay/trunk/readme.txt
r3240589 r3250284 5 5 Tested up to: 6.7.2 6 6 Requires PHP: 7.3 7 Stable tag: 6.7. 27 Stable tag: 6.7.3 8 8 License: MIT 9 9 … … 128 128 == Upgrade Notice == 129 129 130 = 6.7. 2=130 = 6.7.3 = 131 131 6.x.x is a major upgrade in which the MultiSafepay payment methods are registered dynamically via an API request to MultiSafepay. If you are upgrading from 5.X.X version, after the upgrade, please navigate to the MultiSafepay settings page, and to each one of the payment methods enabled in your account, and confirm the settings in each section are set up according to your preferences. 132 132 … … 144 144 145 145 == Changelog == 146 = Release Notes - WooCommerce 6.7.3 (Mar 4th, 2025) = 147 148 ### Fixed 149 + PLGWOOS-973: Round shopping cart item tax rates in BILLINK gateway 150 146 151 = Release Notes - WooCommerce 6.7.2 (Feb 14th, 2025) = 147 152 -
multisafepay/trunk/src/Services/OrderService.php
r3230524 r3250284 71 71 72 72 if ( ! get_option( 'multisafepay_disable_shopping_cart', false ) || in_array( $gateway_code, GatewaysSdk::SHOPPING_CART_REQUIRED_GATEWAYS, true ) ) { 73 $order_request->addShoppingCart( $this->shopping_cart_service->create_shopping_cart( $order, $order->get_currency() ) );73 $order_request->addShoppingCart( $this->shopping_cart_service->create_shopping_cart( $order, $order->get_currency(), $gateway_code ) ); 74 74 } 75 75 -
multisafepay/trunk/src/Services/ShoppingCartService.php
r3114383 r3250284 37 37 38 38 /** 39 * @param WC_Order $order 40 * @param string $currency 39 * @param WC_Order $order 40 * @param string $currency 41 * @param string|null $gateway_code 41 42 * @return ShoppingCart 42 43 */ 43 public function create_shopping_cart( WC_Order $order, string $currency ): ShoppingCart {44 public function create_shopping_cart( WC_Order $order, string $currency, ?string $gateway_code = '' ): ShoppingCart { 44 45 45 46 // If coupon type is percentage, fixed_product type, or fixed_cart, which comes by default in WooCommerce, … … 56 57 /** @var WC_Order_Item_Product $item */ 57 58 foreach ( $order->get_items() as $item ) { 58 $cart_items[] = $this->create_cart_item( $item, $currency );59 $cart_items[] = $this->create_cart_item( $item, $currency, $gateway_code ); 59 60 } 60 61 61 62 /** @var WC_Order_Item_Shipping $item */ 62 63 foreach ( $order->get_items( 'shipping' ) as $item ) { 63 $cart_items[] = $this->create_shipping_cart_item( $item, $currency );64 $cart_items[] = $this->create_shipping_cart_item( $item, $currency, $gateway_code ); 64 65 } 65 66 66 67 /** @var WC_Order_Item_Fee $item */ 67 68 foreach ( $order->get_items( 'fee' ) as $item ) { 68 $cart_items[] = $this->create_fee_cart_item( $item, $currency );69 $cart_items[] = $this->create_fee_cart_item( $item, $currency, $gateway_code ); 69 70 } 70 71 … … 94 95 * @param WC_Order_Item_Product $item 95 96 * @param string $currency 97 * @param string $gateway_code 96 98 * @return CartItem 97 99 */ 98 private function create_cart_item( WC_Order_Item_Product $item, string $currency ): CartItem {100 private function create_cart_item( WC_Order_Item_Product $item, string $currency, string $gateway_code ): CartItem { 99 101 $merchant_item_id = apply_filters( 'multisafepay_merchant_item_id', (string) $item->get_variation_id() ? $item->get_variation_id() : $item->get_product_id(), $item ); 100 102 $product_name = $item->get_name(); … … 115 117 ->addMerchantItemId( (string) $merchant_item_id ) 116 118 ->addUnitPrice( MoneyUtil::create_money( $product_price, $currency ) ) 117 ->addTaxRate( $this->get_item_tax_rate( $item ) );119 ->addTaxRate( $this->get_item_tax_rate( $item, $gateway_code ) ); 118 120 } 119 121 … … 122 124 * 123 125 * @param WC_Order_Item_Product $item 124 * @return float 125 */ 126 private function get_item_tax_rate( WC_Order_Item_Product $item ): float { 126 * @param string $gateway_code 127 * @return float 128 */ 129 private function get_item_tax_rate( WC_Order_Item_Product $item, string $gateway_code ): float { 127 130 if ( ! wc_tax_enabled() ) { 128 131 return 0; … … 150 153 break; 151 154 } 152 return $tax_rate; 155 156 return $this->rounding_filter( $tax_rate, $gateway_code ); 153 157 } 154 158 … … 156 160 * @param WC_Order_Item_Shipping $item 157 161 * @param string $currency 162 * @param string $gateway_code 158 163 * @return ShippingItem 159 164 */ 160 private function create_shipping_cart_item( WC_Order_Item_Shipping $item, string $currency ): ShippingItem {165 private function create_shipping_cart_item( WC_Order_Item_Shipping $item, string $currency, string $gateway_code ): ShippingItem { 161 166 $cart_item = new ShippingItem(); 162 167 return $cart_item->addName( __( 'Shipping', 'multisafepay' ) ) 163 168 ->addQuantity( 1 ) 164 169 ->addUnitPrice( MoneyUtil::create_money( (float) $item->get_total(), $currency ) ) 165 ->addTaxRate( $this->get_shipping_tax_rate( $item ) );170 ->addTaxRate( $this->get_shipping_tax_rate( $item, $gateway_code ) ); 166 171 } 167 172 … … 170 175 * 171 176 * @param WC_Order_Item_Shipping $item 172 * @return float 173 */ 174 private function get_shipping_tax_rate( WC_Order_Item_Shipping $item ): float { 177 * @param string $gateway_code 178 * @return float 179 */ 180 private function get_shipping_tax_rate( WC_Order_Item_Shipping $item, string $gateway_code ): float { 175 181 if ( ! wc_tax_enabled() ) { 176 182 return 0; … … 191 197 $total_tax = array_sum( $taxes['total'] ); 192 198 $tax_rate = ( (float) $total_tax * 100 ) / (float) $item->get_total(); 193 return $tax_rate; 199 200 return $this->rounding_filter( $tax_rate, $gateway_code ); 194 201 } 195 202 … … 197 204 * @param WC_Order_Item_Fee $item 198 205 * @param string $currency 206 * @param string $gateway_code 199 207 * @return CartItem 200 208 */ 201 private function create_fee_cart_item( WC_Order_Item_Fee $item, string $currency ): CartItem {209 private function create_fee_cart_item( WC_Order_Item_Fee $item, string $currency, string $gateway_code ): CartItem { 202 210 $cart_item = new CartItem(); 203 211 return $cart_item->addName( $item->get_name() ) … … 205 213 ->addMerchantItemId( (string) $item->get_id() ) 206 214 ->addUnitPrice( MoneyUtil::create_money( (float) $item->get_total(), $currency ) ) 207 ->addTaxRate( $this->get_fee_tax_rate( $item ) );215 ->addTaxRate( $this->get_fee_tax_rate( $item, $gateway_code ) ); 208 216 } 209 217 … … 212 220 * 213 221 * @param WC_Order_Item_Fee $item 214 * @return float 215 */ 216 private function get_fee_tax_rate( WC_Order_Item_Fee $item ): float { 222 * @param string $gateway_code 223 * @return float 224 */ 225 private function get_fee_tax_rate( WC_Order_Item_Fee $item, string $gateway_code ): float { 217 226 if ( ! wc_tax_enabled() ) { 218 227 return 0; … … 235 244 $total_tax = array_sum( $taxes['total'] ); 236 245 $tax_rate = ( (float) $total_tax * 100 ) / (float) $item->get_total(); 237 return $tax_rate; 246 247 return $this->rounding_filter( $tax_rate, $gateway_code ); 238 248 } 239 249 … … 263 273 } 264 274 275 /** 276 * @param float $tax_rate 277 * @param string $gateway_code 278 * @return float 279 */ 280 private function rounding_filter( float $tax_rate, string $gateway_code ): float { 281 if ( 'BILLINK' !== $gateway_code ) { 282 return $tax_rate; 283 } 284 285 $allowed_rates = array( 0, 5, 6, 7, 9, 16, 19, 20, 21 ); 286 287 foreach ( $allowed_rates as $rate ) { 288 if ( abs( $tax_rate - $rate ) <= 0.15 ) { 289 return round( $tax_rate ); 290 } 291 } 292 293 return $tax_rate; 294 } 265 295 } -
multisafepay/trunk/vendor/autoload.php
r3240589 r3250284 23 23 require_once __DIR__ . '/composer/autoload_real.php'; 24 24 25 return ComposerAutoloaderInit 11f1daa923d534ef4a1e0351581144f4::getLoader();25 return ComposerAutoloaderInitd751dfc969be7438cc025668cde0624e::getLoader(); -
multisafepay/trunk/vendor/composer/autoload_real.php
r3240589 r3250284 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 11f1daa923d534ef4a1e0351581144f45 class ComposerAutoloaderInitd751dfc969be7438cc025668cde0624e 6 6 { 7 7 private static $loader; … … 25 25 require __DIR__ . '/platform_check.php'; 26 26 27 spl_autoload_register(array('ComposerAutoloaderInit 11f1daa923d534ef4a1e0351581144f4', 'loadClassLoader'), true, true);27 spl_autoload_register(array('ComposerAutoloaderInitd751dfc969be7438cc025668cde0624e', 'loadClassLoader'), true, true); 28 28 self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); 29 spl_autoload_unregister(array('ComposerAutoloaderInit 11f1daa923d534ef4a1e0351581144f4', 'loadClassLoader'));29 spl_autoload_unregister(array('ComposerAutoloaderInitd751dfc969be7438cc025668cde0624e', 'loadClassLoader')); 30 30 31 31 require __DIR__ . '/autoload_static.php'; 32 call_user_func(\Composer\Autoload\ComposerStaticInit 11f1daa923d534ef4a1e0351581144f4::getInitializer($loader));32 call_user_func(\Composer\Autoload\ComposerStaticInitd751dfc969be7438cc025668cde0624e::getInitializer($loader)); 33 33 34 34 $loader->register(true); -
multisafepay/trunk/vendor/composer/autoload_static.php
r3240589 r3250284 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 11f1daa923d534ef4a1e0351581144f47 class ComposerStaticInitd751dfc969be7438cc025668cde0624e 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 63 63 { 64 64 return \Closure::bind(function () use ($loader) { 65 $loader->prefixLengthsPsr4 = ComposerStaticInit 11f1daa923d534ef4a1e0351581144f4::$prefixLengthsPsr4;66 $loader->prefixDirsPsr4 = ComposerStaticInit 11f1daa923d534ef4a1e0351581144f4::$prefixDirsPsr4;67 $loader->classMap = ComposerStaticInit 11f1daa923d534ef4a1e0351581144f4::$classMap;65 $loader->prefixLengthsPsr4 = ComposerStaticInitd751dfc969be7438cc025668cde0624e::$prefixLengthsPsr4; 66 $loader->prefixDirsPsr4 = ComposerStaticInitd751dfc969be7438cc025668cde0624e::$prefixDirsPsr4; 67 $loader->classMap = ComposerStaticInitd751dfc969be7438cc025668cde0624e::$classMap; 68 68 69 69 }, null, ClassLoader::class); -
multisafepay/trunk/vendor/composer/installed.php
r3240589 r3250284 2 2 'root' => array( 3 3 'name' => 'multisafepay/woocommerce', 4 'pretty_version' => '6.7. 2',5 'version' => '6.7. 2.0',4 'pretty_version' => '6.7.3', 5 'version' => '6.7.3.0', 6 6 'reference' => null, 7 7 'type' => 'wordpress-plugin', … … 21 21 ), 22 22 'multisafepay/woocommerce' => array( 23 'pretty_version' => '6.7. 2',24 'version' => '6.7. 2.0',23 'pretty_version' => '6.7.3', 24 'version' => '6.7.3.0', 25 25 'reference' => null, 26 26 'type' => 'wordpress-plugin',
Note: See TracChangeset
for help on using the changeset viewer.