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.

Alex Read


My Latest Replies (From Various Topics)

Viewing 25 replies - 1 through 25 (of 49 total)
Author Replies
Author Replies
Posted: Monday Nov 11th, 2013 at 2:19 am #60998
Alex Read
Username: lab41

Thanks. I’ve been recommended amember.com to handle these modules and it seems to also offer this as well as a membership system which is exactly what i need. Was hoping for an easier solution and feel that s2member really should offer this in an easy to use manner. Because my visitors really are members and just need to choose different service packages depending on their product.

Posted: Tuesday Sep 24th, 2013 at 12:44 pm #59813
Alex Read
Username: lab41

OK this was solved using the notification URL

Dashboard -> s2member -> API notifications -> Payment Nofications 
Posted: Wednesday May 29th, 2013 at 3:41 pm #50868
Alex Read
Username: lab41

Hi,
Had the same problem. Hope this linkhelps. You can put the link code directly into the

S2member General Options > Custom Registration/Profile Fields > Field Label/Desc: 
Posted: Tuesday Mar 26th, 2013 at 9:38 am #45745
Alex Read
Username: lab41

Thanks, it’s working well now

Posted: Tuesday Mar 12th, 2013 at 10:57 am #44367
Alex Read
Username: lab41

Hi, found that debug mode was on (in wp-config.php). Setting this to false suppresses the errors and the javascript works. Thanks…

Posted: Tuesday Mar 12th, 2013 at 10:37 am #44361
Alex Read
Username: lab41

Sorry, the issue I’m having with s2member-o.php is the javascript plugin

<script type='text/javascript' src='http://mysite.co.za/wp-content/plugins/s2member/s2member-o.php?ws_plugin__s2member_js_w_globals=9614cb4440074464239bd7cf47012&#038;qcABC=1&#038;ver=130221-130221-4113923320'></script>

It spews out Warnings and Notices before the javascript starts – (function(a){if(typeof a.spr etc.
This is causing a syntax error according to firebug and the javascript is not being executed. The pro form is therefore not automatically filled in and not activated.

Posted: Tuesday Mar 12th, 2013 at 5:51 am #44343
Alex Read
Username: lab41

Yes pro forms. Not using more than one.

Posted: Sunday Mar 10th, 2013 at 1:07 pm #44216
Alex Read
Username: lab41

Nope I re-installed but no luck. I also tried switching themes. I’m getting the following prefixed to my s2member-o.php code which is causeing the syntax error:

<br />
<b>Notice</b>:  Constant WP_MEMORY_LIMIT already defined in <b>/home/salearne/public_html/wp-config.php</b> on line <b>80</b><br />
<br />
<b>Notice</b>:  Undefined variable: cache_needs_updating in <b>/home/salearne/public_html/wp-content/plugins/s2member/includes/classes/cache.inc.php</b> on line <b>94</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/salearne/public_html/wp-config.php:80) in <b>/home/salearne/public_html/wp-content/plugins/s2member/includes/classes/css-js-in.inc.php</b> on line <b>89</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/salearne/public_html/wp-config.php:80) in <b>/home/salearne/public_html/wp-content/plugins/s2member/includes/classes/css-js-in.inc.php</b> on line <b>90</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/salearne/public_html/wp-config.php:80) in <b>/home/salearne/public_html/wp-content/plugins/s2member/includes/classes/css-js-in.inc.php</b> on line <b>91</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/salearne/public_html/wp-config.php:80) in <b>/home/salearne/public_html/wp-content/plugins/s2member/includes/classes/css-js-in.inc.php</b> on line <b>92</b><br />
<br />
<b>Warning</b>:  Cannot modify header information - headers already sent by (output started at /home/salearne/public_html/wp-config.php:80) in <b>/home/salearne/public_html/wp-content/plugins/s2member/includes/classes/css-js-in.inc.php</b> on line <b>93</b><br />

Thanks,

Posted: Sunday Mar 10th, 2013 at 12:10 pm #44211
Alex Read
Username: lab41

I should have looked at http://www.s2member.com/kb/common-troubleshooting-tips/ for reinstall. Will see if that solves problem.

Posted: Wednesday Jan 2nd, 2013 at 9:02 am #35970
Alex Read
Username: lab41

Hi, thanks for this it works well. I had to use

$('#s2member-pro-paypal-checkout-form') 
//instead of 
$('#s2member-pro-paypal-registration-form')
Posted: Monday Dec 31st, 2012 at 11:43 am #35852
Alex Read
Username: lab41

No upgrade email. Two emails, 1 with username and password and the other like this:

Thanks Sam66! Your membership has been approved.

$2.63 USD / One Time ( for 1 month access, non-recurring )

Subscr. ID: 3UX94994VD5181738
Charges today: $0.10
Recurring charges: $0 / non-recurring

Your Username/Password will arrive shortly, in a separate email. If you have any trouble, please feel free to contact us.

Best Regards,
SA Learners License

The form results in a successful registration and also provides a “Paid Subscr. ID” to confirm purchase but does not elevate the role of the user from “Subscriber”.

Posted: Saturday Dec 29th, 2012 at 11:06 am #35715
Alex Read
Username: lab41

Just made a test payment/registration. Here’s the last 3 from paypal-rtn:

PHP v5.3.18 :: WordPress® v3.4.2 :: s2Member® v121023 :: s2Member® Pro v121023
Memory 40.01 MB :: Real Memory 40.25 MB :: Peak Memory 40.24 MB :: Real Peak Memory 40.50 MB
salearnerslicense.co.za/?s2member_paypal_return=1
User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
array (
  'subscr_gateway' => 'paypal',
  's2member_log' => 
  array (
    0 => 'No Return-Data. Customer must wait for Email Confirmation.',
    1 => 'Redirecting Customer to the Home Page. Customer must wait for Email Confirmation.',
    2 => 'Note. This can sometimes happen when/if you are offering a free Trial Period. There are times when a Payment Gateway will NOT supply s2Member with any data immediately after checkout. When/if this happens, s2Member must process the transaction via IPN only ( i.e. behind-the-scene ), and the Customer must wait for Email Confirmation in these cases.',
    3 => 'array (
  \'s2member_paypal_return\' => \'1\',
)',
  ),
)

PHP v5.3.18 :: WordPress® v3.4.2 :: s2Member® v121023 :: s2Member® Pro v121023
Memory 40.39 MB :: Real Memory 40.75 MB :: Peak Memory 40.71 MB :: Real Peak Memory 40.75 MB
salearnerslicense.co.za/?s2member_paypal_return=1
User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
array (
  'subscr_gateway' => 'paypal',
  's2member_log' => 
  array (
    0 => 'No Return-Data. Customer must wait for Email Confirmation.',
    1 => 'Redirecting Customer to the Home Page. Customer must wait for Email Confirmation.',
    2 => 'Note. This can sometimes happen when/if you are offering a free Trial Period. There are times when a Payment Gateway will NOT supply s2Member with any data immediately after checkout. When/if this happens, s2Member must process the transaction via IPN only ( i.e. behind-the-scene ), and the Customer must wait for Email Confirmation in these cases.',
    3 => 'array (
  \'s2member_paypal_return\' => \'1\',
)',
  ),
)

PHP v5.3.19 :: WordPress® v162 :: s2Member® v121213 :: s2Member® Pro v121213
Memory 52.22 MB :: Real Memory 52.75 MB :: Peak Memory 52.45 MB :: Real Peak Memory 52.75 MB
salearnerslicense.co.za/?s2member_paypal_return=1
User-Agent: Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
array (
  'subscr_gateway' => 'paypal',
  's2member_log' => 
  array (
    0 => 'No Return-Data. Customer must wait for Email Confirmation.',
    1 => 'Redirecting Customer to the Home Page. Customer must wait for Email Confirmation.',
    2 => 'Note. This can sometimes happen when/if you are offering a free Trial Period. There are times when a Payment Gateway will NOT supply s2Member with any data immediately after checkout. When/if this happens, s2Member must process the transaction via IPN only ( i.e. behind-the-scene ), and the Customer must wait for Email Confirmation in these cases.',
    3 => 'array (
  \'s2member_paypal_return\' => \'1\',
)',
  ),
)

Thanks,

Posted: Friday Dec 28th, 2012 at 6:36 am #35601
Alex Read
Username: lab41

Not sure where to find the PDT logs. Are they paypal-rtn or paypal-api?

Posted: Saturday Dec 22nd, 2012 at 10:46 am #35331
Alex Read
Username: lab41

No, the IPN url is set in my Paypal account. Here is the IPN log:

PHP v5.3.19 :: WordPress® v114 :: s2Member® v121213 :: s2Member® Pro v121213
Memory 57.76 MB :: Real Memory 58.75 MB :: Peak Memory 58.11 MB :: Real Peak Memory 58.75 MB
salearnerslicense.co.za/?s2member_paypal_notify=1&s2member_paypal_proxy=paypal&s2member_paypal_proxy_use=pro-emails&s2member_paypal_proxy_verification=e6faea3ef6b120a043c76b59f2da4997&s2member_paypal_proxy_return_url=%2Fthank-you-purchase%2F
User-Agent: WordPress/365; http://salearnerslicense.co.za
array (
  'txn_type' => 'web_accept',
  'txn_id' => '4FB72799UP171363X',
  'custom' => 'salearnerslicense.co.za',
  'mc_gross' => '0.10',
  'mc_currency' => 'USD',
  'tax' => '0.00',
  'payer_email' => 'blindlemonsam+65@gmail.com',
  'first_name' => 'SamcheckMCAPI',
  'last_name' => 'Moore',
  'option_name1' => 'Originating Domain',
  'option_selection1' => 'salearnerslicense.co.za',
  'option_name2' => 'Customer IP Address',
  'option_selection2' => '141.101.98.191',
  'item_name' => '$2.63 USD / One Time ( for 1 month access, non-recurring )',
  'item_number' => '2::1 M',
  'proxy_verified' => 'paypal',
  's2member_log' => 
  array (
    0 => 'IPN received on: Sat Dec 22, 2012 3:17:03 pm UTC',
    1 => 's2Member POST vars verified with a Proxy Key',
    2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
    3 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ).',
    4 => 's2Member `txn_type` identified as ( `web_accept|subscr_signup` ) w/o update vars.',
    5 => 'Signup Confirmation Email sent to: "SamcheckMCAPI Moore" <blindlemonsam+65@gmail.com>.',
    6 => 'Storing Signup Tracking Codes into a Transient Queue. These will be processed on-site.',
    7 => 'Subscr. Return ( `modification=0` ), a Proxy Return URL is ready.',
    8 => 'User exists. Handling `payment` for Subscription via ( `web_accept` ).',
    9 => 'Payment Notification Emails have been processed.',
    10 => 'Storing IPN signup vars now. These are associated with a User\'s account record; for future reference.',
  ),
  'subscr_gateway' => 'paypal',
  'subscr_id' => '4FB72799UP171363X',
  'eotper' => '1 M',
  'ccaps' => '',
  'level' => '2',
  'ip' => '141.101.98.191',
  'period1' => '0 D',
  'mc_amount1' => '0.00',
  'period3' => '1 M',
  'mc_amount3' => '0.10',
  'initial_term' => '0 D',
  'initial' => '0.10',
  'regular' => '0.10',
  'regular_term' => '1 M',
  'recurring' => '0',
  's2member_paypal_proxy_return_url' => '/thank-you-purchase/',
  's2member_paypal_proxy' => 'paypal',
  's2member_paypal_proxy_use' => 'pro-emails',
  's2member_paypal_proxy_verification' => 'e6faea3ef6b120a043c76b59f2da4997',
)
Posted: Thursday Dec 20th, 2012 at 9:04 am #35155
Alex Read
Username: lab41

Hi, all fixed. Was a problem with one of the tweaks of WP Better Security plugin.
Thanks

Posted: Monday Nov 19th, 2012 at 11:56 am #31990
Alex Read
Username: lab41

Hi, thanks for the help. Had to change the get_user_option line by replacing

$cfields = get_user_option('wp_s2member_custom_fields', $user_id);

with

$cfields = get_user_option('wpsal_s2member_custom_fields', $user_id);

The “sal” I added on is specific to our site. Now it works fine :-)

Posted: Sunday Nov 18th, 2012 at 11:31 am #31932
Alex Read
Username: lab41

Hi where do I check the output of print_r? Thanks

Posted: Saturday Nov 17th, 2012 at 4:40 am #31867
Alex Read
Username: lab41

If they’re coming through as null, I recommend double-checking that province and two are actually the names of the Custom Registration Fields.

Could it also be that someone left those fields empty when they submitted the form?

Don’t think so, it’s me filling it out.

Any ideas?

Posted: Thursday Sep 6th, 2012 at 6:03 am #24273
Alex Read
Username: lab41

OK, I deleted and reinstalled all the s2member folders and now it’s working like a charm!

Posted: Wednesday Sep 5th, 2012 at 9:30 am #24158
Alex Read
Username: lab41

I did a test install of wordpress in a subfolder and installed s2member-pro with the same Paypal API settings: it worked! It must then be some sort of conflict with customisation/other plugins.

Posted: Tuesday Sep 4th, 2012 at 9:23 am #24027
Alex Read
Username: lab41

Thanks

Posted: Tuesday Sep 4th, 2012 at 9:21 am #24026
Alex Read
Username: lab41

I don’t think 3rd party permission is required. It requires a “Third Party Permission Username”. I looked under S2member Paypal > IPN options and it says…

IPN w/ Proxy Key ( optional, for 3rd-party integrations )

I ran the Server check and the only problem it had was a recommendation to increase the WP_MEMORY_LIMIT from 32MB to 64MB.

  • This reply was modified 4 years, 4 months ago by  Alex Read.
  • This reply was modified 4 years, 4 months ago by  Alex Read.
  • This reply was modified 4 years, 4 months ago by  Alex Read.
Posted: Monday Sep 3rd, 2012 at 6:36 am #23930
Alex Read
Username: lab41

Hi, decided to just have the converted amount in brackets and charge USD. I used a wp-content/mu-plugin/ to convert 3USD to ZAR.

<?php
function USD2ZAR () 
{
	$conv_rate = c_ws_plugin__s2member_utils_cur::convert("3", "USD", "ZAR");
	return $conv_rate;
}
add_shortcode( 'local_ZAR', 'USD2ZAR' );
?>

…and then just put in the shortcode [USD2ZAR] on the page.
Sam

Posted: Wednesday Jul 18th, 2012 at 10:29 am #19643
Alex Read
Username: lab41

Still having an issue with paypal express checkout but getting nearer:
1) Go salearnerslicense.co.za/membership-options and select credit card. It detects all fields, but then when you click express checkout it goes to paypal homepage!!

2) Also regarding custom payment integrations am I correct in saying that after the successful payment the external gateway needs to send a notification URL. Currently I have set mine to “http://salearnerslicense.co.za/?s2member_boxpay_notify=1&#8221; but that is not working. Under paypal IPN it has settings “http://salearnerslicense.co.za/?s2member_paypal_notify=1&s2member_paypal_proxy=proxy-gateway&s2member_paypal_proxy_verification=.XXX&#8221;

So should I rather set notification to:
http://salearnerslicense.co.za/?s2member_boxpay_notify=1 level=”1″ custom=”salearnerslicense.co.za”/]

OR
http://salearnerslicense.co.za/?s2member_paypal_notify=1&s2member_paypal_proxy=boxpay.com&s2member_paypal_proxy_verification=.XXX&level=”1″&custom=”salearnerslicense.co.za&#8221;

Posted: Wednesday Jul 18th, 2012 at 4:11 am #19584
Alex Read
Username: lab41

Can you check the paypal express checkout on salearnerslicense.co.za/paypal-test/ to see if it’s correct?

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