• Resolved alastairt

    (@alastairt)


    Sync is working fine between my site and MailerLite using WPFusion Lite but when a user’s email address is changed in my site it isn’t replicated in MailerLite, even though I have Duplicate and Delete set up. In the WPFusion log it just says it pushed the new email address meta-data, nothing about copying and deleting the current entry and replacing it with a new entry.

    Any suggestions on how I can fix this would be very much appreciated. I plan on upgrading to the full version of WPF once my site is up and running and I have customers, but for now I can’t afford it.

    I’ve got v3.34.0 of WPFusion Lite, which I understand is the latest version. I’m also running WP v6.5.4 with PHP v8.1.28

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jack Arturo

    (@verygoodplugins)

    Hey @alastairt ,

    Can you send a screenshot of the WP Fusion logs around the time of the change? Please use a test account so no sensitive data is shared.

    The logs should show a message “Email address change detected from X to Y…” and then an API call will be sent to delete the subscriber and re-create them with the new address.

    It may also be helpful to enable the HTTP API logging (https://wpfusion.com/documentation/getting-started/activity-logs/#http-api-logging) as this will show the responses from Mailerlite. How it should work is:

    1. Meta data is synced to Mailerlite, including the new email
    2. Mailerlite responds with a copy of the subscriber’s data in ML
    3. If the email address in the response doesn’t match (when converted to lowercase) the address in the initial update (step 1), the subscriber will be duplicated and deleted

    Let us know what you find out ??

    Jack

    Thread Starter alastairt

    (@alastairt)

    Hi Jack, hope you’re having a good weekend.

    Thanks for coming back so quickly. I couldn’t see how to attach files to this reply so I’ve placed the files you requested in a shared Dropbox folder at https://www.dropbox.com/scl/fo/0ykpj5vrikbzt98zi5isq/AJbtj1p0WeC6DQOFQYzjDK4?rlkey=krmghmbomgkptyt087o1088of&st=z6t2crzu&dl=0:

    Files are: HTTP log, screen shot of regular log, and screen shot of Duplicate & Delete setting. I’ve replaced everything in the HTTP log that looked like it could be a security issue (API keys, IDs, IPs etc.) with XXXXXXXXXXXXXX and I’ve redacted the ID in the regular log screenshot (no idea if that’s important or not but thought better safe than sorry). Hopefully that leaves enough for you to work with.

    The test was for a dummy email that was originally [email protected], which I changed to [email protected]. As you’ll see from the log, the only message sent is for the email change, nothing else and certainly nothing that says “Email address change detected from X to Y…”

    I also tried it with the API Queue turned on and turned off. Made no difference.

    Let me know how you get on and thanks again for your help

    Alastair

    Thread Starter alastairt

    (@alastairt)

    PS. I should also have said that I’ve noticed that meta-data fields are sometimes sync’d along with the email address and sometimes they aren’t. Not sure if it’s dependent on the meta-data having changed as well?

    Plugin Author Jack Arturo

    (@verygoodplugins)

    @alastairt Thanks for the details! I set up a test on my end and I was able to reproduce it. The email address comparison was looking for the wrong place in the response data.

    We have that fixed for today’s update of the full plugin, and we will release the change in the Lite version on July 16th (along with the WordPress 6.6 update).

    Thread Starter alastairt

    (@alastairt)

    That was quick! Thanks for letting me know

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Duplicate and Delete not working with MailerLite’ is closed to new replies.