PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

PayPal Button Success

s2Member Plugin. A Membership plugin for WordPress®.

PayPal Button Success

Postby BJedd » March 10th, 2011, 12:33 pm

Does anyone know if the PayPal developer sandbox account works the same as any verified account? I'm trying to test a successful return to a page after checkout, but it doesn't seem to work with PayPal sandbox. The account is set up properly, the payment goes through correctly to PayPal, but it doesn't return to the success page on the site. Here's an example of the button code. Is there something I have missed?

[s2Member-PayPal-Button ids="180" exp="168" desc="The description of my product here." ps="SVPayPal" cc="USD" ns="1" custom="mysite.com" ra="7.95" sp="1" image="default" output="button" success="http://mysite.com/mylandingpage"/]

Thanks for you help.
User avatar
BJedd
Registered User
Registered User
 
Posts: 6
Joined: March 6, 2011

Re: PayPal Button Success

Postby Cristián Lávaque » March 10th, 2011, 1:08 pm

From what I understand, it should work. Look, here's a quote from WP Admin -> s2Member -> PayPal Options -> PayPal Account Details

*Sandbox Tip* If you're testing your site through a PayPal® Sandbox account, please remember that Email Confirmations from s2Member will NOT be received after a test purchase. s2Member sends its Confirmation Emails to the PayPal® Email Address of the Customer. Since PayPal® Sandbox addresses are usually bogus ( for testing ), you will have to run live transactions before Email Confirmations from s2Member are received. That being said, all other s2Member functionality CAN be tested through a PayPal® Sandbox account. Email Confirmations are the only hang-up.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: PayPal Button Success

Postby BJedd » March 10th, 2011, 3:47 pm

After trying several things, still no response. I thought it was because I was still logged in as admin, but after logging out, it did not help. I have tried the PayPal button with both the success="http://mysite.com" and without. Neither method delivers me back to my success page from PayPal with any of the sandbox accounts/emails. I arrive at the PayPal "Test, thank you for your payment" PayPal page, but that is the end of the line. I would think that from there, it would redirect to my success page, but it doesn't.

Anyone have any experience otherwise?
User avatar
BJedd
Registered User
Registered User
 
Posts: 6
Joined: March 6, 2011

Re: PayPal Button Success

Postby BJedd » March 10th, 2011, 4:01 pm

I think I discovered the "duh" solution. Apparently, you have to manually click the yellow "Return to Merchant" button from the the PayPal Thank You page. Then it redirects to your success page.
User avatar
BJedd
Registered User
Registered User
 
Posts: 6
Joined: March 6, 2011

Re: PayPal Button Success

Postby Cristián Lávaque » March 10th, 2011, 4:10 pm

Glad you solved it. :)

I'd have thought that the redirection occurs, though, without requiring the customer to click a button. I wonder if out of the sandbox it'd behave differently.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron