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.

Mike (Volunteer Moderator)

Moderator

My Latest Replies (From Various Topics)

Viewing 25 replies - 76 through 100 (of 326 total)
Author Replies
Author Replies
Posted: Friday Aug 9th, 2013 at 3:46 am #55484
Moderator

What would be a normal ratio of failed payments to new signups? We offer services to cab drivers and there is nothing about what we do that subject itself to anyone needing to supply fraudulent info.

I wonder if that relates to the problem of “Payment Skipped” message that I get at least 7 times a week from PayPal. Regular users who have made successful charges in the past (and do in the future) trigger these errors. Are you certain s2member is out of the equation regarding those situations?

The normal range would be very few (and perhaps none for several days at a time). That is, no failed payments, or just happens every once in awhile; i.e. NOT all the time.

There’s nothing that s2Member® can do about payment failures. However, I would be sure to contact PayPal about this also (that’s who’s processing the transactions), and just check with them to be sure there’s nothing wrong with your PayPal account configuration overall, which might be causing this inadvertently.

I myself, am not aware of anything that would cause this, other than a lack of funds or outright fraud.

Thank you for showing me the “real-time” feature I will utilize that. Is there something beyond “failed” that appears in the logs so I can know if it was declined, or wrong address or anything like that?

Yes, please keep tabs on this log file from your Dashboard.
See: Dashboard -› s2Member® -› Log Files (Debug) -› s2Member® Log Viewer
Keep an eye on this file: paypal-api.log or paypal-payflow-api.log.

Any updates on the Google Wallet integration??

The latest update is posted here, that’s all that I have at this time.
See: Knowledge Base » Google Checkout vs. Google Wallet

Please let us know if problems persist :-)

Posted: Friday Aug 9th, 2013 at 3:09 am #55482
Moderator

I checked with our lead developer, and he mentions an empty responseDigest in your IPN log file. We are awaiting a response from ccBill technical support on the matter, but there seems to be a question about whether or not you’ve used a Dynamic Pricing Form?

In your last log entry we see that ccBill is not giving s2Member® the data it needs to verify the origin of the Background Post that it’s sending us. See also: http://www.ccbill.com/cs/manuals/CCBill_Dynamic_Pricing.pdf#page=4

Not the normal behavior, which is why the question is being handed over to ccBill, and we are awaiting a response. I will update you as soon as I hear back. In the mean time, please confirm that you HAVE used a Dynamic Pricing Form when integrating with s2Member®. ~ Thank you :-)

Posted: Friday Aug 9th, 2013 at 2:58 am #55481
Moderator

So sorry, I didn’t get a response back from the techs on this, but let me take a look and see if anyone ever came back and added any additional data to this request for support. One moment please.

Posted: Friday Aug 9th, 2013 at 2:54 am #55480
Moderator

If you generate an s2Member® PayPal Button Shortcode in the Dashboard, and then change the output="" attribute to output="url", you will get a raw URL that you can combine with whatever HTML code you’re writing :-) Please see: Dashboard -› s2Member® -› PayPal® Buttons -› Shortcode Attributes (Explained)

output="button" Output Type. Possible values: button = PayPal® Button w/hidden inputs, anchor = PayPal® Button (anchor tag) URL w/ ?query string, url = raw URL w/ ?query string.

Posted: Wednesday Aug 7th, 2013 at 5:12 am #55345
Moderator

:-) I should have said it’s not possible. However, I can’t really say that because you just never know. We don’t control PayPal of course, and they have their rules over there :-)

So I’ll say it like this. It MIGHT be possible, but good luck getting PayPal to actually do this for you). If you want to give it a shot, I would suggest writing to PayPal and explaining what you want to do (e.g. you need to have the IPN URLs updated across all members that joined up with Buttons). If they say no, at least you tried, and hopefully they’ll come around at some point and make this easier on folks.

What they usually say is that it’s up to you to build an IPN handler that can accept data from the old accounts and point it to the new ones. This is exactly the path you’re on here already, so it’s a good backup if they say no.

Posted: Wednesday Aug 7th, 2013 at 1:35 am #55340
Moderator

Ah, thanks for reporting back on this. It sounds like your ISP does not allow you to access RTMP video. Or, perhaps it’s just your router configuration. I would suggest calling your ISP to inquire about this and perhaps get some tech support from them on this matter. They should be able to clear this up.

Posted: Tuesday Aug 6th, 2013 at 8:15 pm #55333
Moderator

Very welcome. I’m sorry I can’t do more.
~ When you do figure this out, I will appreciate it if you can update this thread (if you think about it). That would be great and may help others also :-)

Posted: Tuesday Aug 6th, 2013 at 6:25 pm #55327
Moderator

@Kevin

I just received some reports back from our techs on this issue. Jason says that your s2Member configuration has an incorrect value for the Triple DES Encryption Key that should have been provided to you by ccBill support.

Please see: Dashboard -› s2Member® -› ccBill® Options -› Account Details


This is resulting in error log entries found on your installation here:
Dashboard -› s2Member® -› Log Files (Debug) -› s2Member® Log Viewer


Recommended Solution

Please follow the instructions here in the Dashboard and contact ccBill for your Triple DES Encryption Key.
Please see: Dashboard -› s2Member® -› ccBill® Options -› Account Details

ccBill® requires you to contact them via live chat for this Encryption Key. You will need to ask your ccBill® support representative for a Triple DES Encryption Key. Sometimes referred to as a Dynamic Pricing Salt. s2Member needs this Key in order to communicate with ccBill®, and to properly configure your Dynamic Pricing Form.

The problem I am having is that I have no idea what this email is supposed to say exactly and if it includes just a link for the new paid member to complete their registration, what prevents other people from just accessing this link.

The email here is already pre-configured for you.
See: Dashboard -› s2Member® -› ccBill® Options -› Signup Confirmation Email

All the note is stating, is that it’s a good idea to remove references from the ccBill email (on the ccBill side of things) e.g. in your ccBill account, because s2Member deals with this all on its own already.

As noted in the s2Member configuration panel (in your Dashboard)
Dashboard -› s2Member® -› ccBill® Options -› Account Details

*Important* User Management needs to be turned off in your ccBill® account. s2Member’s integration with ccBill® does NOT require ccBill® to manage Usernames/Passwords. Instead, s2Member needs to be given exclusive permission to handle this for you. In your ccBill® account, see: Account Admin -› User Management. Turn this off, and choose: Do NOT collect Usernames/Passwords. You will also want to remove Username/Password references in the APPROVAL Email Receipt configured in your ccBill® account. In your ccBill® account, see: Account Admin -› Custom Emails.


I would also suggest that s2Member’s logging routines be re-enabled until you have this all working properly.
You can enable that here: Dashboard -› s2Member® -› Log Files (Debug) -› Logging Configuration

Please let us know if you have any further trouble.

Posted: Tuesday Aug 6th, 2013 at 4:47 pm #55317
Moderator

Thanks for the detailed follow-up TJ; we REALLY appreciate this. I’m glad we could help you out here, and I’ll be sure to relay this reply to Jason so that he will see it as well. If you are so inclined, we would LOVE to get a review from you at some point. Here’s the link. Just a couple lines will do fine :-)

Please register @ WordPress.org and rate s2Member®

NOTE: If you vote @ WordPress.org & LIKE us on Facebook, please reply back in the s2Member® Forums with a link to your nice comments (just to let us know). The company also has a way of saying thanks for this :-)

and please let us know if you need any further assistance :-)

Posted: Tuesday Aug 6th, 2013 at 4:38 pm #55316
Moderator

Got it. Thanks Chris! :-)

No official release date that I can give out. From what I’m hearing it sounds like it could be mid-Sept; but not really 100% sure on this. We’re not permitted to give release dates I’m afraid. The techs release these details publicly to everyone whenever they feel it’s very close to a launch.

Posted: Tuesday Aug 6th, 2013 at 3:17 pm #55312
Moderator
That’s as far as I can go with custom code Danny, I’m sorry.
For clarification on this, please see: s2Member® » Support Policy » Within Scope

@Danny Kim I noticed that you’re running s2Member® Pro Forms. Do you have more than one account here at s2Member.com? The account you’ve written in on is listed as a Free Subscriber and not as a paying customer that owns a copy of s2Member® Pro. If you have a paid account, it is best to post under that account please.

Posted: Tuesday Aug 6th, 2013 at 2:32 pm #55309
Moderator

Hoping to hear back today. I’ll update this thread as soon as I hear back :-)

Posted: Tuesday Aug 6th, 2013 at 2:30 pm #55308
Moderator

Thanks for the follow-up :-)

The code to implement this custom modification would need to come from you, and it can go right into that same file (e.g. PHP tags are allowed in this file paypal-checkout-form.php when/if you need them).

The best I can do is provide you w/ a general outline below.

Getting a User’s array of custom fields.

$user_id = get_current_user_id();
$custom_fields = get_user_option('s2member_custom_fields', $user_id);

Addiing a new custom field to this array.

$custom_fields['unique_field_id'] = 'value';
// Ex: $custom_fields['teacher_search'] = esc_html($_POST['s2member_pro_paypal_registration']['custom_fields']['teacher_search']);

Updating custom fields after array modification.

update_user_option($user_id, 's2member_custom_fields', $custom_fields);

Putting it all together; it might look something like this.

$user_id = get_current_user_id();
$custom_fields = get_user_option('s2member_custom_fields', $user_id);
$custom_fields['teacher_search'] = esc_html($_POST['s2member_pro_paypal_registration']['custom_fields']['teacher_search']);
update_user_option($user_id, 's2member_custom_fields', $custom_fields);

See also: Knowledge Base » Hacking s2Member® Via Hooks/Filters
See also: s2Member® » Codex (Source Code Docs)

Posted: Tuesday Aug 6th, 2013 at 2:14 pm #55306
Moderator

Thank you.

With Buttons, the IPN URL is (was) defined on a per-Button basis; and unfortunately, PayPal makes it pretty much impossible to alter this later if you move the site. So the following assumption that you are asking me to confirm is absolutely correct, this IS what you will need to do.

I believe I need to force s2member to change the custom value to the new domain so that the members IPN can be processed if they cancel their payment.

Am I correct in presuming this? As from forum posts I’ve viewed this needs to be done?

Posted: Tuesday Aug 6th, 2013 at 2:11 pm #55304
Moderator

I’m sorry, there is nothing jumping right out at me on this. So far we’ve been unable to reproduce this on our side of things. However, one thing that is worth checking, is the version of JW Player that you’re using. You might want to just download and install the absolute latest copy of JW Player to rule out any bugs in the player JavaScript file.

You may also want to search the LongTail forums for a solution to this, because this really is not related specifically to s2Member® (from what I’ve seen thus far); it really looks like it’s a problem with JW Player on your end. For instance, here is a thread you may find helpful. I would look for others like this and see if you can track it down.

Here is another thread that suggests changing your site’s DOCTYPE may help solve this.
http://stackoverflow.com/questions/16319290/jwplayer-not-working-properly-in-ie-9-but-works-on-chrome-and-ie-10
Posted: Tuesday Aug 6th, 2013 at 2:02 pm #55302
Moderator

On these previous domains where your services were separated, were you using PayPal Buttons exclusively? Or was there a mixture of both Buttons and Pro Forms also?

Posted: Tuesday Aug 6th, 2013 at 1:58 pm #55300
Moderator

Thanks Craig! :-)

So it sounds like the site is coming along nicely. That’s great!

Some things that may help you.

1. Locking down the /wp-login.php file (not common, but you requested this).

Please create this directory and file:
/wp-content/mu-plugins/s2-hacks.php
(NOTE: these are MUST USE plugins, see: http://codex.wordpress.org/Must_Use_Plugins)
(See also: http://www.s2member.com/kb/hacking-s2member/)

<?php
add_action('login_form_register', 'my_wp_login_redirect');
function my_wp_login_redirect()
	{
		wp_redirect(home_url('/register/')); exit;
		// Redirects to BuddyPress registration form instead :-)
	}

2. If you have custom fields that you’d like to integrate into your BuddyPress regisration form, s2Member® can help with this if you like. See: Dashboard -› s2Member® -› General Options -› Registration/Profile Fields

3. Understanding the difference between “Registration” and “Checkout” where s2Member® is concerned.

While it is absolutely OK to use your BuddyPress registration form with s2Member® installed; this does NOT facilitate checkout and payment processing. This is what s2Member® Pro Forms are there for.

Thus, if you want to charge a customer, you will want to use s2Member® Pro Forms for this; and perhaps redirect these members back to their BuddyPress profile after checkout is completed.

See: Dashboard -› s2Member® -› PayPal® Pro Forms -› Membership Level # Forms
See also: Dashboard -› s2Member® -› PayPal® Pro Forms -› Custom Return URLs Upon Success
See also: Knowledge Base » s2Member® Pro-Forms

Posted: Tuesday Aug 6th, 2013 at 1:45 pm #55298
Moderator

Thanks for the reply Ryan! :-) Sorry for the misunderstanding.

So let’s go back to your original post for a moment and just double check some things before we go any further. In the code snippet you posted previously, and based on the log entry you posted later, I would make the following observation.

You posted this…

<?php
add_filter('ws_plugin__s2member_paypal_postvars', 'my_postvars_filter');
function my_postvars_filter($postvars = array())
	{
		if(!empty($postvars['custom']) && $postvars['custom'] == 'mynewurl.net')
			$postvars['custom'] = $_SERVER['HTTP_HOST'];
		
		return $postvars;
	}
?>

and later you posted this log entry…

'item_name' => 'Product 4.',
  'charset' => 'windows-1252',
  'custom' => 'olddomain.co.uk',

Please correct me again if I’m still not getting this right, but it looks to me like your code snippet needs to have the following instead of newdomain.net. Have you tried this to see if works properly under this scenario?

<?php
add_filter('ws_plugin__s2member_paypal_postvars', 'my_postvars_filter');
function my_postvars_filter($postvars = array())
	{
		if(!empty($postvars['custom']) && $postvars['custom'] == 'olddomain.co.uk')
			$postvars['custom'] = $_SERVER['HTTP_HOST'];
		
		return $postvars;
	}
?>
Posted: Tuesday Aug 6th, 2013 at 1:32 pm #55297
Moderator

Thanks David! :-) I’ll pass that along. Appreciate the feedback.

Posted: Tuesday Aug 6th, 2013 at 7:31 am #55279
Moderator

I’ve found what caused this problem. The plugin Wordfence was the guilty one..

Glad to hear you resolved this! Thanks for the follow-up. We appreciate that!
Posted: Tuesday Aug 6th, 2013 at 7:19 am #55278
Moderator

Yes, that’s what I would start looking at because your code is rock solid there. Something is happening after this code, and it’s probably tricking you into thinking there is something wrong with that code snippet. It looks good :-) It’s most likely something else that comes after this.

Posted: Tuesday Aug 6th, 2013 at 7:18 am #55277
Moderator

Thanks for the follow-up. Really appreciate it!

Posted: Tuesday Aug 6th, 2013 at 7:17 am #55276
Moderator

If the CAPTCHA is not enough, you could add a registration field that asks the user a question also; as a second line of defense. Please see: Dashboard -› s2Member® -› General Options -› Registration/Profile Fields

Posted: Tuesday Aug 6th, 2013 at 5:07 am #55275
Moderator

I’m not sure if this is real or fake; but just in case it indicates the problem, I noticed the IPN came in on newdomain.net; but the custom value is olddomain.co.uk. Those two need to match up perfectly.

Posted: Tuesday Aug 6th, 2013 at 5:05 am #55274
Moderator

Very welcome! :-) If you have a moment, we appreciate ratings @ WordPress :-)

Please register @ WordPress.org and rate s2Member®

NOTE: If you vote @ WordPress.org & LIKE us on Facebook, please reply back in the s2Member® Forums with a link to your nice comments (just to let us know). The company also has a way of saying thanks for this :-)

Viewing 25 replies - 76 through 100 (of 326 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.