• Resolved Christian Abu

    (@christian-abu)


    Hi,

    unfortunately, I found out that your plugin has problems with variable products. The step from the shopping cart to the checkout takes far too long for variable products. Sometimes it takes up to 10 seconds.

    I have all plugins etc. deactivated and only activated Woocommerce and then I activated your plugin and the problem is back.

    As soon as I deactivate your plugin everything works very quickly again and when I click “Continue to checkout” it goes from the shopping cart to the checkout normally quickly.

    As I said, I deactivated all other plugins beforehand.

    Where does this problem come from and how can I solve it?

    It only happens with variable products and not with simple products.

    Best regards

    Christian

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @christian-abu

    It seems that this problem is related to the Pay upon invoice feature. A similar issue was previously discussed here.

    The plugin is designed to check all variations of the products in your cart to determine if any of them are virtual or downloadable. This process is typically efficient for a smaller number of variations. However, with a significant amount of variations, this approach can lead to performance issues, as you’ve encountered.

    If your store does not include any virtual or downloadable product variations, a temporary workaround could be to modify the plugin code. Specifically, you can remove or comment out the code from lines 102-110 in the file:

    /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Helper/CheckoutHelper.php

    This action should help mitigate the delay you are experiencing.

    Should you find this modification challenging or if the problem persists, we are here to assist you further. Please feel free to reach out to our service desk directly for more personalized support. You can open a support ticket by following this link: Request Support.

    Additionally, please also inform us if this modification speeds up the process.

    Kind regards,
    Krystian

    Thread Starter Christian Abu

    (@christian-abu)

    Hi Krystian,

    thanks for your help. Of course that worked. It’s somehow understandable if every variant is requested.

    The solution is of course not a good one.

    After every update it goes away and I have to redo it.

    When is there a correct solution for this?

    Best regards

    Christian

    Thread Starter Christian Abu

    (@christian-abu)

    When is there a correct solution for this?

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @christian-abu

    We are actively working on a more permanent fix for this issue. The good news is that a comprehensive solution is expected to be included in our mid-January update. Unfortunately, there is an upcoming patch update before this, and, likely, the permanent fix won’t be ready in time for this particular patch.

    Kind regards,
    Krystian

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    This will be resolved in a future update, though we can’t say yet which one. Until then, you can use the workaround mentioned above.

    Since the behavior is documented in?this issue here on GitHub, I’ll?mark this thread resolved?for now. The GitHub issue will be updated whenever there are any relevant developments.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Loading Time from Cart to Checkout’ is closed to new replies.