latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Alan Churchill

Sorry, I've not written a description yet. I'll get to it soon!


My Favorite Topics

Viewing topic 1 (of 1 total)
Topic Count Last Reply
How do I integrate Clickbank? 1 2 3

By:  Scott Dinsmore in: Community Forum

voices: 3
replies: 53

4 years, 7 months ago  Cristián Lávaque

Viewing topic 1 (of 1 total)

Topics I'm Subscribed To


Topics I've Started


My Latest Replies (From Various Topics)

Viewing 25 replies - 1 through 25 (of 38 total)
Author Replies
Author Replies
Posted: Thursday Aug 1st, 2013 at 6:36 pm #54671

Looks like we’re getting somewhere – yes – thanks – will check into this again next week – thanks so much for your time!

Posted: Thursday Aug 1st, 2013 at 3:04 pm #54644

I just logged out – completely reset the browser and sent again – didnt work.

Then i tried again to a different email and it worked?

The first email i sent to hotmail (which is forwarded to a gmail)

The second one that worked is an @me.com

Could it have something to do with the forwarding set up on the email that is supposed to receive the approval Sign up confirmation email?

I guess I need to get to the bottom of why some people are not getting the emails – thanks

Posted: Thursday Aug 1st, 2013 at 2:56 pm #54643

No – I’m not?! Would this also effect those that are maybe logged into my site too?

Posted: Thursday Aug 1st, 2013 at 2:50 pm #54639

I just ran a test and it’s not coming through for me? Which is the same issue people are having when they sign up? Did you use the clickbank test credit card, or the paypal function? I just tested with the clickbank CC and i received the receipt but no email from my site. It’s not hitting my (customer) spam folder – I am baffled that it worked for you, but not for me or the last few customers?

Posted: Thursday Aug 1st, 2013 at 2:42 pm #54633

Thanks – I just saw the test purchases come through and the new user email – I did the test yesterday and i didn’t receive the confirmation email – Why would this be?

How do I use the scanner!?

Posted: Wednesday Jul 31st, 2013 at 2:07 pm #54526

Hi Christian, was just wondering if anyone had chance to delve deeper into my issue? I go away tomorrow for a few nights,so won’t be able to address any disasters, but would love to know if anything has surfaced?

Thank you.

Posted: Friday Jul 26th, 2013 at 2:33 pm #54172

~ AUTO-GENERATED NOTICE TO SUPPORT REPS

Action taken: I posted a private contact form and referenced this Topic.

Posted: Friday Jul 26th, 2013 at 2:29 pm #54170

~ AUTO-GENERATED NOTICE TO SUPPORT REPS

Action taken: I posted a private contact form and referenced this Topic.

Posted: Friday Jul 26th, 2013 at 2:09 am #54120

Hey Christian,

I have been dealing with Elance and the programmer on there has done some digging around and can not find a definite solution, but he thinks that it is IPN related and an S2 Member issue….. is there anyway we can get this fixed once and for all, I am willing to pay to get this sorted!

Thanks

Posted: Monday Jul 22nd, 2013 at 4:28 pm #53826

I’ve changed all this back to the correct settings as you suggest.

I am now using the Configure SMTP plugin. Still not working.

Dreamhost seems to think the issue maybe related to the contact.php ??

<?php
/**
 * Template Name: Contact
 * The main template file for display contact page.
 *
 * @package WordPress
*/


/**
*	if not submit form
**/

if(!isset($_GET['your_name']))
{

if(!isset($hide_header) OR !$hide_header)
{
	get_header(); 
}
?>
		<br class="clear"/>

		<!-- Begin content -->
		<div id="content_wrapper">
			
			<div class="inner">

				<!-- Begin main content -->
				<div class="inner_wrapper">
				
				
					<div class="sidebar_content">
					
						<?php echo dimox_breadcrumbs(); ?>
					
						<h2 class="widgettitle header"><?php the_title(); ?></h2>
						
						<div class="page_fullwidth">
						<?php 
							if ( have_posts() ) while ( have_posts() ) : the_post(); ?>		

									<?php the_content(); ?>

						<?php endwhile; 
						?>
						
						<form id="contact_form" method="get" action="<?php echo curPageURL(); ?>">
						    <input id="your_name" name="your_name" title="<?php echo _e( 'Name', THEMEDOMAIN ); ?>*" type="text" style="width:47%"/>
						    <br/><br/>
						    <input id="email" name="email" type="text" title="<?php echo _e( 'Email', THEMEDOMAIN ); ?>*" style="width:47%"/>
						    <br/><br/>
						    <textarea id="message" name="message" title="<?php echo _e( 'Message', THEMEDOMAIN ); ?>*" rows="7" cols="10" style="width:97%"></textarea>
						    <br/><br/>
						    <input type="submit" value="<?php echo _e( 'Send Message', THEMEDOMAIN ); ?>"/><br/><br/>
						</form>
						<div id="reponse_msg"></div>
						
						</div>
					</div>
					
					<div class="sidebar_wrapper">
						<div class="sidebar">
							
							<div class="content">
							
								<ul class="sidebar_widget">
								<?php dynamic_sidebar('Contact Sidebar'); ?>
								</ul>
								
							</div>
						
						</div>
					</div>
				
				</div>
				<!-- End main content -->
							
				<br class="clear"/>
				
<script>
$j(document).ready(function(){ 
    $j.validator.setDefaults({
    	submitHandler: function() { 
    		var actionUrl = $j('#contact_form').attr('action');
    	    
    	    $j.ajax({
  		        type: 'GET',
  		        url: actionUrl,
  		        data: $j('#contact_form').serialize(),
  		        success: function(msg){
  		        	$j('#contact_form').hide();
  		        	$j('#reponse_msg').html('<br/>'+msg);
  		        }
    	    });
    	    
    	    return false;
    	}
    });    
    	
    $j('#contact_form').validate({
    	rules: {
    	    your_name: "required",
    	    email: {
    	    	required: true,
    	    	email: true
    	    },
    	    message: "required"
    	},
    	messages: {
    	    your_name: "<?php echo _e( 'Please enter your name', THEMEDOMAIN ); ?>",
    	    email: "<?php echo _e( 'Please enter a valid email address', THEMEDOMAIN ); ?>",
    	    message: "<?php echo _e( 'Please enter some message', THEMEDOMAIN ); ?>"
    	}
    });
});
</script>
				
<?php
if(!isset($hide_header) OR !$hide_header)
{
?>	
			</div>
			
			<br class="clear"/>
		</div>
		<!-- End content -->
				

<?php get_footer(); ?>

<?php
}
?>
				
<?php
}

//if submit form
else
{

	/*
	|--------------------------------------------------------------------------
	| Mailer module
	|--------------------------------------------------------------------------
	|
	| These module are used when sending email from contact form
	|
	*/
	
	//Get your email address
	$contact_email = get_option('pp_contact_email');
	$pp_contact_thankyou = get_option('pp_contact_thankyou');
	
	//Enter your email address, email from contact form will send to this addresss. Please enter inside quotes ('myemail@email.com')
	define('DEST_EMAIL', $contact_email);
	
	//Change email subject to something more meaningful
	define('SUBJECT_EMAIL', 'Email from contact form');
	
	//Thankyou message when message sent
	define('THANKYOU_MESSAGE', $pp_contact_thankyou);
	
	//Error message when message can't send
	define('ERROR_MESSAGE', 'Oops! something went wrong, please try to submit later.');
	
	
	/*
	|
	| Begin sending mail
	|
	*/
	
	$from_name = $_GET['your_name'];
	$from_email = $_GET['email'];
	
	$mime_boundary_1 = md5(time());
    $mime_boundary_2 = "1_".$mime_boundary_1;
    $mail_sent = false;
 
    # Common Headers
    $headers = "";
    $headers .= 'From: '.$from_name.'<'.$from_email.'>'.PHP_EOL;
    $headers .= 'Reply-To: '.$from_name.'<'.$from_email.'>'.PHP_EOL;
    $headers .= 'Return-Path: '.$from_name.'<'.$from_email.'>'.PHP_EOL;        // these two to set reply address
    $headers .= "Message-ID: <".$now."webmaster@".$_SERVER['SERVER_NAME'].">";
    $headers .= "X-Mailer: PHP v".phpversion().PHP_EOL;                  // These two to help avoid spam-filters
	
	$message = 'Name: '.$from_name.PHP_EOL;
	$message.= 'Email: '.$from_email.PHP_EOL.PHP_EOL;
	$message.= 'Message: '.PHP_EOL.$_GET['message'];
	    
	
	if(!empty($from_name) && !empty($from_email) && !empty($message))
	{
		mail(DEST_EMAIL, SUBJECT_EMAIL, $message, $headers);
	
		echo THANKYOU_MESSAGE;
		
		exit;
	}
	else
	{
		echo ERROR_MESSAGE;
		
		exit;
	}
	
	/*
	|
	| End sending mail
	|
	*/
}

?>

The click bank receipt is sending.
I am NOT using paypal (except from through click bank ) and as such do not have it set up.
I am currently having to use the manual member sign up link creator to get people to register. Once people register I am receiving the new membership signup email.

I understand that this PHP might be out of your scope of support, in which case I am researching developers on elance, but if by some form of magic, you know what’s wrong, then great. Thanks

Posted: Wednesday Jul 17th, 2013 at 1:26 pm #53578

It seems that everything is ok in ther s2 member click bank set up – I dod notice though that in the API settings in click bank only the top option in the code box below was checked:

Orders/Tickets Read:	 (This gives access to view data on orders and tickets)
Orders/Tickets Write:	 (This gives orders/tickets read access, as well as access to alter orders, e.g. refund or cancel subscriptions)
Analytics API:	 (This gives access to analytics resources when used in an analytics enabled application)
Products API:	 (This gives access to product resources when used via an appropriately enabled application)
Notifications API:	 (This gives access to instant notifications resources when used via an appropriately enabled application)

Only the top one is checked? Not sure if i need to check all of them?

Also – I went to set up the S2member clickbank IPN v2.1 integration settings again – they seemed to be ok – however in clickbank alongside the IPN notification URL – it was set to v2.0. (the options are V1.0, 2.0, 2.1 and 4.0) I have changed this to v1.0.

Ran a test – still no email.

The strangest thing though, is that someone made a purchase this morning and seemed to access the site no problems. (meaning they must have received the email) I also have the smtp mail configuration plugin deactivated at the time?!

Another issue appeared last night when a customer tried to reset their password – I used the built in function to ‘reset password and resend welcome email) the email sent, but the user couldnt log in – upon me clicking save after checking the box to reset their password I was presented with this:-

SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "220 homiemail-a90.g.dreamhost.com ESMTP " 
SMTP -> get_lines(): $data is "220 homiemail-a90.g.dreamhost.com ESMTP " 
SMTP -> FROM SERVER:220 homiemail-a90.g.dreamhost.com ESMTP 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "250-homiemail-a90.g.dreamhost.com " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com " 
SMTP -> get_lines(): $str is "250-PIPELINING " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com 250-PIPELINING " 
SMTP -> get_lines(): $str is "250-SIZE 40960000 " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 " 
SMTP -> get_lines(): $str is "250-ETRN " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN " 
SMTP -> get_lines(): $str is "250-STARTTLS " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-STARTTLS " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-STARTTLS " 
SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN " 
SMTP -> get_lines(): $str is "250-AUTH=PLAIN LOGIN " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN " 
SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES " 
SMTP -> get_lines(): $str is "250 8BITMIME " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250 8BITMIME " 
SMTP -> FROM SERVER: 250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-STARTTLS 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250 8BITMIME 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "220 2.0.0 Ready to start TLS " 
SMTP -> get_lines(): $data is "220 2.0.0 Ready to start TLS " 
SMTP -> FROM SERVER:220 2.0.0 Ready to start TLS 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "250-homiemail-a90.g.dreamhost.com " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com " 
SMTP -> get_lines(): $str is "250-PIPELINING " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com 250-PIPELINING " 
SMTP -> get_lines(): $str is "250-SIZE 40960000 " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 " 
SMTP -> get_lines(): $str is "250-ETRN " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN " 
SMTP -> get_lines(): $str is "250-AUTH PLAIN LOGIN " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-AUTH PLAIN LOGIN " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-AUTH PLAIN LOGIN " 
SMTP -> get_lines(): $str is "250-AUTH=PLAIN LOGIN " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN " 
SMTP -> get_lines(): $str is "250-ENHANCEDSTATUSCODES " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES " 
SMTP -> get_lines(): $data was "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES " 
SMTP -> get_lines(): $str is "250 8BITMIME " 
SMTP -> get_lines(): $data is "250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250 8BITMIME " 
SMTP -> FROM SERVER: 250-homiemail-a90.g.dreamhost.com 250-PIPELINING 250-SIZE 40960000 250-ETRN 250-AUTH PLAIN LOGIN 250-AUTH=PLAIN LOGIN 250-ENHANCEDSTATUSCODES 250 8BITMIME 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "334 VXNlcm5hbWU6 " 
SMTP -> get_lines(): $data is "334 VXNlcm5hbWU6 " 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "334 UGFzc3dvcmQ6 " 
SMTP -> get_lines(): $data is "334 UGFzc3dvcmQ6 " 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "235 2.7.0 Authentication successful " 
SMTP -> get_lines(): $data is "235 2.7.0 Authentication successful " 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "250 2.1.0 Ok " 
SMTP -> get_lines(): $data is "250 2.1.0 Ok " 
SMTP -> FROM SERVER:250 2.1.0 Ok 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "250 2.1.5 Ok " 
SMTP -> get_lines(): $data is "250 2.1.5 Ok " 
SMTP -> FROM SERVER:250 2.1.5 Ok 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "354 End data with . " 
SMTP -> get_lines(): $data is "354 End data with . " 
SMTP -> FROM SERVER:354 End data with . 
SMTP -> get_lines(): $data was "" 
SMTP -> get_lines(): $str is "250 2.0.0 Ok: queued as 8CCD42AC05D " 
SMTP -> get_lines(): $data is "250 2.0.0 Ok: queued as 8CCD42AC05D " 
SMTP -> FROM SERVER:250 2.0.0 Ok: queued as 8CCD42AC05D 

Warning: Cannot modify header information - headers already sent by (output started at /home/alachu1/traktortips.com/wp-includes/class-smtp.php:803) in /home/alachu1/traktortips.com/wp-includes/pluggable.php on line 876

As the guy couldnt log in again, I decided to reset his password and also his IP details: – This time I was presented with the same code!

I am now looking into hiring a developer through Elance and hoping they can sort this issue out? Is this something you would recommend?

Posted: Friday Jul 12th, 2013 at 11:31 am #53356

I also just noticed this>>

LOG ENTRY: Thu Jul 11th, 2013 @ precisely 6:43 pm UTC
PHP v5.3.13 :: WordPress® v3.5.2 :: s2Member® v130617 :: s2Member® Pro v130617
Memory 34.24 MB :: Real Memory 34.50 MB :: Peak Memory 34.35 MB :: Real Peak Memory 34.50 MB
traktortips.com/?s2member_pro_clickbank_return=1&s2member_pro_clickbank_return_success=http%3A%2F%2Ftraktortips.com%2Fbasics_course_thank-you&item=1&cbreceipt=9RJ3F43E&time=1373568210&cbpop=C794084F&cbaffi=EDTUCKER&cname=alan+tester&cemail=adc181%40hotmail.com&ccountry=CA&czip=V0R2Z0&cbskin=4786&cbfid&cbur&cbf&s2_invoice=1&s2_p1&s2_p3&s2_desc=My+Product+Access+%2F+description+and+pricing+details+here.&s2_custom=traktortips.com&s2_customer_ip=216.57.186.189&s2_referencing=1&_s2member_sig=1373568179-a62ea48d19216a2e404fd7952f271df1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1
array (
  'item' => '1',
  'cbreceipt' => '9RJ3F43E',
  'time' => '1373568210',
  'cbpop' => 'C794084F',
  'cbaffi' => 'EDTUCKER',
  'cname' => 'alan tester',
  'cemail' => 'adc181@hotmail.com',
  'ccountry' => 'CA',
  'czip' => 'V0R2Z0',
  'cbskin' => '4786',
  'cbfid' => '',
  'cbur' => '',
  'cbf' => '',
  's2_invoice' => '1',
  's2_p1' => '',
  's2_p3' => '',
  's2_desc' => 'My Product Access / description and pricing details here.',
  's2_custom' => 'traktortips.com',
  's2_customer_ip' => '216.57.186.189',
  's2_referencing' => '1',
  '_s2member_sig' => '1373568179-a62ea48d19216a2e404fd7952f271df1',
  's2member_log' => 
  array (
    0 => 'Return-Data received on: Thu Jul 11, 2013 6:43:44 pm UTC',
    1 => 's2Member POST vars verified with ClickBank®.',
    2 => 'Sleeping for 5 seconds. Giving ClickBank® a chance to finalize processing.',
    3 => 'Awake. It\'s Thu Jul 11, 2013 6:43:49 pm UTC. Processing will continue.',
    4 => 'Unable to obtain API vars. The ClickBank® API may NOT have data for this order yet. Or, your ClickBank® API Keys are NOT configured properly under `s2Member -› ClickBank® Options`.',
    5 => 'array (
  \'s2member_pro_clickbank_return\' => \'1\',
  \'s2member_pro_clickbank_return_success\' => \'http://traktortips.com/basics_course_thank-you\',
  \'item\' => \'1\',
  \'cbreceipt\' => \'9RJ3F43E\',
  \'time\' => \'1373568210\',
  \'cbpop\' => \'C794084F\',
  \'cbaffi\' => \'EDTUCKER\',
  \'cname\' => \'alan tester\',
  \'cemail\' => \'adc181@hotmail.com\',
  \'ccountry\' => \'CA\',
  \'czip\' => \'V0R2Z0\',
  \'cbskin\' => \'4786\',
  \'cbfid\' => \'\',
  \'cbur\' => \'\',
  \'cbf\' => \'\',
  \'s2_invoice\' => \'1\',
  \'s2_p1\' => \'\',
  \'s2_p3\' => \'\',
  \'s2_desc\' => \'My Product Access / description and pricing details here.\',
  \'s2_custom\' => \'traktortips.com\',
  \'s2_customer_ip\' => \'216.57.186.189\',
  \'s2_referencing\' => \'1\',
  \'_s2member_sig\' => \'1373568179-a62ea48d19216a2e404fd7952f271df1\',
)',
    6 => 'Return-Data reformulated. Piping through s2Member\'s core/standard PayPal® processor with `proxy_use` ( `ty-email` ).',
    7 => 'Please check PayPal® RTN logs for further processing details.',
    8 => 'http://traktortips.com/?s2member_pro_clickbank_return&s2member_paypal_return=1&s2member_paypal_proxy=clickbank&s2member_paypal_proxy_use=standard-emails%2Cty-email&s2member_paypal_return_success=http%3A%2F%2Ftraktortips.com%2Fbasics_course_thank-you&s2member_paypal_proxy_verification=1373568230-98c4abea97f6a3c3c9320817db60a3ac',
  ),
)
Posted: Friday Jul 12th, 2013 at 11:28 am #53355

Don’t know if this helps – but there’s a bunch of these >

LOG ENTRY: Thu Jul 11th, 2013 @ precisely 6:43 pm UTC
PHP v5.3.13 :: WordPress® v3.5.2 :: s2Member® v130617 :: s2Member® Pro v130617
Memory 34.03 MB :: Real Memory 34.25 MB :: Peak Memory 34.10 MB :: Real Peak Memory 34.25 MB
traktortips.com/?s2member_pro_clickbank_return=1&s2member_pro_clickbank_return_success=http%3A%2F%2Ftraktortips.com%2Fbasics_course_thank-you&item=1&cbreceipt=9RJ3F43E&time=1373568210&cbpop=C794084F&cbaffi=EDTUCKER&cname=alan+tester&cemail=adc181%40hotmail.com&ccountry=CA&czip=V0R2Z0&cbskin=4786&cbfid&cbur&cbf&s2_invoice=1&s2_p1&s2_p3&s2_desc=My+Product+Access+%2F+description+and+pricing+details+here.&s2_custom=traktortips.com&s2_customer_ip=216.57.186.189&s2_referencing=1&_s2member_sig=1373568179-a62ea48d19216a2e404fd7952f271df1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1
array (
  'state' => 'response',
  'transport_class' => 'WP_HTTP_curl',
  'args' => 
  array (
    'method' => 'GET',
    'timeout' => 20,
    'redirection' => 5,
    'httpversion' => '1.1',
    'user-agent' => 'WordPress/3.5.2; http://traktortips.com',
    'reject_unsafe_urls' => false,
    'blocking' => true,
    'headers' => 
    array (
      'Accept' => 'application/json',
      'Authorization' => 'DEV-A2EBDB8BFACF413850EB65BD553148A068BC:API-2A3A9A6A32EEC504FF0736A53C1A0CDEB359',
      'Accept-Encoding' => 'deflate;q=1.0, compress;q=0.5',
    ),
    'cookies' => 
    array (
    ),
    'body' => NULL,
    'compress' => false,
    'decompress' => true,
    'sslverify' => false,
    'stream' => false,
    'filename' => NULL,
    's2member' => '130617',
    '_redirection' => 5,
    'ssl' => true,
    'local' => false,
  ),
  'url' => 'https://api.clickbank.com/rest/1.2/orders/9RJ3F43E',
  'response' => 
  array (
    'headers' => 
    array (
      'date' => 'Thu, 11 Jul 2013 18:44:13 GMT',
      'server' => 'Apache/2.2.24 (FreeBSD) mod_jk/1.2.37 mod_ssl/2.2.24 OpenSSL/0.9.8y',
      'set-cookie' => 'JSESSIONID=43F4F64D7E28FDD37A4A5D430560B9A6.AW2; Path=/api; Secure; HttpOnly',
      'vary' => 'Accept-Encoding',
      'transfer-encoding' => 'chunked',
      'content-type' => 'text/html',
    ),
    'body' => '

<html>
<body>
    HTTP Status 410, The requested resource is no longer available at the server.<br/>
    
        <b>API v1.0 - v1.2 deprecated. Please use v1.3. For more information please see: http://bit.ly/10M8Hg2</b>
    
</body></html>',
    'response' => 
    array (
      'code' => 410,
      'message' => 'Gone',
    ),
    'cookies' => 
    array (
      0 => 
      WP_Http_Cookie::__set_state(array(
         'name' => 'JSESSIONID',
         'value' => '43F4F64D7E28FDD37A4A5D430560B9A6.AW2',
         'expires' => NULL,
         'path' => '/api',
         'domain' => NULL,
         'secure' => '',
         'httponly' => '',
      )),
    ),
    'filename' => NULL,
  ),
)

ALSO dreamhost is saying something is not working with the email sending as it’s bouncing, but I have followed all the steps and set up everything as both their and your support articles suggest. I am now beginning to think there is something in my contact.php that could be messing it all up?

Any ideas?

<?php
/**
 * Template Name: Contact
 * The main template file for display contact page.
 *
 * @package WordPress
*/


/**
*	if not submit form
**/

if(!isset($_GET['your_name']))
{

if(!isset($hide_header) OR !$hide_header)
{
	get_header(); 
}
?>
		<br class="clear"/>

		<!-- Begin content -->
		<div id="content_wrapper">
			
			<div class="inner">

				<!-- Begin main content -->
				<div class="inner_wrapper">
				
				
					<div class="sidebar_content">
					
						<?php echo dimox_breadcrumbs(); ?>
					
						<h2 class="widgettitle header"><?php the_title(); ?></h2>
						
						<div class="page_fullwidth">
						<?php 
							if ( have_posts() ) while ( have_posts() ) : the_post(); ?>		

									<?php the_content(); ?>

						<?php endwhile; 
						?>
						
						<form id="contact_form" method="get" action="<?php echo curPageURL(); ?>">
						    <input id="your_name" name="your_name" title="<?php echo _e( 'Name', THEMEDOMAIN ); ?>*" type="text" style="width:47%"/>
						    <br/><br/>
						    <input id="email" name="email" type="text" title="<?php echo _e( 'Email', THEMEDOMAIN ); ?>*" style="width:47%"/>
						    <br/><br/>
						    <textarea id="message" name="message" title="<?php echo _e( 'Message', THEMEDOMAIN ); ?>*" rows="7" cols="10" style="width:97%"></textarea>
						    <br/><br/>
						    <input type="submit" value="<?php echo _e( 'Send Message', THEMEDOMAIN ); ?>"/><br/><br/>
						</form>
						<div id="reponse_msg"></div>
						
						</div>
					</div>
					
					<div class="sidebar_wrapper">
						<div class="sidebar">
							
							<div class="content">
							
								<ul class="sidebar_widget">
								<?php dynamic_sidebar('Contact Sidebar'); ?>
								</ul>
								
							</div>
						
						</div>
					</div>
				
				</div>
				<!-- End main content -->
							
				<br class="clear"/>
				
<script>
$j(document).ready(function(){ 
    $j.validator.setDefaults({
    	submitHandler: function() { 
    		var actionUrl = $j('#contact_form').attr('action');
    	    
    	    $j.ajax({
  		        type: 'GET',
  		        url: actionUrl,
  		        data: $j('#contact_form').serialize(),
  		        success: function(msg){
  		        	$j('#contact_form').hide();
  		        	$j('#reponse_msg').html('<br/>'+msg);
  		        }
    	    });
    	    
    	    return false;
    	}
    });    
    	
    $j('#contact_form').validate({
    	rules: {
    	    your_name: "required",
    	    email: {
    	    	required: true,
    	    	email: true
    	    },
    	    message: "required"
    	},
    	messages: {
    	    your_name: "<?php echo _e( 'Please enter your name', THEMEDOMAIN ); ?>",
    	    email: "<?php echo _e( 'Please enter a valid email address', THEMEDOMAIN ); ?>",
    	    message: "<?php echo _e( 'Please enter some message', THEMEDOMAIN ); ?>"
    	}
    });
});
</script>
				
<?php
if(!isset($hide_header) OR !$hide_header)
{
?>	
			</div>
			
			<br class="clear"/>
		</div>
		<!-- End content -->
				

<?php get_footer(); ?>

<?php
}
?>
				
<?php
}

//if submit form
else
{

	/*
	|--------------------------------------------------------------------------
	| Mailer module
	|--------------------------------------------------------------------------
	|
	| These module are used when sending email from contact form
	|
	*/
	
	//Get your email address
	$contact_email = get_option('pp_contact_email');
	$pp_contact_thankyou = get_option('pp_contact_thankyou');
	
	//Enter your email address, email from contact form will send to this addresss. Please enter inside quotes ('myemail@email.com')
	define('DEST_EMAIL', $contact_email);
	
	//Change email subject to something more meaningful
	define('SUBJECT_EMAIL', 'Email from contact form');
	
	//Thankyou message when message sent
	define('THANKYOU_MESSAGE', $pp_contact_thankyou);
	
	//Error message when message can't send
	define('ERROR_MESSAGE', 'Oops! something went wrong, please try to submit later.');
	
	
	/*
	|
	| Begin sending mail
	|
	*/
	
	$from_name = $_GET['your_name'];
	$from_email = $_GET['email'];
	
	$mime_boundary_1 = md5(time());
    $mime_boundary_2 = "1_".$mime_boundary_1;
    $mail_sent = false;
 
    # Common Headers
    $headers = "";
    $headers .= 'From: '.$from_name.'<'.$from_email.'>'.PHP_EOL;
    $headers .= 'Reply-To: '.$from_name.'<'.$from_email.'>'.PHP_EOL;
    $headers .= 'Return-Path: '.$from_name.'<'.$from_email.'>'.PHP_EOL;        // these two to set reply address
    $headers .= "Message-ID: <".$now."webmaster@".$_SERVER['SERVER_NAME'].">";
    $headers .= "X-Mailer: PHP v".phpversion().PHP_EOL;                  // These two to help avoid spam-filters
	
	$message = 'Name: '.$from_name.PHP_EOL;
	$message.= 'Email: '.$from_email.PHP_EOL.PHP_EOL;
	$message.= 'Message: '.PHP_EOL.$_GET['message'];
	    
	
	if(!empty($from_name) && !empty($from_email) && !empty($message))
	{
		mail(DEST_EMAIL, SUBJECT_EMAIL, $message, $headers);
	
		echo THANKYOU_MESSAGE;
		
		exit;
	}
	else
	{
		echo ERROR_MESSAGE;
		
		exit;
	}
	
	/*
	|
	| End sending mail
	|
	*/
}

?>
Posted: Thursday Jul 11th, 2013 at 12:59 pm #53302

I’m sorry – but I’m back! The email has stopped sending again?! I have tried changing the email address to another dreamhost hosted address and I have also checked the “Set the return-path to match the From Email” in the WP Mail SMTP plugin and tested i with that too. Still no joy……

I’m at a loss……

I even tried a different smtp plugin instead of ‘WP Mail smtp’ – I tried ‘Configure SMTP’ – both send the test email fine, but still nothing when running a test purchase?

I have also submitted another support ticket to Dreamhost!

Posted: Sunday Jun 30th, 2013 at 3:32 am #52821

I’ll definitely spend some time figuring out that tip – thanks.

Just ran a test before replying to this and (touch wood) it seems to be back on track. i have my fingers crossed that it was just dreamhost server issues with their anti-spam and things settling down now! I’m still not 100% relaxed about the process, but i am very happy with your diligent support, help and tips.

I’m looking forward to your future updates that enable multiple (non-teired) products. Thanks again for the great service!

Posted: Saturday Jun 29th, 2013 at 8:58 pm #52813

Thank you so much for keeping your eye on this – I really do appreciate your help.

didn’t look like something I’ve seen the Visual editor do before

It does this every time I switch from visual to text – ever since i figured that out, I always just leave it in text mode.

Thanks – will keep you posted with any changed to the sign up confirmation email. ;-)

Posted: Saturday Jun 29th, 2013 at 7:11 pm #52809

I did receive a reply from Dreamhost, saying that the emails are getting bounced due to some new anti-spam setting they recently put in place.

They directed me to this help article http://wiki.dreamhost.com/Sender_Domain_Policy_and_Spoofing#Sender_domain_policy._What_is_it.3F

Before changing anything I decided to run a test, which was successful and then another real purchase came through, which was also successful.

I have had 2 successful emails now! I have changed nothing since my last message. I’m losing confidence in the set up of the plugin combined with dream host and can’t relax not knowing whether it’s going to continue working.

For now I will keep my fingers crossed that the emails continue to be sent…… watch this space….. thanks

Posted: Saturday Jun 29th, 2013 at 2:03 pm #52806

Thanks Christian – I am using the new code – (The code wasn’t broken before, maybe it broke because you went into visual mode) The custom template with cbskin is now working Thanks.

Still no emails!?

I have also updated to the latest wordpress and have set the wp mail smtp up properly so that I am even receiving the test email.

I have submitted a ticket to Dreamhost to see if the problem lies with them……? (Tracking number for their support is 5830442)

I have tried disabling various plugins, but I can’t seem to solve this one!!! It’s so strange – could there be anything to do with mailchimp integration??

I am at a loss….

Posted: Friday Jun 28th, 2013 at 2:49 pm #52755

Ok – I know you guys are going off for the weekend which is why I hope to catch you. The email stopped sending!!!

I therefore updated the S2 member framework and the pro software.

I then ran the WP smtp email plugin and the test email sends.

I have the from address in the email conf signup set to the same as the one in the smtp plugin.

No email (i receive the clickbank receipt but not the sign up conf)

ALSO:

Since update I have lost the customized clickbank order for template – this is my button code:-

<a href="[s2Member-Pro-ClickBank-Button cbp="1" level="1" ccaps="" desc="My Product Access / description and pricing details here." custom="mysite.com" tp="0" tt="D" rp="1" rt="L" rr="0" image="default" output="url" /]&cbskin=4786" /><img src="http://mysite.com/wp-content/uploads/2013/03/tt-buy-now-button.png" /></a>

But it now just links to the standard order form!

Thanks – i hope you can help today?!!

Posted: Thursday Jun 27th, 2013 at 1:15 pm #52687

Definitely will do – thanks Christian….. ;-)

Posted: Wednesday Jun 26th, 2013 at 12:53 pm #52626

Hi Christian – I have submitted details for you to access the site.

I changed the email to be hosted on my main server with dreamhost rather than going through the gmail account (This didnt fix it.)
I then went through the processes in the email article above – used the mail logs plugin (didnt get a log)
Then I set up the WP mail smtp plugin (the test email sent, but still didnt function on a test)
I then decided to bck up the database and site ready to upadate the S2member plugin and the wordpress. Left it backing up overnight.
This morning – i decided to a do one last test before updating the framework and the email came through!!!!

I’m not sure why this would be the case? Is there anything in the logs that would indicate whether this is now stable or, if it’s going to be an intermittent problem??

Thanks so much.

Posted: Tuesday Jun 25th, 2013 at 2:56 am #52535

Thank you Christian – I will deal with the e-commerce tracking at a later date. For the time being though, I am still having the issues with the Sign up confirmation email not sending!

Removing the tracking code did appear to fix this initially, however, it seems to now be a problem again. Is there any logs I can send you that might indicate as to why this is happening.

It also appears that emails are not sending when I register for them. So it maybe some conflict with another plugin perhaps? It seems that maybe i need to update the S2 member plugin also….. something I am very nervous to do? (i currently have v130221 but it says I have v130617 available. Maybe this upgrade will solve my issues?

Thanks

Posted: Thursday Jun 13th, 2013 at 3:36 am #51863

Sorry – that wasnt meant to be a question mark…..

Thanks for your help.

Posted: Thursday Jun 13th, 2013 at 3:35 am #51861

Thank you – For now however – I have deleted this code and built my own thank you page, using the divert as outlined in the instructions. This new method works great in testing, just waiting for the next realtime purchase, usually one ever other day or so.

Despite this, I would still like to know if I need to add the tracking code in that same box and if so, how this would best integrate with GA. I have now set up my thank you page as a goal in GA, but am having a huge headache in figuring out how to e-commerce track with values etc etc.

I am sure Jason will be able to direct me to the relevant topics. (I am drowning in google instructions on ‘cross-domain tracking’??

Thanks for your help?

Posted: Tuesday Jun 11th, 2013 at 5:23 pm #51785

I removed the Sign up tracking code and the email now sends?

This is the code I was using that I hoped would track signups into google analytics? (i x’d out my UA code for the purposes of this forum) Is there a problem with it that would cause my sign up confirmation email not to send?

<script type="text/javascript">

  var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXXX-1']);
_gaq.push(['_trackPageview']);
_gaq.push(['_addTrans',
    '%%subscr_id%%', // transaction ID - required
    'traktortips.com', // affiliation or store name
    '%%initial%%' // total - required
  ]);
  
  _gaq.push(['_trackTrans']); //submits transaction to the Analytics servers
  
(function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
Viewing 25 replies - 1 through 25 (of 38 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.