Posted: June 29, 2017 at 5:23 pm
|
Hi Support! We’re getting the “It appears your browser is not currently set to accept Cookies” error on the /registration-checkout pages after selecting a ticket type in the ticket form and proceeding to checkout. The site is hosted on pantheon.io – are you aware of any compatibility issues that would prevent EE from working on Pantheon? We’re using the following EE plugins/versions:
We’ve ensured the EE pages are excluded from the pantheon cache and also tried add the Any other ideas or is this a known issue on this platform? Thanks for your help. |
Hi there, Are you running any caching plugins? Looking at the headers for your site it looks like the server has Varnish caching enabled, have the EE checkout pages been excluded from the server side caching? https://eventespresso.com/wiki/setup-nocache-exclusion-rules-event-espresso/ |
|
|
Thanks Tony. We don’t have any extra caching plugins. Pantheon does have varnish as you can see but we’ve excluded the EE pages from this which Pantheon have confirmed is working correctly. The test link is:
Any other ideas? |
|
FYI – I just noticed there was an updated version of EE and a couple of the addons so updating those seemed to resolve it so must have been an issue in the versions we were running. |
|
So looks like I jumped the gun – it worked the first time after updating the plugins but is now still showing the Cookies error when trying to checkout. Thanks again for taking a look! |
|
Premimum support ticket raised |
Hi there, Tony followed up with an email, did you get the email he sent? I’ll add that the http headers indicate that the registration-checkout page is still being served via proxy with Varnish. Can that be configured to bypass Varnish? |
|
|
Hi Josh, |
Can you explain a little further on what you mean by ‘rebuild the checkout slugs’ please? You mean re-creating the checkout page and saving the new page as the Registration Checkout critical page? |
|
|
Hi Tony/Josh, Thanks for your help. The issue with the cookies error was the way we were forcing EE to use /events as the slug base rather than /blog/events. This has been fixed. The next issue we’re now facing is the payment options step sometimes being empty/blank which is seemingly random. Once attendee form is filled, proceeding to the next step presents a blank space underneath the Steps and a Proceed to Finalize Registration button which obviously doesn’t work since a payment option hasn’t been selected. Any ideas? I’ve got Pantheon looking into confirming the caching is excluded properly as per their documentation: Cheers, |
If you make any changes to the Registration Checkout page (like add some text to the page’s editor box) then refresh the page in a logged out window does the change appear? |
|
|
Yeah making a change to the page and refreshing in incognito the change appears… |
Hmm, any errors in the error logs? You may need to enable WP_DEBUG on the site to log the errors. You can use a snippet like this: https://gist.github.com/Pebblo/8787f5530ea777c84aaf62f075e55b32 Within your wp-config.php file to log any errors to |
|
|
Hi all,
|
It sounds like they don’t have a solution that will work with Event Espresso 4’s dynamic checkout. |
|
|
Hi Josh, We’re in a difficult situation here I’m afraid because the choice of Pantheon as hosting provider has been made for various brands and countries within our company (Silver Chef Limited). It provides a lot of benefits in terms of release and change management. Therefore, it’s not an option to host elsewhere. Within Pantheon’s dev environment there is no issue; the process works every time. We had asked why dev always worked and received the following reply: “Assets (cs/js/etc.) aren’t cached in dev, so that seems to be relevant. Can you ask the author plugin why the cached assets (which seems to be a js file) breaks the plugin. It’s an anti-pattern not to cache static assets and goes against best practices in general. If they can narrow down where this is occurring and work around it, it would enable many people to use the plugin on the platform. Unfortunately, we don’t have the option of varying the Varnish vcl on a site-by-site basis. Kind regards Mike Richardson Is there absolutely no workaround here? We’re close to having to look elsewhere to meet our events plugin needs but have put in a lot of effort already with Event Espresso and would obviously really like to avoid such this scenario. Thanks, Ross |
Hi Ross, Normally caching the JS assets does not break Event Espresso’s functionality. I’m not convinced that caching JS is the cause of the problem, the problem doesn’t happen everytime correct? When the payment step returns a blank page are you seeing any JavaScript errors in the console? Does Pantheon support have a support tech that can look at the server logs for when the blank pages occurred? One thing that might help, and this is only a guess based on the very limited knowledge of the situation, is you can try encoding the session data. You go to Event Espresso > General Settings > Admin Options and set Encode Session Data to Yes then save the page. |
|
|
Hi Josh, Unfortunately enabling that option hasn’t resolved the issue. It’s difficult for me to explain the exact scenario in which the payment steps do not appear, but if usually if I clear browser cache or do a hard refresh (ctrl+F5) the payment details appear. Cheers, Ross |
Hi Ross, Your reply didn’t answer any of the questions I asked. Maybe you and Pantheon can work out getting an account set up where Event Espresso staff can investigate further? We’d need full access to a server where we’d have no restrictions to make changes, and this would need to be a live environment (because there are no issues on Pantheon’s dev environment). It would also be helpful if Pantheon can provide some specific documentation about how they have caching set up on the live environment, and how the caching can be excluded/disabled/bypassed. |
|
The support post ‘Cookies Error on Checkout on Pantheon.io’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.