Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Campaign Monitor - ConsentToTrack is set to Yes but still Failed Queue #2076

Open
pbmills opened this issue Oct 2, 2024 · 9 comments
Open

Comments

@pbmills
Copy link

pbmills commented Oct 2, 2024

Describe the bug

I am getting this error
Screenshot 2024-10-02 at 2 41 38 PM

In the Integration I have set the ConsentToTrack 'Yes'
Screenshot 2024-10-02 at 2 40 53 PM

Steps to reproduce

  1. Set the ConsentToTrack to Yes
  2. Fill the form and send a form

Form settings

  • Multi-page form: No
  • Submission Method: Ajax

Craft CMS version

5.4.5.1

Plugin version

3.0.7

Multi-site?

No

Additional context

No response

@engram-design
Copy link
Member

Can't seem to replicate this sorry. Can you confirm if you've refreshed the integration (clicking the refresh button next to where you select your list)? I can see your mappings to consent values are set to "Yes", so that otherwise looks correct to me.

@pbmills
Copy link
Author

pbmills commented Oct 2, 2024 via email

@engram-design
Copy link
Member

Hmm, a blank value should be impossible, as Yes or No are the only two options we set.

There's no custom module code or anything altering behaviour?

@pbmills
Copy link
Author

pbmills commented Oct 2, 2024 via email

@engram-design
Copy link
Member

Can you send through a support request via Formie > Settings > Get Support for that form? I would like to see your integration mappings as stored in the database, just to double check things are all okay.

@pbmills
Copy link
Author

pbmills commented Oct 2, 2024 via email

@engram-design
Copy link
Member

Thanks for that, I can confirm your form settings are all correct. As an example, my job detail looks like:

{
    "description": null,
    "submissionId": 16796,
    "payload": {
        "EmailAddress": "[email protected]",
        "Name": null,
        "CustomFields": [],
        "Resubscribe": true,
        "RestartSubscriptionBasedAutoresponders": true,
        "ConsentToTrack": "Yes",
        "ConsentToSendSms": "No"
    },
    "integration": {
        "apiKey": ".........",
        "clientId": ".........",
        "fieldMapping": {
            "Email": "{field:email}",
            "Name": "{field:multiName.firstName}",
            "MobileNumber": "",
            "ConsentToTrack": "true",
            "ConsentToSendSms": "false"
        },
        "listId": "b26198236334d2a12d6f8f92c45b2",

@pbmills
Copy link
Author

pbmills commented Oct 2, 2024 via email

@engram-design
Copy link
Member

What does the job detail look like compared to my above example? Re-running the job should update any field mapping you have defined in your form settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants