• Resolved hollykny

    (@hollykny)


    We’re having a strange problem with the payment buttons on our membership page linked above.

    On a computer, all payment links work fine. Clicking PAY brings up the popup, and clicking PayPal takes you right to the PayPal popup window.

    On a phone, however, tapping PAY opens the popup, but tapping PayPal has no effect most times. Sometimes it works if I go to the WordPress dashboard on the computer and clear the cache. Server caching is disabled, however.

    And this is very strange. If I first tap PAY under the yellow Donations section, enter an amount, and then tap PayPal, I am taken immediately to the PayPal popup on the phone. I can cancel that, and then try to pay for a membership renewal, and the PayPal popup opens just fine. It’s as if the Donation action “wakes up” PayPal. But trying to renew a membership option first may take several tries, if it works at all.

    Since we don’t have any server caching enabled, I’m assuming the problem has to do with a delay in the site talking to PayPal to wake up the window, but how can we correct this so that our members can pay without any issues?

    Thanks for any information.

    Holly

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Ruhul

    (@tips-and-tricks-hq)

    Thanks for the detailed report. The pattern you’re describing (first button works, second sometimes doesn’t, and clearing cache “fixes” it temporarily) is a classic symptom of the PayPal SDK script not being fully loaded when the button is tapped, and caching is the most common cause of that even when “server caching” itself is off. Here’s why:

    https://wp-express-checkout.com/impact-of-caching-on-e-commerce-sites/

    Even when server caching appears to be disabled, caching or optimization may still be applied by:

    • A WordPress caching or performance plugin
    • The hosting provider
    • A CDN or proxy service such as Cloudflare
    • JavaScript delay, defer, combination, or minification features

    Please make sure that both the page containing the payment buttons and the plugin’s Thank You page are excluded from caching. It would also be worth temporarily disabling any JavaScript optimization features to see whether one of them is interfering with the PayPal scripts on mobile devices.

    Some hosting providers apply caching automatically on shared hosting plans, so you may not be aware that it is active. Please contact your hosting provider and ask them to confirm that these two pages are excluded from any server-side or proxy caching.

    After applying the exclusions, clear all available caches and test the payment buttons again using a private or incognito browser window on the phone.

    Thread Starter hollykny

    (@hollykny)

    Ruhul, thank you so much for the detailed list of suggestions. I’ll contact the hosting company for some assistance. I appreciate your reply!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.