Support » Plugin: Notification - Custom Notifications and Alerts for WordPress » 6.0 issues with ACF form and notification emails

  • Resolved bemdesign

    (@bemdesign)


    We’re using the Notification plugin with Custom Fields and Conditionals extensions on a site with an Advanced Custom Fields front-end form. After the recent plugin update, we’ve noticed that when the form is submitted, email notifications are missing data from the form that were previously captured and sent just fine. We’ve turned on logging/debugging and we’re not seeing anything there.

    With the updated Notification plugin we are no longer capturing and sending the ACF form submitters name or the date/time for the submitted event registration.

    Example old-plugin emails:

    {Name of Submitter}:
    
    Unfortunately, we are unable to accommodate your request below.
    
    Date: 10/25/2019 at 9:00 am
    
    Event: {Event Name}
    
    Room Requested: {Room}

    Example updated plugin emails:

    :
    
    Unfortunately, we are unable to accommodate your request below.
    
    Date: at
    
    Event: {Event Name}
    
    Room Requested: {Room}

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Kuba Mikita

    (@kubitomakita)

    Hi, sorry that update caused the issues. Have you updated ACF as well?

    Any custom integration with ACF front-end form and Notification plugin?

    bemdesign

    (@bemdesign)

    Thanks for the quick response!

    We are running the latest public ACF release. There is no custom integration with ACF beyond the Notification Custom Fields extension. We do have a customization for ACF itself but that’s to make certain fields required on the front-end form. It is a decently complex system though.

    Oh there is a custom plugin for Notification as well but that’s to handle saving draft posts triggering a notification. The plugin code looks like this:

    add_filter( 'notification/trigger/wordpress/post/updated/statuses', function( $statuses ) {
    	$statuses[] = 'draft';
    	return $statuses;
    } );
    Plugin Author Kuba Mikita

    (@kubitomakita)

    Sure, that’s ok.

    So you are inserting a custom post type with ACF front-end form and executing Post published or Post added trigger?

    bemdesign

    (@bemdesign)

    So we have three notification triggers:

    1. Event added
    2. Event published
    3. Event declined (declined is a custom post status that’s like draft status)

    When the ACF form is completed, it creates a draft Event post and triggers the first notification.

    If the Event post is published, it triggers the Event published notification.

    If the Event is set to “declined” and another draft is saved, it triggers the Event declined notification.

    Hope this helps! One other item – it looks like there are updates for the Notification plugin extensions – perhaps that may be playing into this issue. I’ll update those extensions and test it out and report back.

    Thanks for your help!

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Ahhh yes, the Custom Fields extension is not compatible anymore! Please update everything to make it work properly.

    I’m happy to report back that updating the extensions resolved the issues we experienced. Thank you again for your help and for developing such a great plugin!

    Plugin Author Kuba Mikita

    (@kubitomakita)

    Awesome!

    Can I ask you to rate the plugin as well? Shouldn’t take more than 15 seconds 🙂 Thanks!

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