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.

Cristián Lávaque


My Latest Replies (From Various Topics)

Viewing 25 replies - 1,226 through 1,250 (of 7,376 total)
Author Replies
Author Replies
Posted: Thursday Apr 25th, 2013 at 7:19 am #48342

Great! Thanks for the update. :)

Posted: Thursday Apr 25th, 2013 at 7:18 am #48341

Yes, please. With logging enabled, run your tests and see what gets logged there.

Did you try these? Knowledge Base » Common Troubleshooting Tips

Posted: Thursday Apr 25th, 2013 at 7:17 am #48340

Thanks for the info.

After getting fixing the warning in the server scanner, did you try a test purchase to see if you still have the problem?

Have you verify that all the credentials for Authorize.Net are correct? [hilite path]Dashboard -› s2Member® -› Authorize.Net® Options[/hilite]

Have you tried these? Knowledge Base » Common Troubleshooting Tips

Posted: Thursday Apr 25th, 2013 at 7:13 am #48339

Great! Thanks for the update. :)

Posted: Thursday Apr 25th, 2013 at 7:11 am #48338

Maybe the payment failed too many times? Not sure what else could have happened.

Did you check your logs for entries related to the subscription to see what it says about how it ended? [hilite path]Dashboard -› s2Member® -› Log Files (Debug) -› s2Member® Log Viewer[/hilite]

Did you just have it with this user or is it the way it’s behaving with everyone that cancels?

Posted: Thursday Apr 25th, 2013 at 2:17 am #48331

Here’s what he replied:

Jason Caldwell said:

To remove the card code requirement, they can edit this file:
/s2member-pro/includes/classes/gateways/authnet/authnet-utilities.inc.php

Comment out all lines that contain:

$xml .= '<cardCode>'.esc_html($post_vars["x_card_code"]).'</cardCode>';
Posted: Wednesday Apr 24th, 2013 at 7:52 am #48280

Thanks, got the email.

I see, your “year” field is multioption with checkboxes. That’d give you an array, not a string. Would someone select more than one year? If not, you may prefer to use a dropdown.

Anyway, you can see the format of your array doing:

[hilite pre_code]
$year = get_user_field('year');
print_r($year);
[/hilite]

outputs

Array
(
	[0] => year11
)

So your condition would go like something this:

[hilite pre_code]

Content for year 11.

[/hilite]

http://php.net/in_array

You may need to add some extra checks in the condition, for those that didn’t select a year.

I hope that helps.

Posted: Wednesday Apr 24th, 2013 at 7:37 am #48278

Make sure you’re not using the same page for the Login Welcome and Membership Options. Same for the Home page. Those three should be different. Using the same for two of those is known to cause trouble.

About the Login Welcome for each user, how did you configure it, could you show me the URL with the replacement codes? [hilite path]Dashboard -› s2Member® -› General Options -› Login Welcome Page[/hilite]

Not sure if it’ll help, but it’s still good that you know about it: Video » s2Member (Login Welcome Page Conflicts?)

Instead of different Login Welcome pages for each user, have you considered having just one and customize the content with conditionals? [hilite path]Dashboard -› s2Member® -› API / Scripting -> Conditionals[/hilite]

Second question – I want a link so that people can go back to their individual welcome page – how do I do that? Again, I am referring to them returning to their individual welcome page if they have clicked away from it.

That’d depend on what the URL of those is. How did you format it?

Posted: Wednesday Apr 24th, 2013 at 7:30 am #48277

It’s as if you had an incomplete s2member-pro installation.

Try this please: Knowledge Base » s2Member® Server Scanner

If that doesn’t help, try these: Knowledge Base » Common Troubleshooting Tips

Posted: Wednesday Apr 24th, 2013 at 7:28 am #48276

Thanks for running the server scanner. Another thing that’d cause the POST vars error would be an error in the PayPal credentials you entered in s2Member. Could you please verify that they are all correct? [hilite path]Dashboard -› s2Member® -› PayPal® Options[/hilite]

Please read this article and follow the advice given, most of the time it helps resolve the problem or identify the source: Knowledge Base » Common Troubleshooting Tips

About the logs, yes, that admin page was added in a more recent release than the one you have. It’d be best to update your installation to rule out the possibility of having your problem due to something that was wrong before and is now fixed in the current release.

Posted: Wednesday Apr 24th, 2013 at 7:19 am #48275

Thanks for the info.

Did you verify with PayPal if your client’s PayPal Pro account is PayFlow Edition or not? Also, verify with them if DPRP is enabled. Knowledge Base » PayPal Pro, PayFlow, DPRP, Express Checkout

I know you said it’s PayFlow Edition with recurring payments, but what you described afterwards seems to indicate something else. It’d be best to verify these with PayPal.

Paypal tells us this is a problem with the API integration.

s2Member itself doesn’t have a problem with this, so it’d be the values entered when you configure the integration. The PayFlow Edition name comes from using the PayFlow API, so make sure you have this correct.

I do have logging turned on and can send log details.

Sure, you can submit the login info, I’ll take a look at the log in your dashboard (don’t attach the log files). Please let us know when you sent the email. s2Member® » Private Contact Form

Posted: Wednesday Apr 24th, 2013 at 7:10 am #48273

That’s weird. I just tried it in my test installation and it worked fine for me.

[hilite pre_code]
add_filter('gettext_with_context', 's2_translator', 10, 4);
function s2_translator($translated, $original, $context, $text_domain)
{
if($context === 's2member-front' && $text_domain === 's2member')
{
if($original === 'Apply Coupon')
$translated = 'Submit Coupon';
else if($original === 'Submit Form')
$translated = 'Submit';
}
return $translated; // Return final translation.
}
[/hilite]

Have you tried these? Knowledge Base » Common Troubleshooting Tips

Posted: Wednesday Apr 24th, 2013 at 6:58 am #48271
0 => 'Unable to verify POST vars. This is most likely related to an invalid Authorize.Net® configuration. Please check: s2Member -› Authorize.Net® Options.',
1 => 'If you\'re absolutely SURE that your Authorize.Net® configuration is valid, you may want to run some tests on your server, just to be sure $_POST variables are populated, and that your server is able to connect to Authorize.Net® over an HTTPS connection.',
2 => 's2Member uses the WP_Http class for remote connections; which will try to use cURL first, and then fall back on the FOPEN method when cURL is not available. On a Windows® server, you may have to disable your cURL extension. Instead, set allow_url_fopen = yes in your php.ini file. The cURL extension (usually) does NOT support SSL connections on a Windows® server.',

Could you please try this and see if it finds any problems? Knowledge Base » s2Member® Server Scanner

Also, sometimes the post starts talking about Authorize .Net and finalize talking about PayPal.

You mean in the log? That’s okay. The last part of the processing is done with code that was originally to process just PayPal. Actually, the logs that say “paypal” in the file name are also relevant to you because of this.

Posted: Wednesday Apr 24th, 2013 at 6:36 am #48270

Another question. How can I keep my changes in code when s2memeber is updated to a new version? I know how to do it with a theme (child-theme) but I do not know with plugins.

Have the edited copy of the file outside the s2member directory, put it in the must-use plugins one. /wp-content/mu-plugins/

Posted: Wednesday Apr 24th, 2013 at 6:33 am #48269

I don’t have any experience with event management plugins, but I have seen Event Espresso mentioned a few times in the past.

I’ll let others reply if they see this, but if you have their plugin, you may want to start testing with it.

So we need integration points of: make sure someone is a member so they can get the discount and possibly make them a member when they sign up for the conference (I know this might have to be manual though).

To check if the user is a member, you could use conditionals, and modify the price based on that. [hilite path]Dashboard -› s2Member® -› API / Scripting[/hilite]

Posted: Wednesday Apr 24th, 2013 at 6:29 am #48268

Weird, it’s as if you were missing the part of s2Member Pro that parses that shortcode.

Could you try these? Knowledge Base » Common Troubleshooting Tips

I’d start with the server section. The server scanner tool will check if the s2member-pro directory is complete or there’s something wrong and you need to reupload it.

If that doesnt’ help solve it, you can continue with the plugins/theme conflicts tests.

Posted: Wednesday Apr 24th, 2013 at 6:24 am #48267

No, the EOT would be immediate for refunds or reversals.

A cancellation would not trigger an immediate EOT, the time for it would be set at the end of the paid term plus a day.

You can see the documentation and settings for it here: [hilite path]Dashboard -› s2Member® -› PayPal® Options -› Automatic EOT Behavior[/hilite]

Posted: Wednesday Apr 24th, 2013 at 6:20 am #48266

Okay, thanks for the update. I hope they help you solve it soon. :)

Posted: Wednesday Apr 24th, 2013 at 12:52 am #48258

Thanks for the updates/reports, guys. I’m forwarding this to Jason.

Posted: Tuesday Apr 23rd, 2013 at 10:45 pm #48256

Yep, got the email. Thanks! Will forward it to Jason.

Posted: Tuesday Apr 23rd, 2013 at 8:57 pm #48249

The drip won’t cause a redirection, just shows the content or not based on the conditional.

A restricted page with a level access restrictions or custom capability would cause a redirection to the Membership Options page.
[hilite path]Dashboard -› s2Member® -› Restriction Options[/hilite]
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Custom Capabilities[/hilite]

To customize the Membership Options page, you can use the variables that are provided. You can read the documentation for them here: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)[/hilite]

Posted: Tuesday Apr 23rd, 2013 at 8:48 pm #48247

Thanks for the update. I forwarded it to Jason.

I understand you had to go live. If possible, could you set up in another directory a new test installation of WP with just s2Member and fill out the PayPal fields so some testing can be done there with logging enabled? s2Member® » Private Contact Form

Posted: Tuesday Apr 23rd, 2013 at 8:26 pm #48244

Sorry … I’ve been in the admin area messing with the General settings to get the main site URL to land on my Squeeze page URL. I’ll stop and wait for you to post.

Yeah, I noticed, but I edited the address back to the domain name. That setting you were changing to the landing page, is going to affect every URL that the setting is used for. Even the preview and every other page had the squeeze page’s slug prefixed, even the paid member ones.

If you want to send people to the squeeze page when they don’t have the access to the s2Member protected content, you may want to set it as your Membership Options page. [hilite path]Dashboard -› s2Member® -› General Options -› Membership Options Page[/hilite]

By the way, my last two posts happened almost at the same time you posted. You may want to go back up a bit and check if you had missed them because of that.

Posted: Tuesday Apr 23rd, 2013 at 8:22 pm #48241

PHP worked for me, but in the Text editor, not the Visual one.

I noticed that you have the PHP Execution plugin which says in the description that you don’t need to disable the Visual editor, but that doesn’t mean you should use it when you have PHP code in your post/page. The visual editor will change some of the characters in the code to HTML entities so they are displayed in the page, but then it’s not valid PHP code anymore so it doesn’t work.

I just tried

[hilite pre_code]
= 10){ ?>
Drip content to Members that started paying you at least 10 days ago.

[/hilite]

and nothing was shown to me, because the value of [hilite mono]S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS[/hilite] for me was 0.

Posted: Tuesday Apr 23rd, 2013 at 8:12 pm #48239

I didn’t want you freaking out for too long. With the info you had sent I managed to get to your database and fixed one of the addresses for you. Then was able to login to the dashboard and fixed the other one. :)

I’ll look at the PHP thing now.

Viewing 25 replies - 1,226 through 1,250 (of 7,376 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.