Paypal Redirect Issue
Posted: September 14th, 2011, 8:54 pm
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:
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:
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!
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!