Forum Replies Created

Viewing 15 posts - 16 through 30 (of 31 total)
  • Author
    Posts
  • in reply to: Adding MailChimp subscribers from Quform w/ Groups #21021
    clearscope
    Participant

    Hello,

    We have tried now with the group ID but it still does not work. The values within the Quform field do match exactly. However, even when we try without using the Quform array for groups and enter the groups manually into the code, to test, the group info still does not come through. So it seems that something is missing or incorrect with the code to have the group info entered, because it doesn’t work even without the Quform field.

    Perhaps it has something to do with the “For MailChimp API v3” notes at the top of the article? It seems that the code that you provided is for the v2.0 solution, so maybe this could be part of it?

    We understand that this is outside of your scope of support. It is a bummer because we are so close to having this working, and we have already invested a lot of time into trying to get this integration working properly. But we do need to be able to have the groups, and we understand that you do not support this.

    If it’s not possible for MailChimp groups to work with Quform, is there another form plugin that you could recommend that can?

    in reply to: Adding MailChimp subscribers from Quform w/ Groups #21002
    clearscope
    Participant

    Hello,

    We can now confirm that the submissions are going through to MailChimp with the original code (without GROUPINGS). However when the GROUPINGS code is included the submissions do not go through at all. So there seems to be an issue with the GROUPINGS code.

    So to summarize, when we use the following code, the submissions DO work:

     $mergeVars = array(
    		'MERGE1' => $form->getValue('iphorm_21_1'),
    		'MERGE2' => $form->getValue('iphorm_21_2'),
    		'MERGE3' => $form->getValue('iphorm_21_4'),
    		'MERGE4' => $form->getValue('iphorm_21_5'),
    		'MERGE6' => $form->getValue('iphorm_21_6'),
    		'MERGE17' => $form->getValue('iphorm_21_7')
    	); 

    However, when we add the GROUPINGS code as follows, the submissions DO NOT work and nothing is entered into MailChimp at all (it basically breaks the form):

     $mergeVars = array(
    		'MERGE1' => $form->getValue('iphorm_21_1'),
    		'MERGE2' => $form->getValue('iphorm_21_2'),
    		'MERGE3' => $form->getValue('iphorm_21_4'),
    		'MERGE4' => $form->getValue('iphorm_21_5'),
    		'MERGE6' => $form->getValue('iphorm_21_6'),
    		'MERGE17' => $form->getValue('iphorm_21_7')
    	);
    		
    	$mergeVars = array(
    		'GROUPINGS' => array(
    			array(
    				'name' => "Email lists to join:", // You can use either 'name' or 'id' to identify the group
    				'groups' => array($form->getValue('iphorm_21_8'))
    			)
    		)
    	); 

    Additionally, when we try instead adding the GROUPINGS code to the same $mergeVars as for the fields, the submissions DO work (so it does not break the form), but the GROUPINGS data is still not entered into Mailchimp:

     $mergeVars = array(
    		'MERGE1' => $form->getValue('iphorm_21_1'),
    		'MERGE2' => $form->getValue('iphorm_21_2'),
    		'MERGE3' => $form->getValue('iphorm_21_4'),
    		'MERGE4' => $form->getValue('iphorm_21_5'),
    		'MERGE6' => $form->getValue('iphorm_21_6'),
    		'MERGE17' => $form->getValue('iphorm_21_7'),
    		'GROUPINGS' => array(
    			array(
    				'name' => "Email lists to join:", // You can use either 'name' or 'id' to identify the group
    				'groups' => array($form->getValue('iphorm_21_8'))
    			)
    		)
    	); 

    Could you please help us sort out how to get this working properly?

    in reply to: Adding MailChimp subscribers from Quform w/ Groups #20989
    clearscope
    Participant

    Hello,

    Thank you very much for the reply.

    Actually upon checking the Mailchimp account it seems that our submission from March 16th did actually go through properly. So there seems to be some sort of delay with Mailchimp whereby data does not seem to be immediately added (which makes testing a bit cumbersome). But it does seem to be working, which is great.

    The only thing that we have not been able to confirm is the GROUPINGS, which did not go through. However it’s possible that the recorded submission was made before the GROUPINGS code was added. We have performed an additional test now with that coded included and will follow up in Mailchimp.

    We have also reset the API per your instructions.

    Many thanks!

    in reply to: Form not sending to conditional recipients #20980
    clearscope
    Participant

    Hello,

    We are still having issues with not receiving all email submissions.

    We have now sent along the requisite info as directed above to info@themecatcher.net

    Thank you

    in reply to: Adding MailChimp subscribers from Quform w/ Groups #20967
    clearscope
    Participant

    Hello,

    We would very much like to get our Quform form working with Mailchimp, but non of our submissions appear in the Mailchimp account.

    Can you please help us here to get this working? Is there something wrong with the code that we are using?

    Thank you!

    • This reply was modified 8 years, 4 months ago by clearscope.
    in reply to: Adding MailChimp subscribers from Quform w/ Groups #20959
    clearscope
    Participant

    Hello,

    Thank you for the reply.

    However we do not seem to be able to get the integration to work, even without the GROUPINGS mergeVars.

    Even after testing multiple times, we cannot get any submission to actually appear in the Mailchimp account.

    Here is the code that we have added to the functions.php file. Can you please tell us if there is something wrong with the code that is preventing it from working properly?

    function my_save_to_mailchimp($form)
    {
        if (!class_exists('MCAPI')) {
            require_once dirname(__FILE__) . '/MCAPI.class.php';
        }
     
    	$api = new MCAPI('key');
    	$listId = 'listid';
    	$email = $form->getValue('iphorm_21_3'); 
    	// OPTIONAL: if you are saving additional fields to MC, set the merge tags, otherwise set $mergeVars to an empty array
    	$mergeVars = array(
    		'MERGE1' => $form->getValue('iphorm_21_1'),
    		'MERGE2' => $form->getValue('iphorm_21_2'),
    		'MERGE3' => $form->getValue('iphorm_21_4'),
    		'MERGE4' => $form->getValue('iphorm_21_5'),
    		'MERGE6' => $form->getValue('iphorm_21_6'),
    		'MERGE17' => $form->getValue('iphorm_21_7')  
    	);
    		
    $mergeVars = array(
        'GROUPINGS' => array(
            array(
                'name' => "Email lists to join:", // You can use either 'name' or 'id' to identify the group
                'groups' => array($form->getValue('iphorm_21_8'))
            )
        )
    );
     
        // Other settings
        $emailType = 'html';
        $doubleOptin = false;
        $updateExisting = false;
        $replaceInterests = false;
        $sendWelcome = false;
     
        $api->listSubscribe($listId, $email, $mergeVars, $emailType, $doubleOptin, $updateExisting, $replaceInterests, $sendWelcome);
    }
    add_action('iphorm_post_process_21', 'my_save_to_mailchimp', 10, 1);
    • This reply was modified 8 years, 4 months ago by Ally. Reason: Removed API key
    Attachments:
    You must be logged in to view attached files.
    in reply to: Forms not sending with SMTP #18925
    clearscope
    Participant

    It seems that we have finally found an answer to this issue, and I will post it here in case anyone else should ever run into a similar problem:

    Apparently the new server for this website is “using an SSL certificate that has a conflict with php5.6.” As such, we have had to revert to php5.4, which then solves the issue. So it is a problem with the SSL certificate used by the server.

    I should note that the only way that we were able to get the web host to find and admit this problem was to reference a second separate website, at the same web host (on a different server) ,that did not have the issue. And, then, to use a basic php script on the 2 different servers, outside of the websites (such as can be found here https://support.rackspace.com/how-to/test-php-smtp-functionality/), and then to reference both scripts to the web host to show that one was working and the other was not.

    in reply to: Forms not sending with SMTP #18681
    clearscope
    Participant

    Hello,

    Yes, even when we disable all plugins and switch to a default WordPress theme, the problem still exists.

    We understand that it is not a Quform issue.

    Even though we were not able to solve the problem, we are very appreciative of your support in this matter.

    Thank you very much for your help…

    in reply to: Forms not sending with SMTP #18674
    clearscope
    Participant

    Hello,

    We have contacted the web host – they have looked into things in detail and they assert that there is nothing being blocked and nothing on the server end that would be causing this issue.

    We have also tested on another website that uses the same web host, and the problem does not exist there (which seems to confirm that it is not an issue with the server or web host).

    Thank you

    in reply to: Forms not sending with SMTP #18631
    clearscope
    Participant

    Thank you very much for the clarification.

    However, even when we try to use a different SMTP server, like Gmail, it still does not work.

    Additionally, there is an issue whereby when we send the test using the Gmail settings, the page hangs for several minutes before completing the test. This originally also occurred when we first tested using our server settings, after upgrading to the new server.

    Either way, it still does not work even using Gmail settings. So there definitely seems to be some sort of conflict somewhere.

    We do not understand why this issue would appear when everything was working properly previously. The only thing that changed was that we upgraded servers (same exact web host, just new server).

    It looks like we will have to stay with PHP mail() for the moment and perhaps switch to a different form system at some point that does not have this issue.

    in reply to: Forms not sending with SMTP #18588
    clearscope
    Participant

    Hello,

    We are not sure what exactly you are saying here. It is set to PHP mail() currently because the Quform forms will currently only send via PHP mail()

    Even when we change the mailer option from within WP Mail SMTP to “Send all WordPress emails via SMTP.”, the Quform forms still will not send via SMTP.

    We want the Quform forms to send via SMTP. Previously this worked fine, but ever since we changed servers, the Quform forms will no longer send via SMTP.

    Can you please help us get the Quform forms to once again send via SMTP?

    Thank you…

    in reply to: Forms not sending with SMTP #18570
    clearscope
    Participant

    Hello,

    We have tried each of these options but are still experiencing the problem.

    We are now sending along an email info@themecatcher.net, per your instructions.

    Thank you

    in reply to: Forms not sending with SMTP #18532
    clearscope
    Participant

    Hello,

    Thank you for your response.

    However, the issue is still persisting.

    We actually already had the WP-Mail-SMTP plugin installed on our site. And when we follow the referenced instructions to send a test email via the WP-Mail-SMTP plugin, the email comes through fine and without issue, and the result is: bool(true)

    However, when we use those same exact SMTP settings within the Quform forms, the emails do not come through at all. And so we still have to use PHP mail() currently for them to work properly.

    As mentioned previously, this issue did not exist until we recently changed servers. Prior to that, all of the Quform forms sent emails using SMTP without any problem.

    Thank you…

    in reply to: Application has disappeared #15611
    clearscope
    Participant

    Hi Ally,

    Thank you very much, what a relief!

    Can you please let me know when the fix has been applied to the plugin so that I can test it?

    The reason is, we are going to be using upwards of 10 or more conditional recipients, which will correspond with the dropdown in the form (i.e. which course they are applying for). This is going to be a huge help to us, as it makes it possible for us to use a single form, instead of having to create a new form for each course. We are very excited about it.

    As the course list will change throughout the year, with new courses being added and past courses being removed, it would be very nice to confirm that there won’t be some sort of fatal error (as happened here) if a course is removed from the dropdown list but not from the corresponding conditional recipients. If you could please just let me know when the fix is applied so that I can test it it would be greatly appreciated.

    Thank you very much again for fixing this,

    Justin

    in reply to: Application has disappeared #15604
    clearscope
    Participant

    Ok I have now sent an email to info@themecatcher.net with the specified information…

Viewing 15 posts - 16 through 30 (of 31 total)
Be inspired. © 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy