Support

Home Forums Event Espresso Premium EE 4.6.16.p PayPal Conflict with s2member pro

EE 4.6.16.p PayPal Conflict with s2member pro

Posted: March 22, 2015 at 2:31 pm


CMNtv

March 22, 2015 at 2:31 pm

Hello,

Since updating to EventEspresso 4.6.16.p, it has created a conflict with the completion of PayPal payments using another plugin s2member pro. When EE is active, a user attempts to pay for a membership using s2member pro. They are taken to PayPal and go through the steps. Upon final confirmation, they are then redirected back to our site with no confirmation message and taken back to the registration form, not the preset return page. No payment is processed.

EE registration works fine through PayPal with both plugins enabled. I’ve disabled EE then tried s2Member Pro and s2member pro payment works as expected. Their support team suggested I contact your department to look into conflicts between the two plugins interaction with PayPal and the auto return features of each.

I can offer EE support login access if needed.

Site: http://www.cmntv.org
Payment: PayPal Standard
Wordpress: 4.1.1
EE: 4.6.16.p

Any guidance is appreciated. These plugins have worked together well in the past as recently as Feb 2015.

Thanks
Chris Weagel


Lorenzo Orlando Caum

  • Support Staff

March 23, 2015 at 4:31 pm

Hi Chris,

Do you have the auto-return URL set for S2member pro and is the PDT enabled?


Lorenzo


CMNtv

March 24, 2015 at 10:23 am

Yes on both.

At the moment, EE is set to actual PayPal account. s2Member is set to PayPal sandbox. However I tested everything both ways and s2member gets tripped up when EE is active.

Chris Weagel
CMNtv.org


Josh

  • Support Staff

March 25, 2015 at 3:19 pm

Hi Chris,

Can you let me know the page slug of the return page for S2? or is it the one that does siturl.com/?s2member_paypal_return=1&s2member_paypal_return_tra=xxx


CMNtv

March 29, 2015 at 11:04 am

Here is a sample return URL from s2member pro:

http://www.cmntv.org/?s2member_paypal_return=1&s2member_paypal_proxy=paypal&s2member_paypal_proxy_use=x-preview

I’ve upgraded EE to the latex 4.x update today. s2member pro remains in PayPal sandbox mode. Unfortunately, the return error still persists. When EE is disabled, s2Member paypal returns function normally.

Running a test membership signup with EE disabled worked correctly and took me back to the site using this URL:
http://www.cmntv.org/membership/join-cmntv-full-membership-resident-account/?s2p-option&s2member_paypal_xco=s2member_pro_paypal_checkout_return&token=EC-5CL07723JU420132K&PayerID=87KTWNVRT3744

Thank you for you support in resolving this.


Josh

  • Support Staff

March 30, 2015 at 12:38 pm

Hi Chris,

Can you outline how you have the form set up, specifically how it points to “/membership/join-cmntv-full-membership-resident-account/?s2p-option” for the form action? Was it set up the way this guide suggests with PayPal Express?

http://www.s2member.com/faqs/#s2-faqs-paypal-pro-not-required

When we set up the PayPal button with S2member pro on our test site, the form action is pointing to PayPal.com or “https://www.paypal.com/cgi-bin/webscr”

The reason I’m asking is because normally when you send people off to PayPal with S2, it doesn’t involve a Pro form, but instead a button. I’m wondering if you’d see this conflict if you were to use an onsite gateway like Stripe. You can also avoid any conflict by setting up a PayPal button instead of a Pro form that ends up taking the user off-site to a PayPal Express checkout.


CMNtv

April 4, 2015 at 10:43 am

I apologize for the delayed response. It’s been very hectic here.

I’m going to go through all of the settings on s2member pro again. I bought the s2member pro to use the Pro Forms to collect the new member data. Sending them to PayPal for that is not an option. Again, these two plugins were working successfully together since July 2014.

I will check the return URLs and regenerate and re-embed the s2member pro forms with the verified return URLs and let you know my results.

This is extremely frustrating as our organization depends on these two functions for our members to join the organization and sign up for classes.

Thank you for your assistance.

Chris


CMNtv

April 4, 2015 at 10:47 pm

Ok,

I have the s2member pro-forms setup as listed on their FAQ. I am not using Stripe. I am sending them to PayPal where they can pay with either a PayPal account or a credit card with PayPal processing the payment.

At the end of either payment, they are sent back to the return URL I put into the s2member form short code.

The Pro-Form I have been testing with and have checked and re-checked can be seen here:

As you can see it’s just a pretty version of the WordPress user registration form with a paypal button at the bottom. Clicking it takes the customer to the PayPal site for payment.

Just prior to writing this response, I again checked everything. When EE is active, the user is sent to PayPal. They go through everything and hit buy. Then, they are returned to the original registration form page on my site. No confirmation of anything. No new user is created on the site. No payment is processed.

When I disabled EE, the calendar and table view add-ons, the s2member pro form works as intended. Payment gets processed, the user is created on the site and they are returned to the appropriate page. When EE and its add-ons are active, nothing.

I can provide you with login credentials if you give me a private way to send them.

Thanks for your help,
Chris


Josh

  • Support Staff

April 6, 2015 at 3:01 pm

Hi Chris,

We have a site set up with S2 Members Pro + EE and are working through some troubleshooting.

Can you post the S2 Member shortcode that you’re using on this page: http://www.cmntv.org/membership/join-cmntv-full-membership-resident-account/
so we can compare with what we have set up?


Josh

  • Support Staff

April 6, 2015 at 4:20 pm

Another thing you can do that will help:

You can contact S2 Member support and ask them if there’s a global or anything else that if overridden, would make what you’re seeing happen… happen.

From looking this over, it seems s2 member is receiving a response from PayPal just fine but somehow, somewhere, it looks like S2’s code is choking.

Yes, probably somehow EE has done something that makes their code malfunction, however someone who’s more familiar with s2member should know exactly where it could wrong, and then tell us something like “Hey, you guys are messing up one of our globals, (or whatever else it could be)”.


Josh

  • Support Staff

April 9, 2015 at 9:25 am

Hi Chris,

Can you try updating to Event Espresso 4.6.19.p? We found a query that needed to be fixed and it would have affected the S2 Member transients that get added to the options table. So if you update to Event Espresso 4.6.19.p that should fix your PayPal return issue.


CMNtv

April 16, 2015 at 12:01 pm

Josh,

The 4.6.19.p update appears to have solved the conflict. Thanks for your hard work on this.

Chris

The support post ‘EE 4.6.16.p PayPal Conflict with s2member pro’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso