PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

setting up problems with AWeber and generally

s2Member Plugin. A Membership plugin for WordPress®.

setting up problems with AWeber and generally

Postby sarahpjwhite » December 16th, 2011, 4:56 am

Hi,
I wonder if someone could offer me some help/advice? I've just installed s2Member (not Pro) onto my Wordpress site and although the register link works, the person registering doesn't get anything from AWeber (AWeber doesn't even register a new signup).

At the moment I have only level 0 as I want to add the other levels at a later date. I have made the member options, log in and private pages but haven't put the download links on the member site yet, as I have had to add an AWeber optin form above the register link on the member options page until I can solve this issue (as I can either use S2Member and have them sign up to the memberships OR have them sign up through AWeber - I can't do both).

I've gone into AWeber and added the s2Meber parser (I haven't clicked to test it, as I'm unsure what email details I am supposed to put in the box) and I've enabled Paypal debugging but I don't know how to access the error files.

So, I need to know a) how to access the error files logs, b) can I add code for S2Member to my AWeber HTML code for my optin box or c) how do I get AWeber & S2Member to play nicely together and d) what email details go in AWeber to test the parser?

Any help would be appreciated. :)

Thanks
Sarah
(I've reposted this as a new topic as I previously posted as a reply to someone elses question in error!)
User avatar
sarahpjwhite
Registered User
Registered User
 
Posts: 6
Joined: December 15, 2011

Re: setting up problems with AWeber and generally

Postby Cristián Lávaque » December 17th, 2011, 4:48 am

Hi Sarah. :)

Could you post a screenshot of the email parser you configured for s2Member in AWeber?

You can find the log files via FTP in this dir: /wp-content/plugins/s2member-logs/

What do you mean by adding s2Member code to the AWeber opt-in HTML?

To AWeber you'd add the emails you want to the list you chose for Level 0. WP Admin -> s2Member -> API / List Servers -> AWeber
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: setting up problems with AWeber and generally

Postby sarahpjwhite » December 17th, 2011, 5:25 am

Hi Cristian

I've attached an image of my email parser screenshot - I still don't know what email to paste into the box in Aweber to test the parser though. Sorry, it's probably really obvious, but I couldn't work it out!

thanks for your help,
Sarah
Attachments
Image 2.jpg
User avatar
sarahpjwhite
Registered User
Registered User
 
Posts: 6
Joined: December 15, 2011

Re: setting up problems with AWeber and generally

Postby sarahpjwhite » December 17th, 2011, 6:01 am

Just a quick update - I opened the log files and copied the information into the 'test parser before saving' - and it tested ok. I've now subscribed as a member but I still don't get anything from AWeber and it doesn't show me receiving any new subscribers in AWeber either.

I've also created the file and installed wp mail debug - and that too, worked fine (I received an email to say mail had been successfully sent. I've also checked that the AWeber list is live.

Does anyone have any suggestions? I noticed under a previous post that there was a comment about someone else having this same problem - but there wasn't any further posts on it.

Can anyone help please?
User avatar
sarahpjwhite
Registered User
Registered User
 
Posts: 6
Joined: December 15, 2011

Re: setting up problems with AWeber and generally

Postby Cristián Lávaque » December 19th, 2011, 5:23 am

I'll ask Jason for his input.

Could you tell me what version of s2Member and WordPress you're running, please?

Also, could you post the log file x'ing out any private info?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: setting up problems with AWeber and generally

Postby Jason Caldwell » December 19th, 2011, 1:13 pm

Are you aware of the 12 hour rule?
This can cause some confusion, particularly during heavy testing against a similar set of email addresses.
Please see: http://www.aweber.com/faq/questions/184 ... Message%3F


Logging for AWeber is currently enabled together with logging/debugging routines for your Payment Gateway. Please see: s2Member -> PayPal Options -> Account Details -> Logging/Debugging.

Once enabled, run a test registration, and then look for:
/wp-content/plugins/s2member-logs/aweber-api.log.


Another neat trick is to BCC yourself on the email command that s2Member sends to AWeber. This email can be used to test your Custom Email Parser, and also to determine whether or not your AWeber integration with s2Member is functioning properly.

Create this directory and file:
/wp-content/mu-plugins/s2-aweber-bcc.php
( these are MUST USE plugins, see: http://codex.wordpress.org/Must_Use_Plugins )
Code: Select all
<?php
add_filter 
("ws_plugin__s2member_aweber_bcc", "s2_aweber_bcc"); function s2_aweber_bcc ()
    {
        return get_bloginfo ("admin_email");
    }
?>
* You will now get a copy of all email commands to subscribe to your AWeber list.
s2-aweber-bcc.zip
(282 Bytes) Downloaded 240 times
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: setting up problems with AWeber and generally

Postby sarahpjwhite » January 3rd, 2012, 7:53 am

Hi Jason

Thanks for jumping in to help! I've been using several email addresses to avoid the 12 hour rule. I've also done as you suggested - added the bcc file and run a test subscription (using the free subscriber log-in link etc). I'm also using the latest wordpress and S2 member (free version) with aweber and paypal.

I've received a copy of the email (which shows that it was sent to my correct autoresponder list ID@aweber.com) - email states:

s2Member Subscription Request
s2Member w/ PayPal Email ID
Ad Tracking: s2Member-selfconfidenceworkshops.co.uk
EMail Address: xxxxx
Buyer: xxxxx
Full Name: xxxxxx
First Name: xxxxx
Last Name: xxxxx
IP Address: xxxxx
User ID: 9
Login: xxxxxxxx
Role: subscriber
Level: 0
CCaps:
- end.

The Aweber API file for my previous test (prior to bcc was set up) shows:

PHP v5.2.17 :: WordPress® v3.3 :: s2Member® v111220
Memory 17.55 MB :: Real Memory 17.75 MB :: Peak Memory 17.56 MB :: Real Peak Memory 17.75 MB
selfconfidenceworkshops.co.uk/wp-login.php?action=register
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB7.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
array (
'function' => 'process_list_servers',
'func_get_args' =>
array (
0 => 'subscriber',
1 => '0',
2 => 'sophielwhite',
3 => 'xxxxxxxxxxx',
4 => 'xxxx@xxxxxxxxxx',
5 => 'sophie',
6 => 'xxxxxx',
7 => 'xxxxxxxxx',
8 => true,
9 => true,
10 => 8,
),
'wp_mail_method' => 'listSubscribe',
'list_id' => 'selfconfidencew',
'bcc' => false,
'pass_inclusion' => false,
'wp_mail_sbj' => 's2Member Subscription Request',
'wp_mail_msg' => 's2Member Subscription Request
s2Member w/ PayPal Email ID
Ad Tracking: s2Member-selfconfidenceworkshops.co.uk
EMail Address: info@selfconfidenceworkshops.co.uk
Buyer: xxxxxxxxxxx
Full Name: xxxxxxxxx
First Name: xxxxx
Last Name: xxxxx
IP Address: xxxxxxxx
User ID: 8
Login: xxxxxxxxx
Role: subscriber
Level: 0
CCaps:
- end.',
'wp_mail_headers' => 'From: "xxxxxxxxxx" <info@selfconfidenceworkshops.co.uk>
Content-Type: text/plain; charset=utf-8',
'wp_mail_response' => true,
'wp_mail_success' => true,
)
User avatar
sarahpjwhite
Registered User
Registered User
 
Posts: 6
Joined: December 15, 2011

Re: setting up problems with AWeber and generally

Postby Jason Caldwell » January 5th, 2012, 12:41 am

Thanks for the follow-up.

So this confirms that everything is working on your installation, on the s2Member side of things. I would now start looking at your Custom Email Parser for AWeber. If there is still an issue, it has to be with your Custom Email Parser configuration.

Please follow the instructions here:
viewtopic.php?f=36&t=15496

You can also run live tests inside your AWeber account, against your Custom Email Parser, using this message body. Be sure to leave the Fake: header and double line break in there during live testing. AWeber provides a box where you can paste this in, to test your Email Parser.
Code: Select all
Fake: header


s2Member Subscription Request
s2Member w/ PayPal Email ID
Ad Tracking: s2Member-selfconfidenceworkshops.co.uk
EMail Address: xxxxx
Buyer: xxxxx
Full Name: xxxxxx
First Name: xxxxx
Last Name: xxxxx
IP Address: xxxxx
User ID: 9
Login: xxxxxxxx
Role: subscriber
Level: 0
CCaps:
- end.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: setting up problems with AWeber and generally

Postby sarahpjwhite » January 5th, 2012, 3:48 am

Hi Jason

Thank you sooooo much - it works!!!!! I tested it previously and it seemed to work, but I copied and pasted the email parser in again and added 2 lines. I noticed that when I tested it the Email address rule wasn't showing as matched - I had set up the original as 'Email' and in the code you gave me it was 'EMail' so I guess that was the main problem :D

Thanks to you and Cristian for all your help :D
User avatar
sarahpjwhite
Registered User
Registered User
 
Posts: 6
Joined: December 15, 2011

Re: setting up problems with AWeber and generally

Postby Cristián Lávaque » January 5th, 2012, 5:16 am

You're welcome Sarah! Glad you got it working. :)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: No registered users and 2 guests

cron