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: bigt11

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


Topics I'm Subscribed To

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
cloudfront private key smil and jwplayer6

By:  bigt11 in: Community Forum

voices: 1
replies: 0

3 years, 9 months ago  bigt11

conditional statement for recurring charge

By:  bigt11 in: Community Forum

voices: 2
replies: 5

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

Viewing 2 topics - 1 through 2 (of 2 total)

Topics I've Started

Viewing 2 topics - 1 through 2 (of 2 total)
Topic Count Last Reply
cloudfront private key smil and jwplayer6

By:  bigt11 in: Community Forum

voices: 1
replies: 0

3 years, 9 months ago  bigt11

conditional statement for recurring charge

By:  bigt11 in: Community Forum

voices: 2
replies: 5

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

Viewing 2 topics - 1 through 2 (of 2 total)

My Latest Replies (From Various Topics)

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Saturday Mar 10th, 2012 at 7:45 pm #7848
bigt11
Username: bigt11

This seems to do the trick assuming that the I- assumption is correct. Is there a better way to do this using built in s2 member code?

$TAO_s2member_subscriber_id = S2MEMBER_CURRENT_USER_SUBSCR_ID;
$TAO_recurring_member_id_key = "-";
echo $TAO_s2member_subscriber_id;
echo "<br>";
$TAO_seach_for_recurring = strstr($TAO_s2member_subscriber_id,$TAO_recurring_member_id_key, true);

if($TAO_seach_for_recurring == "I" )
	{
			
		echo "you are a recurring payer";
		
	}
	
else
	{
		echo "You are a single payer";	
	}
Posted: Saturday Mar 10th, 2012 at 7:19 pm #7847
bigt11
Username: bigt11

I might take it back, im not 100% sure, but I believe recurring subscriptions have an “I-THE_REST_OF_THE_ID”. So the “I-” means that it is recurring, so i guess i can check for the “I-”

Can you confirm this?

Posted: Saturday Mar 10th, 2012 at 6:55 pm #7846
bigt11
Username: bigt11

@cristian it seems that your code snip-it will just see if they have any paypal transaction associated with there account. What im looking for is this.

imagine both users are registered on my site and both level 1. User A got to level 1 by a single payment method. User B got to level 1 via a recurring payment method.

I want some conditional to check if user A, or B got to level 1 via the recurring payment method, or vice versa.

I want single payment users to see different data than recurring payment users.

Viewing 3 replies - 1 through 3 (of 3 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.