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 - 5,001 through 5,025 (of 7,376 total)
Author Replies
Author Replies
Posted: Wednesday Jul 11th, 2012 at 5:07 am #18895

No problem. Glad to help!

I hope you achieve your goals soon! :D

Posted: Wednesday Jul 11th, 2012 at 5:05 am #18893

No, sorry. I know it’s not impossible to do what you suggested, but I haven’t done it myself and can’t work on it at the moment. :/

You’ll need to get a developer to do this for you. You can try freelance sites like jobs.wordpress.net, eLance or oDesk.

One thing you could use, that you didn’t mention in your ideas, is the Notifications API. They could be set up to load a script in your second site to create the user or update the user’s access there. [hilite path]Dashboard -› s2Member® -› API / Notifications[/hilite]

These would help creating the user in the other site, and updating his access:
[hilite path]Dashboard -› s2Member® -› API / Scripting -› Remote Operations API[/hilite]
Knowledge Base » Changing Roles/Capabilities via PHP

I hope it helps.

Posted: Wednesday Jul 11th, 2012 at 4:57 am #18892

Hi Jeff.

Right, the initial term of the subscription is what you’d need to use. In your case the initial term would be 1 month and the amount to pay would be $49.98 ($29.99 for membership + $19.99 for first month). Then the regular payments would be $19.99 every month.

I hope that helps. :)

Posted: Wednesday Jul 11th, 2012 at 4:51 am #18891

No problem. :)

Posted: Wednesday Jul 11th, 2012 at 4:50 am #18890

Hi Kevin.

That orange submit button is not s2Member’s, did you add it? It’s better if you style the button s2 has there instead of replacing it.

About PayPal showing up in the options, if you’re using the PayPal pro-form, then it can’t be removed. The way I understand it, PayPal requires PayPal to always be a option for payment method.

I hope that helps.

Posted: Wednesday Jul 11th, 2012 at 4:41 am #18889

Hi Patrick.

Is the country change obvious in the form or only after the payment failed with that error? If it’s visible in the form, I can try the form myself since I’m in Mexico. If you set a test page for me at 1 cent, I can try paying to see what happens. s2Member® » Private Contact Form

I wonder if it’s a JavaScript problem in your installation, we haven’t had any reports about this problem from other site owners. Could you test using the default theme? If that’s not enough, try deactivating other plugins and testing after each and see if the problem continues.

Posted: Wednesday Jul 11th, 2012 at 4:20 am #18886

Hey there.

Did you verify that your integration is configured properly? It looks like a problem if you entered a wrong value in your settings. [hilite path]Dashboard -› s2Member® -› PayPal® Options[/hilite]

Posted: Tuesday Jul 10th, 2012 at 9:06 pm #18851

Yeah, I know what you mean. It took me a bit to get used it, I was used to a very different way of doing it. And I still don’t know everything about it, but when I know what I’m looking for, now I can usually find it. I use a lot my editor’s to search all files under a directory and subdirectories.

So now that I think I understand better what you need, I’ll try to answer these:

[hilite mono]s2member_pro_clickbank_return[/hilite] is handled by s2member-pro\includes\classes\gateways\clickbank\clickbank-return-in.inc.php

There you’ll find a [hilite mono]wp_redirect[/hilite] to the s2Member’s PayPal processing with [hilite mono]s2member_paypal_return[/hilite] and [hilite mono]s2member_paypal_proxy_verification[/hilite]. You can read about it here: [hilite path]Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration -> IPN w/ Proxy Key[/hilite]

Here are some abbreviations you’ll come across:

  • in: in file names is for inner routines.
  • wa: “web accept” in PayPal, that’s how they call Buy Now transactions in their API.
  • w: with.
  • wo: without.
  • ccaps: custom capabilities.
  • sp: specific post/page.
  • cp: conditional phase, a method in some classes.

[hilite mono]s2member_paypal_return[/hilite] is handled by s2member\includes\classes\paypal-return-in.inc.php

Since you’re selling subscriptions, in that file you’ll see these two that will be of interest to you, and I added the files where those classes are:

[hilite code]c_ws_plugin__s2member_paypal_return_in_subscr_or_wa_w_level::cp[/hilite]
s2member\includes\classes\paypal-return-in-subscr-or-wa-w-level.inc.php

[hilite code]c_ws_plugin__s2member_paypal_return_in_subscr_modify_w_level::cp[/hilite]
s2member\includes\classes\paypal-return-in-subscr-modify-w-level.inc.php

The “modify” one is for existing users that were logged in when they started the checkout.

I found transients are set in those. Jason used http://codex.wordpress.org/Function_Reference/set_transient and I’m guessing he did it like that because he was trying to do everything sticking to WP’s ways as much as possible.

The signup confirmation email corresponding to those I found sent from:
s2member\includes\classes\paypal-notify-in-subscr-or-wa-w-level.inc.php
s2member\includes\classes\paypal-notify-in-subscr-modify-w-level.inc.php

Search for [hilite mono]signup_email[/hilite] in those.

The registration part s2member\includes\classes\registrations.inc.php

ClickBank notifications s2member-pro\includes\classes\gateways\clickbank\clickbank-notify-in.inc.php are important too, e.g. when payments fail and EOT is triggered.

For EOT behavior, this file: s2member\includes\classes\auto-eots.inc.php


Sorry I didn’t reply sooner, I spent some time searching the files and finding the things you were asking. I hope they help you!

Posted: Tuesday Jul 10th, 2012 at 5:59 pm #18840

I tried to open the page and was sent to the Membership Options. Then logged in with the account you posted above, and the form in the page doesn’t have payment options.

If you are getting all the card options to pick one, even if you don’t have them as options in your shortcode, it is possible that a JS conflict is causing the pro-form to not work properly.

I see that you put the pro-form shortcode nested inside another shortcode ([hilite mono]features_box_grey[/hilite]). Could you try the pro-form ouside the other shortcodes and see if the problem doesn’t happen?

Posted: Tuesday Jul 10th, 2012 at 5:50 pm #18838

the same as I have in the third party section of Options for this method;

What do you mean?

Could you answer these, please?

– What URL is JVZoo sending the customer to after checkout?

– Does the email log plugin show those emails not sent at all, or they are but they just don’t get to the user? http://wordpress.org/extend/plugins/email-log/

– What email is the one not being sent? The signup confirmation, the new user one, or both?
Dashboard -› s2Member® -› PayPal® Options -› Signup Confirmation Email
Dashboard -› s2Member® -› General Options -› Email Configuration -> New User

– Do you have logging enabled? If not, please enable it. I’d like to see the log entries for a transaction that didn’t get the email. Dashboard -› s2Member® -› PayPal® Options -› Account Details -› Logging

Thanks!

Posted: Tuesday Jul 10th, 2012 at 5:25 pm #18836

I don’t know what capability is required to show up in that dropdown menu. Here’s the codex page for roles/capabilities: http://codex.wordpress.org/Roles_and_Capabilities

Posted: Tuesday Jul 10th, 2012 at 5:21 pm #18835

Hamid, could you check out this article and see if it helps with this? Knowledge Base » JW Player sample code not working

Posted: Tuesday Jul 10th, 2012 at 5:30 am #18797

That’d be s2member-pro\includes\classes\exports-in.inc.php :)

Posted: Tuesday Jul 10th, 2012 at 3:51 am #18784

Is there a way to change the confirmation ? so they can click and register rather then waiting for the email

What URL is JVZoo sending you to after checkout?

Well, when the person comes back to the s2Member return URL, a cookie is set so he’ll be allowed to register even if registrations are closed, and will give the new account the access he paid for. Not sure if that happens with the JVZoo integration, do you use the return URL? [hilite path]Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT/Auto-Return Integration[/hilite]

Another thing you can do is, if you confirmed the person paid successfully, is show him a free registration pro-form It’s called like that because it doesn’t require a payment, but you’d check for this requisite before showing it it. [hilite path]Dashboard -› s2Member® -› PayPal® Pro Forms -› Free Registration Forms[/hilite]

Another thing you can do, if you confirmed the person paid, is redirect him to the normal WP registration page, but using a special link that will let him register even if registrations are closed, and give him the access he paid for. http://www.s2member.com/codex/stable/s2member/registrations/c_ws_plugin__s2member_register_access/#src_doc_register_link_gen%28%29

That link would be the same kind that he gets by email, or the one you can generate from [hilite path]Dashboard -› s2Member® -› PayPal® Buttons -› Registration Access Links[/hilite].

If you do it that way, though, you’d need to make sure that the email he gets by email can not then be used by someone else that he shares it with, since you basically let him register some other way. Or you may choose to remove that registration link from the email altogether and only let him register when coming back from payment, or contacting you if there’s any problem with that.

Posted: Tuesday Jul 10th, 2012 at 2:58 am #18780

I just got off the chat with him and he’s really sorry, but he isn’t able to give customization support right now. On top of the development, which is close to beta stage, he’s working on pending emails he hasn’t checked in over a week, and only responding to those that seem to be a problem with the default s2Member, skipping customization questions. He’d normally write good advice for those, but right now he’s sorry he can’t do them immediately. I hope you understand. :/

Ok I just figured that out.. basiclly if the cookies are not there it wont allow access. Thats great! One down one more to go.

Great! :)

About the concurrent subscriptions…

The EOT part would be the simplest, just disable the automatic behavior and handle those manually, or with a custom script called by the EOT notification.
[hilite path]Dashboard -› s2Member® -› ClickBank® Options -› Automatic EOT Behavior[/hilite]
[hilite path]Dashboard -› s2Member® -› API / Notifications -› EOT/Deletion Notifications[/hilite]

You could add a second subscription to the same account, but merging the amounts into one. Then the single one would end and the subscription for both together would start. It’d work fine until the guy wanted to stop only one of them, then going back to just one would be a problem because he’d have to start that subscription again.

Another option is to have the person register a new account for the second subscription… Then you won’t have to hack anything, only explain it in some way that makes sense. If the registration is kept simple, it wouldn’t be too big a problem. The issue would be that the same email address can’t be used in both accounts.

Anyway, I’m throwing ideas that may help you achieve this faster and with less trouble.

Posted: Monday Jul 9th, 2012 at 10:27 pm #18747

Also, you could just set the thank-you page to be the registration form at wp-login.php?action=register. You’d need to customize it a bit so it has the info that ClickBank requires, that’s all.

Posted: Monday Jul 9th, 2012 at 10:25 pm #18746

You don’t need a special link there, just a regular link is fine. If the user checked out fine and came to your thank-you page through the s2member_pro_clickbank_return URL, then he’d have been cookied by s2Member to let him register, even if registrations are closed, and give him the access he paid for.

Posted: Monday Jul 9th, 2012 at 9:58 pm #18741

Michael, since it’s something kinda random, could you check that it’s not a mod_security issue? Maybe the proxy key sometimes has a substring that’s not liked by your mod_security settings. Knowledge Base » Mod Security, Random 503/403 Errors

Posted: Monday Jul 9th, 2012 at 9:56 pm #18740

Hi Derek.

s2Member requires this page to be set for the access restrictions to work. Instead of selling the access in that page, what you can do is explain that the page he tried to view is restricted to registered members only, or just have a JavaScript redirection that takes them to the home page, I guess.

I hope that helps.

Posted: Monday Jul 9th, 2012 at 9:53 pm #18739

Eric, when the subscription already exists that’s handled by the gateway, so you’d need to check if it’s possible there.

s2Member is just notified about the payments, it doesn’t manage them. You have control over the payments with s2Member in the button to start a subscription, but not once it’s started.

I hope that helps.

Posted: Monday Jul 9th, 2012 at 9:49 pm #18738

Well, if you want to have the registration form in the same thank-you page, then you can do your own verification whether or not the person just paid successfully or not. If he did, show the registration pro-form, with the proper level and ccaps. This registration form will let anyone register, even if registrations are closed, so make sure you only show it to someone that qualifies.

Posted: Monday Jul 9th, 2012 at 9:08 pm #18737

Yeah, they should work fine. The form just submits the data, doesn’t process it. You can run some tests with the other widget you choose, to be sure it works, but I don’t think you’ll have a problem. :)

Posted: Monday Jul 9th, 2012 at 9:05 pm #18735

Yeah, saw it. I’ll notify Jason.

Posted: Monday Jul 9th, 2012 at 9:04 pm #18733

Yeah, I think either one would work if done right. Of course, I’d be sure after tyring it and succeeding, but I can’t think of something why it wouldn’t work. :)

Posted: Monday Jul 9th, 2012 at 7:43 pm #18724

Lee, what he’s trying to hack is supporting multiple subscriptions (recurring payments) with separate EOTs for a single user.

Richard, that’s partly why we’re rewriting s2Member. :)

I’m emailing Jason now in case he has any tips for you to do this.

Viewing 25 replies - 5,001 through 5,025 (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.