Compatibility with Packeta plugin
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from fj on June 29, 2022, 11:17Hello,
WCCS does not work correctly with Packeta plugin. (https://wordpress.org/plugins/packeta/#description)
WCCS transforms prices in cart but it does not do it in checkout. It seems to me the issue is on WCCS side. What is the correct way to fully support WCCS in Packeta plugin if not?Here is Packeta shipping method implementation: https://github.com/Zasilkovna/WooCommerce/blob/main/src/Packetery/Module/ShippingMethod.php
Thanks
Hello,
WCCS does not work correctly with Packeta plugin. (https://wordpress.org/plugins/packeta/#description)
WCCS transforms prices in cart but it does not do it in checkout. It seems to me the issue is on WCCS side. What is the correct way to fully support WCCS in Packeta plugin if not?
Here is Packeta shipping method implementation: https://github.com/Zasilkovna/WooCommerce/blob/main/src/Packetery/Module/ShippingMethod.php
Thanks
Quote from Pablo Borysenco on June 29, 2022, 12:27Hello
Unfortunately, this is an incompatibility with a third-party plugin.
. It seems to me the issue is on WCCS side - Ok! For the test, you can disable this third-party plugin and make tests with the standard delivery functionality - everything will work correctly
What is the correct way to fully support WCCS in Packeta plugin if not? - You need to customize the code of this third party plugin
Hello
Unfortunately, this is an incompatibility with a third-party plugin.
. It seems to me the issue is on WCCS side - Ok! For the test, you can disable this third-party plugin and make tests with the standard delivery functionality - everything will work correctly
What is the correct way to fully support WCCS in Packeta plugin if not? - You need to customize the code of this third party plugin
Quote from fj on June 29, 2022, 15:17"You need to customize the code of this third party plugin"
That is what I am willing to do because I am a developer of Packeta plugin.
Do you know why described behavior happens?
Are you willing to provide suggestions on what should be changed in Packeta plugin? (https://github.com/Zasilkovna/WooCommerce/blob/main/src/Packetery/Module/ShippingMethod.php)
"You need to customize the code of this third party plugin"
That is what I am willing to do because I am a developer of Packeta plugin.
Do you know why described behavior happens?
Are you willing to provide suggestions on what should be changed in Packeta plugin? (https://github.com/Zasilkovna/WooCommerce/blob/main/src/Packetery/Module/ShippingMethod.php)
Quote from Pablo Borysenco on June 30, 2022, 09:51Hello
Try converting your custom prices - https://share.pluginus.net/image/i20220630074930.png - add code:
if (class_exists('WOOCS') AND $customRate) {
global $WOOCS;
$customRate = $WOOCS->woocs_exchange_value(floatval($customRate));
}
Hello
Try converting your custom prices - https://share.pluginus.net/image/i20220630074930.png - add code:
if (class_exists('WOOCS') AND $customRate) {
global $WOOCS;
$customRate = $WOOCS->woocs_exchange_value(floatval($customRate));
}
Quote from fj on June 30, 2022, 10:24Thank you for the suggestion. I will let you know what effect it does.
Thank you for the suggestion. I will let you know what effect it does.
Quote from fj on June 30, 2022, 13:20Unfortunately, price conversion in the cart still happens so the price is converted twice with suggested changes.
Is there a way to tell WCCS not to covert prices for Packeta shipping rates so prices can be converted manually by Packeta plugin?
Do you have any other sensible suggestions?
Unfortunately, price conversion in the cart still happens so the price is converted twice with suggested changes.
Is there a way to tell WCCS not to covert prices for Packeta shipping rates so prices can be converted manually by Packeta plugin?
Do you have any other sensible suggestions?
Quote from Pablo Borysenco on July 1, 2022, 09:32Hello
Ok! Please describe in more detail all incompatibilities. You can use screenshots.
What currency do you receive shipping prices?
WCCS transforms prices in cart but it does not do it in checkout. - I thought you wrote that it is not convertible
Hello
Ok! Please describe in more detail all incompatibilities. You can use screenshots.
What currency do you receive shipping prices?
WCCS transforms prices in cart but it does not do it in checkout. - I thought you wrote that it is not convertible
Quote from fj on July 1, 2022, 13:44Hello
I set up a woocommerce instance for testing here: https://eshop-modules.otestuj.to/woocommerce/wordpress
Steps to reproduce:
1) At homepage add "1 kg" product to the cart.
2) go to checkout
2.5) make sure WCCS convertion to USD is active (base price is in CZK)3) fill country: Czech republic
4) notice the price of "CZ Packeta pickup points" shipping rate
5) go to cart by clicking the cart icon in the top right
6) cart price differs from checkout priceInstalled Packeta plugin currently converts prices via WCCS in one place (implemented shipping method) for all visible places in WooCommerce (cart, checkout, etc.). So price is converted twice in cart page. Once by Packeta plugin and once by WCCS. That is incorrect behavior I want to fix with your help.
Hello
I set up a woocommerce instance for testing here: https://eshop-modules.otestuj.to/woocommerce/wordpress
Steps to reproduce:
1) At homepage add"1 kg" product to the cart.
2) go to checkout
2.5) make sure WCCS convertion to USD is active (base price is in CZK)
3) fill country: Czech republic
4) notice the price of"CZ Packeta pickup points" shipping rate
5) go to cart by clicking the cart icon in the top right
6) cart price differs from checkout price
Installed Packeta plugin currently converts prices via WCCS in one place (implemented shipping method) for all visible places in WooCommerce (cart, checkout, etc.). So price is converted twice in cart page. Once by Packeta plugin and once by WCCS. That is incorrect behavior I want to fix with your help.
Quote from Pablo Borysenco on July 4, 2022, 10:08Hello
very strange!
please add FTP +wp-admin access to your test site - https://share.pluginus.net/image/i20210618130558.png ->https://share.pluginus.net/image/i20210618130637.png
Hello
very strange!
please add FTP +wp-admin access to your test site - https://share.pluginus.net/image/i20210618130558.png ->https://share.pluginus.net/image/i20210618130637.png
Quote from fj on July 7, 2022, 08:35Hello
We do not have FTP daemon set up on our testing server. Developers use Docker. We are preparing WP installation elsewhere for you to edit.
Hello
We do not have FTP daemon set up on our testing server. Developers use Docker. We are preparing WP installation elsewhere for you to edit.
Quote from Pablo Borysenco on July 7, 2022, 10:03Hello
Ok! I'm waiting for the test site to be ready
Hello
Ok! I'm waiting for the test site to be ready
Quote from fj on July 8, 2022, 09:22Hello
I provided the requested private data.
Hello
I provided the requested private data.
Quote from Pablo Borysenco on July 8, 2022, 10:41hello
Great! I will write you as soon as we get the result (I think it will be Tuesday)
hello
Great! I will write you as soon as we get the result (I think it will be Tuesday)
Quote from fj on July 13, 2022, 11:27Hello
Is there any new update on progress?
Hello
Is there any new update on progress?
Quote from Pablo Borysenco on July 13, 2022, 12:16Hello
sorry for the delay. Our developers were forced to work on an urgent update of another plugin.
But this week we'll do it
Hello
sorry for the delay. Our developers were forced to work on an urgent update of another plugin.
But this week we'll do it
Quote from Pablo Borysenco on July 14, 2022, 16:05Hello
In file - \wp-content\plugins\packeta\src\Packetery\Module\Checkout.php - change this code - https://c2n.me/4g9jhfF.png
$rate->set_cost( $this->applyFilterWoocsExchangeValue($customRates[ $rate->get_id() ]['cost']) );
and - https://share.pluginus.net/image/i20220714115314.png
//return $this->applyFilterWoocsExchangeValue( (float) $cost );
return (float) $cost ;
My test - https://c2n.me/4g9jCnm.mp4
Hello
In file - \wp-content\plugins\packeta\src\Packetery\Module\Checkout.php - change this code - https://c2n.me/4g9jhfF.png
$rate->set_cost( $this->applyFilterWoocsExchangeValue($customRates[ $rate->get_id() ]['cost']) );
and - https://share.pluginus.net/image/i20220714115314.png
//return $this->applyFilterWoocsExchangeValue( (float) $cost );
return (float) $cost ;
My test - https://c2n.me/4g9jCnm.mp4
Quote from Pablo Borysenco on July 21, 2022, 13:12Hello
Can you report your results?
Hello
Can you report your results?
Quote from fj on July 22, 2022, 09:07Hello
Changes fix reported issue. We did not notice any side effects. Thank you for your collaboration.
Hello
Changes fix reported issue. We did not notice any side effects. Thank you for your collaboration.
Quote from Pablo Borysenco on July 22, 2022, 10:09Hello
Ok! Great!
Will you include this code in the next version of the plugin or should I make an adaptation article?
Hello
Ok! Great!
Will you include this code in the next version of the plugin or should I make an adaptation article?