Support

Home Forums Event Espresso Premium Tax settings keeps being reset

Tax settings keeps being reset

Posted: May 5, 2016 at 4:23 am


Railpromo

May 5, 2016 at 4:23 am

Dear Josh,

Referring to this thread: https://eventespresso.com/topic/tax-to-be-paid-even-if-promotion-value-is-high-enough/#post-200716 the problem seemed to be solved for a couple of days. However since upgrading to a new theme yesterday, we’re back to this same issue – the setting will not be stored for longer than a couple of hours or so.

Could you update me on whether you implemented a fix and if so, what the problem was?

Best,
Luc


Josh

  • Support Staff

May 5, 2016 at 8:23 am

Hi there,

We haven’t found the source of the problem, but it may be a clue that the theme may have triggered this. We do have a branch that adds additional logging code that attempts to capture the what triggers resetting the settings. Would it be okay if we installed that branch on your site and turned on error logging?


Railpromo

May 5, 2016 at 9:20 am

Yes, you have permission to do so. Thank you!


Josh

  • Support Staff

May 5, 2016 at 1:20 pm

Okay we’ll do. We have the FTP credentials, but after so many days the WP Admin credentials were deleted. Can you please send WP admin level credentials via the form on this page?

https://eventespresso.com/send-login-details/


Josh

  • Support Staff

June 16, 2016 at 1:57 pm

Update:
We found a fix for the Promotions settings getting reset and the fix is included in the latest releases of Event Espresso 4 core and the Promotions add-on. You can update to Event Espresso 4.9.2 and/or Promotions 1.0.7 to get the fix.


Railpromo

June 20, 2016 at 8:20 am

Dear Josh,

I’m running Promotions 1.0.7, but the problem still occurs.
Should this be enough or does it need the EE update to 4.9.2 for it to work? I.e. not a standalone fix?

Best,
Luc


Josh

  • Support Staff

June 20, 2016 at 8:39 am

Both have different approaches to fixing the issue we saw on your site, which by the way was the WP Heartbeat API was triggering the Promotions settings to get reset.


Railpromo

June 21, 2016 at 11:53 am

Dear Josh,

Unfortunately, the problem persists after updating both the EE4 plugin als the promotions plugin to the latest version.

Best,
Luc


Josh

  • Support Staff

June 21, 2016 at 12:44 pm

Thanks for letting me know. I’ve informed the developer that’s assigned the tickets for fixing the promotions add-on.


Railpromo

July 5, 2016 at 1:54 pm

Dear Josh,
Sorry for being a pain, but could you update me on this ticket? Handling the failed promotion registrations on a daily basis is a hassle and does cause some bad publicity after all, hence why I’m hoping for a solution.
Thanks for your great support!


Josh

  • Support Staff

July 5, 2016 at 3:09 pm

While we haven’t found the exact cause of why the Promotions config keeps getting reset on your site, we added a filter hook in version 1.0.8.p that you can use to make it so the Promotions Affects Taxes setting is *always* set to Yes. After you update your site to have Promotions 1.0.8.p, you add this code to your site:

add_filter( 'FHEE__EE_Promotions_Config__affects_tax', '__return_true' );

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


Josh

  • Support Staff

July 5, 2016 at 3:10 pm

Better formatted code examples are here:

https://eventespresso.com/wiki/ee4-promotions-add-on/#customizations


Railpromo

July 6, 2016 at 2:09 am

Thx, works like a charm. 🙂

The support post ‘Tax settings keeps being reset’ 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.

Event Espresso