• Resolved tiger383

    (@tiger383)


    We are working on a site that has a PayPal “Pay in 4” message on all the product pages. Most of the products have multiple options which all have different prices. When you choose among the different options using the buttons, the product price changes instantly, as it should. BUT, there is a lag time for the PayPal “Pay in 4” message to change price. This lag time takes between 2 and 7 seconds. We have seen other non-Wordpress websites that have this same PayPal message, but the prices change instantly along with the product prices when different options are chosen. So it is possible, but something is causing a delay on our site. We’ve done plug-in conflict checking, updated all plug-ins to latest versions, and have even had tech support at our webhost look at this. A couple different developers have looked into this issue and still no answers. Any ideas what is causing this or how we can fix this?

    I originally posted this problem in the WooCommerce core plug-in forum. You can find more information here:

    https://wordpress.org/support/topic/help-with-paypal-message-lag-time-woocommerce-related/#post-17944278

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter tiger383

    (@tiger383)

    The website I’m referencing below is not WordPress but it has the same PayPal “Pay in 4” message. Notice how the price in this PayPal message changes instantly when you choose different color options. It changes as fast as the product price changes. No lag time. This is what we want to accomplish on our site.

    https://www.whitehouseblackmarket.com/store/product/strapless-pleated-tie-waist-dress/570369729?inseam=regular&sizeType=regular&color=001&catId=cat35049281&collectionId=category

    • This reply was modified 5 months, 2 weeks ago by tiger383.
    Thread Starter tiger383

    (@tiger383)

    FYI – The WooCommerce PayPal Payments plugin loads the PayPal “Pay in 4” message section in an iframe. It’s not custom coded.

    Thread Starter tiger383

    (@tiger383)

    Is there anybody there? I really need some help here.

    Moderator Support Moderator

    (@moderator)

    @tiger383 Please don’t bump your threads here: https://wordpress.org/support/forum-user-guide/faq/#should-i-bump-my-post-if-no-one-answers

    The developers or support community for this free plugin will reply to you as soon as they can.

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @tiger383

    Thanks for reaching out to us, we’re here to help.

    Comparing the price refresh rate of Pay Later between a WordPress-based site and a static site isn’t very practical due to the complexity of WordPress components and other third-party factors that can affect refresh speed. Factors like hosting performance and various other elements also play a significant role.

    A meaningful comparison would only be possible if you could point to a site using our plugin where the refresh rate is noticeably faster using the same hosting.

    Is there anybody there? I really need some help here.

    Regarding responses, our team operates Monday through Friday. So, if you raised this issue on a Saturday, the earliest you would receive a response would be Monday morning, as has just happened. We apologize for any inconvenience.

    Let me know if you have further questions.

    Kind regards,
    Krystian

    Thread Starter tiger383

    (@tiger383)

    Hi, I didn’t get email notice that there was a response herek so my reply is delayed. Anyway, I know what you mean about it being hard to compare the PayPal message speed on a WordPress site versus a non-Wordpress site. I don’t have the slightest idea how to research or find a site that uses your plug-in that has a PayPal message that loads faster.

    My point in showing you the link to the site where the message is faster is to show it can be done. This message is a part of your plug-in. So there must be a glitch in your plug-in that causes this. The delay in price changes looks very unprofessional and might be confusing to my customers.

    We have done extensive testing to see if there are plug-in conflicts. I have had my webhost check server performance, which is fine. I have literally had about 5 different developers look into this with no answers. The most recent one I spoke with told me I need to get help direct from WooCommerce PayPal Payments support to fix this. So are you now telling me you don’t know what to do either?

    I need to discuss this with a developer directly involved with this plug-in, please, so we can fix it. Unfortunately, if we can’t fix this we may not be able to use your plug-in at all, as the PayPal message is important to us.

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @tiger383

    When changing e.g. the product quantities, the plugin queries WooCommerce for the new price. This is done to get the most accurate pricing amount which includes taxes, shipping, and possibly other mandatory fees. So the instalment amounts in the Pay Later messaging reflect the full amount the buyer must pay for the complete transaction. It works exactly as intended and any delays in the update of the instalment amounts can be due to two factors:

    1. The webserver performance -> how fast does WooCommerce return the updated amount after the request
    2. The cart simulation being throttled

    For the first one, there is nothing we can directly do about it as the webserver performance is outside of our control. On our end it performs quite smooth, as you can see on this recording: https://drive.google.com/file/d/1XdvhllZ5L0I5530oovocd6fZ_PnWx7KP/view

    For the cart simulation, some filters allow setting the interval in which it may trigger: https://github.com/woocommerce/woocommerce-paypal-payments/wiki/Actions-and-Filters#modify-cart-simulation-behavior
    The lower the $throttling value, the more often the cart simulation will trigger and update the messaging installment amounts.

    There is a feature request in our backlog to use local prices instead of querying. Local price would mean we don’t query WooCommerce but instead take the product/cart amounts from the HTML source – most likely similar to the static website you mentioned. This would result in instant updates to the messaging, but the amounts shown in the messaging may not factor in every possible part of the order total (taxes, shipping cost, other fees, etc.)

    There has been little demand for this and it is not the expected behavior for the majority of users. In many cases, it would result in incorrect or misleading installment amounts being displayed for buyers.

    We may be able to provide a filter to only use local prices sometime in the coming weeks. I will update the thread accordingly.

    I hope this clarifies some confusion, please let us know if you have further questions or doubts.

    Kind regards,
    Krystian

    Thread Starter tiger383

    (@tiger383)

    Hi Krystian,

    Now I understand a lot more clearly why this lag is happening. Thank you for the thorough explanation. In our case, the “local prices” as you described is much preferable, especially since our site has free shipping on every order and very few locations are required to pay taxes at this point.

    If you could have the ability to use local prices on the PayPal messages added to your plug-in, that sounds ideal, as we like your plug-in otherwise. It’s the PayPal price lag which is causing much frustration, to the point where we have been considered re-working our checkout area and using a new plug-in entirely. (We’d like to avoid that if at all possible.) I’m forward this info to my developer to see if he has any further questions for you.

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @tiger383

    I’ll mark this thread as resolved for now. If there are any updates on the issue you mentioned, I will update you accordingly.

    If you still have any questions or if a new problem arises, don’t hesitate to open a new thread.

    Kind regards,
    Krystian

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.