Page 1 of 2

Paypal Redirect Issue

PostPosted: September 14th, 2011, 8:54 pm
by Remeste
Unfortunately i'm having redirect issues upon members paying with paypal. It was working correctly at one stage so i'm not sure what's gone wrong. Here is a log of the most recent sign-up:

WordPress® v3.2.1 :: s2Member® v110815 :: s2Member® Pro v110815
Memory 29.65 MB :: Real Memory 29.75 MB :: Peak Memory 29.71 MB :: Real Peak Memory 29.75 MB
http://www.suicidepreventionaust.org/?s ... l_notify=1
User-Agent:
array (
'txn_type' => 'subscr_signup',
'subscr_id' => 'I-ABCDEFGHIJK',
'last_name' => 'Last',
'option_selection1' => 'www.suicidepreventionaust.org',
'option_selection2' => '123.456.789.39',
'residence_country' => 'AU',
'mc_currency' => 'AUD',
'item_name' => 'Individual ( $66/per year )',
'business' => 'paypal@suicidepreventionaust.org',
'recurring' => '1',
'verify_sign' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
'payer_status' => 'unverified',
'payer_email' => 'user@esp.com',
'first_name' => 'User',
'receiver_email' => 'paypal@suicidepreventionaust.org',
'payer_id' => 'ABCDEFGHIJKMNLOPQ',
'option_name1' => 'Originating Domain',
'invoice' => '4e71438d49eec~58.166.238.39',
'option_name2' => 'Customer IP Address',
'reattempt' => '1',
'item_number' => '2',
'subscr_date' => '17:16:44 Sep 14, 2011 PDT',
'custom' => 'suicidepreventionaust.org',
'charset' => 'windows-1252',
'notify_version' => '3.2',
'period3' => '1 Y',
'mc_amount3' => '66.00',
'ipn_track_id' => 'lkjdsafoiurojlkf',
's2member_log' =>
array (
0 => 'IPN received on: Thu Sep 15, 2011 12:17:14 am UTC',
1 => 's2Member POST vars verified through a POST back to PayPal®.',
2 => 'Unable to verify `$_SERVER["HTTP_HOST"]`. Please check the `custom` value in your Button Code. It MUST start with your domain name.',
),
'subscr_gateway' => 'paypal',
)


On paypal completion they are not being redirected back to the sign-up form on the site. They simply get redirected to an error page. I noticed the "Please check the `custom` value in your Button Code" log, here is how my buttons are setup:

[s2Member-PayPal-Button level="2" ccaps="" desc="Individual ( $66/per year )" ps="paypal" lc="" cc="AUD" dg="0" ns="1" custom="suicidepreventionaust.org" ta="0" tp="0" tt="D" ra="66" rp="1" rt="Y" rr="1" rrt="" rra="1" image="default" output="button" /]


I'm pretty sure everything is set up correctly in regards to the Paypal IPN Integration, and the Paypal PDT/Auto-Return Integration, but if you cannot see the problem here i'll look into these further.

One issue that is a worry. Even though they are not being redirected back properly, if my client links them to the sign-up form manually it doesn't register them as a member associated to what they paid for on Paypal.

Thanks for your help!

Re: Paypal Redirect Issue

PostPosted: September 16th, 2011, 1:55 pm
by RachelC
Having the same problem with PayPal buttons.
Once the page is linked through S2Member as the Subsciber Optoins page, the button gets an error.
If I don't like and just leave it as a page, it works.
Customers are getting a blank screen or being directed to the PayPal homepage.
Waiting to hear of a fix (similar to fix in Paypal Pro version)
viewtopic.php?f=46&t=15161

Re: Paypal Redirect Issue

PostPosted: September 18th, 2011, 8:17 pm
by Remeste
Can you please help with this? It's quite a major issue.

Re: Paypal Redirect Issue

PostPosted: September 19th, 2011, 7:36 am
by RachelC
s2Member generated Paypal button link still not working... I tried the new version v110915 and things got worse. We think the paypal button problem was fixed but...
The s2Member Level #1 (restricted) categories disappeared from the nav bar if not logged in once I put the restrictions up.... They showed up before and if a non subscriber clicked on them they were taken to the subscribe now page.
Went back to the c110815 version and added a Paypal generated button link. If anyone comes up with a solution, please let me know.

Re: Paypal Redirect Issue

PostPosted: September 20th, 2011, 4:02 pm
by Jason Caldwell
RachelC wrote:The s2Member Level #1 (restricted) categories disappeared from the nav bar if not logged in once I put the restrictions up.... They showed up before and if a non subscriber clicked on them they were taken to the subscribe now page.
This has to do with the way the latest version of s2Member treats the (All) specification for it's Alternative View Restrictions. You can correct this on your installation by reviewing/modifying your options under: s2Member -> Restriction Options -> Alternative View Restrictions.

I'll reply momentarily on your other concern.

SNAG-0002.png

Re: Paypal Redirect Issue

PostPosted: September 20th, 2011, 4:09 pm
by Jason Caldwell
In the Shortcode that you posted before:
Code: Select all
[s2Member-PayPal-Button level="2" ccaps="" desc="Individual ( $66/per year )" ps="paypal" lc="" cc="AUD" dg="0" ns="1" custom="suicidepreventionaust.org" ta="0" tp="0" tt="D" ra="66" rp="1" rt="Y" rr="1" rrt="" rra="1" image="default" output="button" /]
The Shortcode Attribute custom, is set to: suicidepreventionaust.org. However, in your log entry it shows: www.suicidepreventionaust.org in the HTTP request. That suggests that your custom Shortcode Attribute should be changed, to match your site configuration. I hope that helps. Also see this article please: viewtopic.php?f=36&t=1066

This would explain the error you got here:
Code: Select all
'Unable to verify `$_SERVER["HTTP_HOST"]`. Please check the `custom` value in your Button Code. It MUST start with your domain name.',

Re: Paypal Redirect Issue

PostPosted: September 20th, 2011, 4:21 pm
by Cristián Lávaque
Yeah, the www seems to be the issue. When I load your page the www gets added, but your custom value doesn't have it. Fixing that should deal with your problem.

Re: Paypal Redirect Issue

PostPosted: September 22nd, 2011, 1:32 am
by Remeste
Thanks guys,

I made those changes so hopefully it's fixed now.

Re: Paypal Redirect Issue

PostPosted: September 24th, 2011, 7:20 am
by RachelC
Okay... I've upgraded to the v110915 hoping the Paypal issues will be fixed.
I've put the s2Member generated PP button on the subscribe page.
http://s378727962.onlinehome.us/venting/?page_id=846

Non-Subscribers are restricted to Categories through s2Member Restrictions (used in the top nav bar)
Pages in left column (FREE ACCESS) are visible and free to everyone.

'I've fixed the nav bar (categories) not showing up through s2Member >> Restriction Options >> Alternate view Restrictions (checking OFF Nav menus as instructed in Forum and checking ON the first three)
If a non-subscriber clicks on a nav bar item, they are nowre directed to http://s378727962.onlinehome.us/venting ... evel_req=1

Now if the PP button works.... we're golden... fingers crossed...

Take a look please.... http://venting.ca

I have the log active if you want me to send it. Thanks

Re: Paypal Redirect Issue

PostPosted: September 24th, 2011, 8:31 am
by RachelC
http://s378727962.onlinehome.us/venting/?page_id=846

- PP button seems to work on a Mac using Firefox.
- using Firefox on a PC gets a blank screen
- using Internet Explorer sends a frame message. When opened in a new window, directed to PP homepage

Could someone please take a look and tell me what they get when they hit the PP button... thanks

PP Log file is available.

Re: Paypal Redirect Issue

PostPosted: September 24th, 2011, 8:35 am
by Eduan
- using Firefox on a PC gets a black screen

That's not the case with me.

Re: Paypal Redirect Issue

PostPosted: September 24th, 2011, 8:42 am
by RachelC
that's blank screen... sorry... did you get the correct pp page?

Is it possible this is a web brower setting issue???

Re: Paypal Redirect Issue

PostPosted: September 24th, 2011, 8:45 am
by Eduan
did you get the correct pp page?

Yes I did.


Is it possible this is a web brower setting issue???

Maybe...
Why don't you try configuring PC Firefox so that it's exactly like the Mac Firefox?... Including add-ons.

Re: Paypal Redirect Issue

PostPosted: September 24th, 2011, 11:16 am
by RachelC
Thanks, Eduan... can you do me a favour... please click on it more than once... does it still work?

Anyone else out there to try the pay button for me? I'd appreciate it...
http://s378727962.onlinehome.us/venting/?page_id=846

Re: Paypal Redirect Issue

PostPosted: September 24th, 2011, 12:35 pm
by Eduan
Yes it is working... Does it work for you?

Re: Paypal Redirect Issue

PostPosted: September 24th, 2011, 12:39 pm
by RachelC
still get a blank screen on the PC... tried shutting off Add-ons but still not working.
Glad to know it works for you though, Eduan. Thanks

Anyone else out there to try it out? Jason? Christian? Would appreciate feedback.
Thanks

Re: Paypal Redirect Issue

PostPosted: September 24th, 2011, 12:42 pm
by Eduan
Just one more thing: Is your WordPress and your s2Member installations updated?
Is Firefox updated?

Re: Paypal Redirect Issue

PostPosted: September 24th, 2011, 12:44 pm
by RachelC
Wordpress is 3.2.1, My SQL is 5.0, s2Member is v110915, Firefox on PC is up to date (6.0.2)

Re: Paypal Redirect Issue

PostPosted: September 24th, 2011, 1:00 pm
by Eduan
My MySQL is version 5.5.8...

Re: Paypal Redirect Issue

PostPosted: September 25th, 2011, 7:41 am
by RachelC
Button stopped working again. When click on PP button you get a blank page.... ARG!
It worked for a few people, then when owner went into it, it stopped working. Maybe he's breaking it somehow? Very frustrated.
http://s378727962.onlinehome.us/venting/?page_id=846

Re: Paypal Redirect Issue

PostPosted: September 25th, 2011, 8:33 am
by Eduan
Maybe that is the case because it works with me...
Maybe your boss has a virus that breaks into the website...
It still works for me though...

About the security for virus I recommend NOD32 at http://www.eset.com/us/.
And ThreatFire at http://www.threatfire.com/.
ThreatFire is free but NOD32 isn't...

Re: Paypal Redirect Issue

PostPosted: September 25th, 2011, 8:49 am
by RachelC
Thanks for checking. Good to know it's working.
I wonder if it breaks when someone is logged in as an administrator? Or some add-on in their web browser is causing a problem.
Anyone else have the Paypal page not coming up?

Re: Paypal Redirect Issue

PostPosted: September 27th, 2011, 12:46 am
by Cristián Lávaque
I get the PayPal page after clicking the button. I'm on Win XP with Firefox 3.6.20.

Re: Paypal Redirect Issue

PostPosted: November 16th, 2011, 1:40 pm
by Eduan
RachelC, did you solve your problem after all?

Re: Paypal Redirect Issue

PostPosted: November 16th, 2011, 3:06 pm
by RachelC
No, Eduan. Never did.
Had to put a Paypal issued button. They are simply adding members manually through the dashboard. Not the best situation but it's a live site that can't go down to investigate s2member issues.