19 replies
I have a WSO that has paypal working correctly but is not forwarding to my friend Danielle's (The course creator) website for members to automatically register which is set up with S2Member membership. We believe that we entered the correct info for IPN and the return URL,.. This is a regular WSO, not Pro

It is the second link in my sig.

Anyone familiar with setting up a paypal button with s2member integration?
#paypal #s2member
  • Profile picture of the author Jeff Chandler
    I've setup an html page previously that had a paypal button that wasn't on the WordPress site. What I did was to use the option in S2Member to create a paypal button. The bottom of that page shows the form code that needs to be copied to your html page so that paypal will direct back to your WP site correctly.

    If you want an encrypted paypal post, go to that same paypal button option page and copy the s2member shortcode to a temporary WP post. Publish the post and do a view source to copy out the encrypted html for the paypal button.
    {{ DiscussionBoard.errors[5368400].message }}
  • Profile picture of the author dsbusiness23
    So what would she do once she has copied the html for the post?

    Would she create a new paypal button with the code? Cause she will need to then send it to me, so that I can put it correctly into the WSO
    {{ DiscussionBoard.errors[5368453].message }}
    • Profile picture of the author Jeff Chandler
      The html code includes the paypal button. There's a text window at the bottom of the screen when you create the button that includes an html form that posts to paypal with the payment info and includes the info that paypal will need to send back to the WP site so that you record the payment correctly.

      They have a tutorial here that shows how it works:
      PayPal® Options/Buttons ( Video ) « s2Member.com
      {{ DiscussionBoard.errors[5368648].message }}
  • Profile picture of the author dsbusiness23
    Hmm I know she said she was able to create a button inside of S2Membe(not paypal) and that it worked when she tested it with paypal sandbox. However how would she use the html or shortcode from s2member without using paypal and then have me add it for her to the WSO?

    Also she said she followed the screenshots here to set it up in paypal and thats what didn't work? Using paypal created buttons

    Thanks for helping so far,

    Dan
    {{ DiscussionBoard.errors[5368731].message }}
    • Profile picture of the author MichaelParsons
      Is she using S2 free or s2 Pro?

      Also, is she using PayPal Pro or PayPal Standard?

      From the S2 support site

      There is one minor issue worth mentioning. With PayPal® Pro integration, you absolutely MUST configure a default IPN URL inside your PayPal® account. Please see: s2Member -> PayPal® Options -> IPN Integration for full details - along with work-arounds for any cross-domain issues you might run into. The free version of s2Member ( with PayPal® Standard integration ) does NOT require this, but with PayPal® Pro - you MUST have an IPN URL configured inside your PayPal® Pro account. s2Member cannot override the default IPN URL on a per-transaction basis with the Pro API.

      If you're using a single PayPal® Pro account for multiple cross-domain installations, and you need to receive IPN notifications for each of your domains; you'll want to create a central IPN processing script that scans variables in each IPN response, forking itself out to each of your individual domains. In rare cases when this is necessary, you'll find two variables in all IPN responses for s2Member. The originating domain name ( i.e. IANA — Example domains ) will always be included somewhere within, either: custom and/or rp_invoice_id; depending on the type of transaction. These variables can be used to test incoming IPNs, and fork to the proper installation.
      You mentioned the IPN URL, so just checking if you might be doing something for s2 FREE you might not need to do.
      {{ DiscussionBoard.errors[5368804].message }}
    • Profile picture of the author Jeff Chandler
      Originally Posted by dsbusiness23 View Post

      Hmm I know she said she was able to create a button inside of S2Membe(not paypal) and that it worked when she tested it with paypal sandbox. However how would she use the html or shortcode from s2member without using paypal and then have me add it for her to the WSO?

      Also she said she followed the screenshots here to set it up in paypal and thats what didn't work? Using paypal created buttons

      Thanks for helping so far,

      Dan
      s2member creates the paypal button code for you. You don't have to login to paypal other than to make the recommended account setup steps they have in their instructions. Those instructions for doing it through paypal will generate the same html code that s2member creates except that it looks like paypal gives you a few more options.

      Are you actually setting this up for her or is she doing it? If she's doing it, you may want to use some screen sharing software to watch how she's setting it up so you can double-check that it's being done correctly. I use http://join.me. I've setup a site with paypal std and s2member free exactly like this and had no issues.
      {{ DiscussionBoard.errors[5370541].message }}
  • Profile picture of the author dsbusiness23
    She told me she is using both standard paypal and S2member free because at this moment she only requires that. Doesn't need pro unless she finds out this can only be done with pro to integrate into the WSO I set up for her.

    Thanks, please let me know what she can do. Like I said she followed exactly what the screenshot showed. She told me she set the item ID to 4 for her level 4 members(which are the paid ones) then she set her main URL for if customers cancel and set her finish checkout link to the return one she integrated through s2member and paypal. Then she did custom= her paypal notify link, like the pic shows and rm=2
    {{ DiscussionBoard.errors[5368842].message }}
  • Profile picture of the author MichaelParsons
    Hmm.. One more shot, then I have to log off. Try this?
    s2Member requires one of the following two scenarios. Both of these configurations will produce a valid result:

    Auto-Return and PDT ( Payment Data Transfer ) both turned: ON
    Auto-Return and PDT ( Payment Data Transfer ) both turned: OFF

    In other words, you should NOT enable/disable one of these without the other. They are both dependent upon each other. If you enable Auto-Return without PDT, no transaction information will be sent in the response to s2Member.
    You would want them both ON
    {{ DiscussionBoard.errors[5368891].message }}
  • Profile picture of the author dsbusiness23
    "s2member creates the paypal button code for you. You don't have to login to paypal other than to make the recommended account setup steps they have in their instructions" Thank you, that was very helpful.

    She is doing it. Once I have her try again how would I add it as a link to my WSO? I have an add to cart image I really like how would I attach that long code to it to get the link to work? The original way I did it was with the email link Paypal makes when you set it up through them. As far as I know S2Member doesn't create an email link?
    {{ DiscussionBoard.errors[5370747].message }}
    • Profile picture of the author Jeff Chandler
      Originally Posted by dsbusiness23 View Post

      "s2member creates the paypal button code for you. You don't have to login to paypal other than to make the recommended account setup steps they have in their instructions" Thank you, that was very helpful.

      She is doing it. Once I have her try again how would I add it as a link to my WSO? I have an add to cart image I really like how would I attach that long code to it to get the link to work? The original way I did it was with the email link Paypal makes when you set it up through them. As far as I know S2Member doesn't create an email link?
      I'm not aware of anyway to do an email link with s2member. If you want to change out the image that s2member uses, the html form that it generates has a link to the image. Just change this piece of the code to use your image instead.

      <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_xpressCheckout.gif" style="width:auto; height:auto; border:0;" alt="PayPal®" />
      {{ DiscussionBoard.errors[5370810].message }}
  • Profile picture of the author dsbusiness23
    But how do I use that html code to add the button link to my WSO?
    {{ DiscussionBoard.errors[5370878].message }}
    • Profile picture of the author Jeff Chandler
      Take the html generated by s2member and insert wherever you like on your sales page. That html includes the paypal button code.
      {{ DiscussionBoard.errors[5370957].message }}
  • Profile picture of the author dsbusiness23
    When I tried to insert the html before on the WSO it just had it written in code and didn't create a button? The only thing that worked was using the email link she gave me from paypal?
    {{ DiscussionBoard.errors[5371004].message }}
    • Profile picture of the author Jeff Chandler
      Not sure. Maybe someone who's created a WSO can help you out. It might strip out html form code and only allow a hyperlink.
      {{ DiscussionBoard.errors[5371025].message }}
    • Profile picture of the author MichaelParsons
      Originally Posted by dsbusiness23 View Post

      When I tried to insert the html before on the WSO it just had it written in code and didn't create a button? The only thing that worked was using the email link she gave me from paypal?
      AH! Methinks I have something. Maybe not.

      The "button code" you have from S2, are you using the shortcode on the WSO? You should NOT.

      Also, get the FULL html of the S2 button, look for the part
      HTML Code:
      [B]<a href="http://www.MYSITE.COM">[/B]
      Try taking the URL (in quotes above) out of the HTML for the button, and using THAT hyperlink for your text on the WSO. Try putting that URL into a new browser window to see what happens. If it does what you expect, use that for the URL of your link in the WSO.
      {{ DiscussionBoard.errors[5377648].message }}
  • Profile picture of the author dsbusiness23
    Hmm Danielle created a new button and sent me the code. I can't find href anywhere in it. Could I click the button the code creates to see what link it links to then copy that to the WSO? or would that not work? I guess what I am asking is does s2member record all the variables into that http link that are in the form?
    {{ DiscussionBoard.errors[5380778].message }}
    • Profile picture of the author Jeff Chandler
      Originally Posted by dsbusiness23 View Post

      Hmm Danielle created a new button and sent me the code. I can't find href anywhere in it. Could I click the button the code creates to see what link it links to then copy that to the WSO? or would that not work? I guess what I am asking is does s2member record all the variables into that http link that are in the form?
      S2member generates a form POST. I created a test button, copied the code to a test html page and changed the submit method from POST to GET and tried to send to Paypal. Paypal dropped all the parameters when I sent the data as a GET so I don't think that's going to work. If the WSO forum will not let you insert an html form into a post, then you're not going to be able to use that button code. You'll have to find another way to setup the account.
      {{ DiscussionBoard.errors[5381591].message }}
  • Profile picture of the author dsbusiness23
    As of now Danielle has created a new page with a working Paypal link. I have changed the Add to cart button on the WSO to go to that page. Clicking the add to card button on that page should go to Paypal checkout then automatically redirect to the account creation page to create a paid account after payment.

    That's the best work around I could think of at the moment.
    {{ DiscussionBoard.errors[5381655].message }}

Trending Topics