Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Seeking Aweber whitelabel "Profollow" integration capability
Tagged: aweber, estore, integration, squeeze form
- This topic has 7 replies, 2 voices, and was last updated 13 years, 10 months ago by amin007.
-
AuthorPosts
-
January 20, 2011 at 1:46 pm #2538dioni2aMember
Hey Folks,
Aweber allows people to resell their product through personalized labels. I got it through Jeff Walker, called Profollow.
It is EXACTLY Aweber except that it would use the the listname email of “list-name@profollow.com” instead of “list-name@aweber.com”. It uses the same custom parser, and in attempting to configure this to work with the eStore squeeze form, I got stuck. The emails are either not being sent to Profollow, or are not configured to be read by Profollow.
Two questions:
1. How can I get a copy of the auto-generated email that eStore sends to aweber/profollow? I need to grab a copy so that I can test it in their email parser tester.
2. Is the email the only thing that needs to change from eStore’s side, or is there something else I can do to make changes for it to work? I’m intermediate level with php/xml/xhtml.
To be clear, I posted a question much like this on the sales pages at the main site and got a response that a developer would be working on this integration, but if I can speed things up (and learn a little) by contributing from my side, I’m all for it.
Thanks!
January 21, 2011 at 5:38 am #28198amin007Participant1. Open the “eStore_includes4.php” file and look in the “eStore_send_aweber_mail” function. In that function you will see the following line:
wp_mail($list_name, $subject, $body, $headers);
Change the
$list_name
variables value to your email address and the email will be sent to you instead of AWeber.2. I am not familiar with profollow so not sure what they might need. Officially we only support the following 3 autoresponders:
– AWeber
– MailChimp
– GetResponse
Do you have the “Enable this parser for all list” check in the parser that you created?
January 22, 2011 at 4:28 pm #28199dioni2aMemberHi Amin,
Thanks for the prompt response. In response to your numbered list:
1. When you say change the $list_name variable value to my email address, do you mean to actually delete the string $list_name and replace it with, for example, myemailaddress@gmail.com? If so, do I need to enclose it in quotes? To be more explicit:
wp_mail($list_name, $subject, $body, $headers);
becomes which of the following:
a. wp_mail(myemailaddress@gmail.com, $subject, $body, $headers);
b. wp_mail(“myemailaddress@gmail.com”, $subject, $body, $headers);
2. I may not have been clear in my post above, but Profollow **IS** Aweber. Literally. Not a duplicate autoresponder, but the SAME one. It’s just that Aweber allows folks to sell Aweber’s services under their own unique name, or “white label.” So when I go to set up a new mailing list inside Profollow, it’s checking for a unique list name through the entire Aweber database, including all the white label services. One Aweber databases serves all the white label companies.
So when I followed your directions to set up a custom email parser in Profollow, it was exactly what you you showed in your pictures of Aweber, because it IS Aweber. Is that clearer?
YES, I did enable the parser for all lists. I haven’t been able to test it properly because I didn’t have an actual email that would be sent. When you provide me the answer to question #1 above, I’ll be able to do that, and will probably be able to get the rest done.
As I mentioned in my initial post above, according to Aweber, the listname goes to listname@profollow.com instead of listname@aweber.com. So, can I go in and change the copy of the subject line and body of the email in eStore_includes4.php to say “Profollow” instead of “Aweber”? Is there anywhere else I would need to make changes in the WP eStore code to make sure it’s sending the email to listname@profollow.com, or can that be done simply by entering that email address in the Aweber autoresponder settings?
Thanks again for all your help.
January 22, 2011 at 5:09 pm #28200dioni2aMemberOkay,
Did a little research. Determined that the value had to be enclosed in quotes.
Then I tested.
I cleared my customer databases so I could use my email addresses again.
Tried changing $list_name to an email address enclosed in single quotes, and then again in double quotes. Tried it with two different email addresses.
Each time, I get the opt-in download link message, but NO AUTORESPONDER NOTIFICATION MESSAGE.
Here is the simple test page I’m using:
http://findyourwayontheinternet.com/quick-opt-in/
Here is the code from wp_includes4.php:
<?php
function eStore_send_aweber_mail($list_name,$from_address,$cust_name,$cust_email)
{
$subject = "Aweber Automatic Sign up email";
$body = "nnThis is an automatic email that is sent to AWeber for member signup purposen".
"nEmail: ".$cust_email.
"nName: ".$cust_name;
$headers = 'From: '.$from_address . "rn";
wp_mail('dioni2a@iglide.net', $subject, $body, $headers);
}
function eStore_send_notification_email($to_address, $subject, $body, $from_address, $attachment='')
{
if (get_option('eStore_use_wp_mail'))
{
$headers = 'From: '.$from_address . "rn";
wp_mail($to_address, $subject, $body, $headers);
return true;
}
else
{
if(@eStore_send_mail($to_address,$body,$subject,$from_address,$attachment))
{
return true;
}
else
{
return false;
}
}
}
?>Can you see what I’m missing? I almost thought that I didn’t have wp_mail enabled or configured correctly somehow, but I AM getting the customer message. It’s just apparently not even SENDING the autoresponder notification message.
Help?!
January 22, 2011 at 5:21 pm #28201dioni2aMemberI’ve also done a couple screen-capture pics of my profollow custom email parser configuration. One thing I’ve noticed is that, even though I check the box for enable parser for all lists, every time I open up the parser using the “edit parser” link, it shows the checkbox as clear.
Here’s the view of the parser detail:
Here’s the parser as it shows in the list:
http://insighttoadvance.com/training/wp-estore-custom-parsers-listing-2011-01-22_0916.png
As a reminder and per my previous post, the notification email is apparently never even REACHING the parser as it seems to never leave the site — at least I haven’t gotten anything from it yet after a couple attempts — so I have yet to test that the notification message is in the right format to test it in the parser tester.
Looking forward to your assistance on this!
January 23, 2011 at 5:01 am #28202amin007ParticipantThats very strange… can you please check the “Global AWeber Signup” checkbox and specify the list name just below that settings field and see what happens?
January 23, 2011 at 4:30 pm #28203dioni2aMemberHi Amin,
The checkbox has been checked through this entire process, with listname “find-your-way@aweber.com”. You can see a screen-cap here:
http://screencast.com/t/FAu5iCNWe
Previous to this process I also tried “find-your-way@profollow.com” and that didn’t seem to do anything either. But wouldn’t this be over-ridden by the hard-coding customization using my email address in wp_includes4.php?
Next step?
January 24, 2011 at 4:38 am #28204amin007ParticipantYes the list name with get overriden by the email address you hardcoded but making sure that the checkbox is checked helps.
Please enable debug and place a squeeze form for a product in a test page. Now fill out the form and share the content of the “squeeze_form_debug.log” file. This will reveal if the autoresponder stuff is getting stuck somewhere or not.
-
AuthorPosts
- You must be logged in to reply to this topic.