• I am facing the issue when I have to close twice the popup to go back to my page.

    This happens only on the first load of the page.

    Strange.

    Please take a look at this short video.

    Thanks

Viewing 15 replies - 1 through 15 (of 24 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    Sorry but the video is not working.

    Thank you

    Thread Starter hamarkhis

    (@hamarkhis)

    Hello,

    I am sorry for this.

    Please go to this one this should be ok.

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, do you have a cache plugin installed in your site?

    Thank you

    Thread Starter hamarkhis

    (@hamarkhis)

    No, I don’t

    Plugin Contributor Alexander C.

    (@alexanderfoxc)

    Hi.

    Your page source code indicate that you do have caching enabled. Following lines are added to every page on your site:

    <!–
    generated in 0.257 seconds
    10885 bytes batcached for 300 seconds
    –>

    Please try to disable this caching and see if the issues persist.

    Aside from having issues with popup, there is another (much more serious) issue because of this caching. This cache caches all the data used on payment popup. For example, when you accessed payment popup as logged in user, it picked up your name and email. Then, when ANY OTHER user is accessing this page, it would have YOUR username and email displayed. Also you will have issues with security tokens because of this caching (security token from one user will be CACHED for ALL users, which would be producing errors).

    You need to EXCLUDE payment popup URLs from caching. If your caching plugin supports excluding, then exclude all URLs that begin with https://example.com/?asp_action=show_pp (where example.com should be replaced to your actual site domain).

    Plugin Contributor Alexander C.

    (@alexanderfoxc)

    This is what happens when I payment popup displays for me: https://imgur.com/a/w4cGR0q

    As you can see, there are some username and email prefilled because of caching (I’ve edited out last name and email address on the screenshot). And those are obviously not mine.

    Thread Starter hamarkhis

    (@hamarkhis)

    Hello,

    Thanks reaching out.

    I’m investigating on this.

    Thread Starter hamarkhis

    (@hamarkhis)

    Well I’m afraid I am on the video site and I don’t see any caching plugins.

    I verified with my provider, we don’t see the message `<!–
    generated in 0.257 seconds
    10885 bytes batcached for 300 seconds
    –>`

    Maybe you’re talking about the other site, but we don’t have any cache plugins installed and still no trace about the message you are talking about.

    Plugin Contributor Alexander C.

    (@alexanderfoxc)

    Yep, I’m talking about other site. Open Private Browsing in your browser, then open any page of the site, view source code of the page and you’ll see following (this is main page of the site): https://i.imgur.com/Rz3bdjC.png

    Thread Starter hamarkhis

    (@hamarkhis)

    OK we are on it.
    Caused by Batcache enabled by default from my provider.

    When Batcache is disabled on one customer, the popup closing function is ok.

    So we are going to disable cache on all pages where customers have Stripe Payment buttons. It should be ok.

    Thanks so much for this.

    I close this ticket and remove the video.

    Plugin Contributor Alexander C.

    (@alexanderfoxc)

    No problem, glad you have it resolved.

    We have plans to add an option that would allow to handle situations like that – e.g. when too excessive caching is being used. However, can’t currently give any ETA as we still need to thoroughly research and discuss this feature with the team.

    Thread Starter hamarkhis

    (@hamarkhis)

    Sorry I’m afraid, the issue is still there…

    The payment page is not being cached because a user have to be logged in to see it… so the cache hypothesis is not the good one.

    We have put exclusions on wp-config.php too and source code has been checked, Batcache is not enabled on payment pages.

    So I don’t know what’s happening on this !

    Plugin Contributor Alexander C.

    (@alexanderfoxc)

    Perhaps things got cached by browser?

    Can you clear browser cache and try again? Also, try to do this using browser Private Mode and not logging in to the site.

    Thread Starter hamarkhis

    (@hamarkhis)

    When I am clearing cache browser and going incognito mode, the issue has dissapeared.

    But when I clear the cache and stay in normal mode, the issue is still there.

    Weird!

    Thread Starter hamarkhis

    (@hamarkhis)

    I definitely don’t like caches… I really don’t understand this difference! Maybe cookies?

Viewing 15 replies - 1 through 15 (of 24 total)

The topic ‘Issue when closing the popup’ is closed to new replies.