Share via E-Mail
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

iContact Integration



MarkR
member
Posts: 3


I am looking for a way to automatically get e-Junkie subscribers into i-Contact using the Common Notification URL feature in e-Junkie. iContact only has an API and is telling me that simply plugging in a URL like the following WON'T work:

The URL for the Contacts resource would look like: https://app.icontact.com/icp/a/[accountId]/c/[clientFolderId]/contacts

The URL for the Subscriptions resource would be: https://app.sandbox.icontact.com/icp/a/{accountid}/c/{clientfolderid}/subscriptions/{subscriptionId}

If anyone has integrated the 2 programs successfully using the Common Notification URL only, I sure would love to know. Thanks in advance.


#
POSTED ON: June 8, 2011 @ 08:02 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 4354


If iContact supports PayPal IPN, they may be able to accept our IPN-style Integration submissions, as long as they don't need to validate the IPN with PayPal (which would fail since we are not PayPal), and as long as they can handle or ignore the extra fields we transmit that are not part of the standard IPN data set. If this is the case, then you could indeed put an iContact IPN URL in your Common Notification URL field or (if you only want them notified for sales of specific products) a product's Payment Variable Information URL field.

If iContact does not accept PayPal IPN, or if they must validate IPNs with PayPal or cannot handle the extra fields we transmit, then you could have a custom "middleman" script programmed for you, which would receive the IPN-style data from us and then retransmit it to iContact in a format they can accept. An "off the shelf" script may already exist to integrate PayPal IPN with iContact, which may need little if any modification to work with our IPN-style submissions. For help with this approach, we can recommend the competent, E-junkie-experienced developers listed in our directory here:
http://www.e-junkie.com/ej/developer-directory.htm

You might also consider is our built-in integration with Aweber as an alternative to iContact:
http://www.e-junkie.com/ej/help.integration.htm#aweber


#
POSTED ON: June 8, 2011 @ 17:48 GMT -7




astridman
member
Posts: 2


For anyone looking to do integration with iContact and e-Junkie, here is some PHP code that you can use (THANKS SO MUCH to e-Junkie and iContact for NOT bothering to get some notes on this somewhere...instead providing a non-answer of here's our list of developers and an integration solution for a completely different service, COOL!)

Of course, you'll need to replace the listid, specialid, and clientid variables with your own (I placed X's in place of mine) You can rip these from the create-a-form HTML feature at iContact) The use of the listid will allow you to stick the purchaser's info in a given list if desired, otherwise you can remove it.

Then set your Common Notification URL to http://www.example.com/icontact_post.php

good luck!


<?
$email = $_POST['payer_email'];

$sendic = array('fields_email'=>$email,
'fields_fname'=>$first_name,
'fields_lname'=>$last_name,
'fields_address1'=>$address,
'fields_city'=>$city,
'fields_state'=> $state,
'fields_zip'=>$zip,
'fields_custom1'=>$custom1,
'fields_custom2'=>$custom2,
'listid'=>'XXXXX',
'specialid:XXXXX'=>'SARP',
'clientid'=>'XXXXXX',
'realistid'=>'1',
'doubleopt'=>'0',
'redirect'=>'none',
'errorredirect'=>'none');
$url = 'https://app.icontact.com/icp/signup.php';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $sendic);
$result = curl_exec($ch);
curl_close($ch);
echo $result;

?>


#
POSTED ON: November 22, 2012 @ 12:09 GMT -7




E-JunkieMonster
E-Junkie Crew
Posts: 564


Thank you for providing this information to our other users. Since E-junkie is a basic and low cost one-size-fits-most service we don't have any way to provide full support for every third party service out there although we do try to be as open and flexible as possible to allow for personal customization where it is necessary.


#
POSTED ON: November 23, 2012 @ 15:06 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam