• Resolved avelop

    (@avelop)


    Hi there,

    I’m using WordPress 4.8 and User Sync 1.5.4. with ARMember, date format it’s ok DD/MM/YYYY and at Mailchimp I’m mapping dates as DD/MM/YYYY but when a new user register on my website as 06 October 1974 (06/10/1974)for example, Mailchimp changes date to 10th May 1974, and if it’s DD +12 then displays error because there’s no more than 12 months. Is there anyone having same problem?

    I tried to downgrade to 1.5. and the problem persists, so I don’t know what to do. ??

    Here’s screen-video-capture https://vermutproductions.com/dates-mailchimp-user-sync.mp4

    Thanks’ for your help I’m not a code man and don’t know how to solve that.

    All bests,

    Eric

Viewing 1 replies (of 1 total)
  • Plugin Contributor Lap

    (@lapzor)

    Hi Eric,

    Officially we can’t offer this kind of support for MailChimp UserSync. Every situation seems to be unique and we advice to hire your own developer if possible. Here is some code snippets to get your developer started: https://github.com/ibericode/mc4wp-snippets/tree/master/add-ons/user-sync

    I think it will end up something like this, where you convert the input date from ARM to the format that MailChimp prefers.

    add_filter( ‘mailchimp_sync_subscriber_data’, function( MC4WP_MailChimp_Subscriber $subscriber, $user ) {

    // MailChimp field name: FOODATE

    $subscriber->merge_fields[‘FOODATE’] = INSERT MAGIC HERE;

    return $subscriber;
    }, 10, 2 );

    Hope that helps. If you have any questions, please let us know!

Viewing 1 replies (of 1 total)
  • The topic ‘SYNC DATES FORMAT CHANGED MONTH PER DAY’ is closed to new replies.