Not Returning From Paypal to Registration Page
Posted: April 11th, 2011, 7:20 am
Greetings,
I'm doing working on integrating S2Member into my WP site. I'm on WP3.1.1 and S2Member 3.5.8 the free version.
On the paypal side I am using Website payment standard. But I have also signed up for the optional service that doesn't require users to have a paypal account.
Last night I tried a test run of the registration for one of my levels. I generated the button using the S2 pages and inserted the short code into my member options page.
I started a fresh browser and went to the site. No user logged in. Went to the member page and clicked the button. It took me to paypal and everything looked correct on the form at paypal. I followed the instructions to use a credit card instead of my paypal account. Paypal seemed to process everything just fine.
But at the very end when it transferred me back to the web site, it took me to the home page instead of the registration page. I expected it to take me to the registration page and let me create a username, etc.
I _did_ get an email with a link to go complete my registration. (After I dug it out of my spam folder, but that's a different story!)
When I clicked the link, it took me to the registration page just fine. I was able to complete the registration just fine including the email verification step.
In the end, the test user was able to create the account. So in that sense everything worked. But like I said, I expected the user to get transferred back to the registration page.
I had logging turned on and I've attacked the log entries from the two files below. I don't follow the detailes of these entries. But I can see text in them that effectively say, " I didn't get what I need from paypal, sending the user an email."
Anyway, my question is, does it appear that I have something configured wrong that is preventing the redirect back to the registration page from paypal? Or is there something due to the nature of this transaction (i.e. paying by CC rather than paypal) that is causing this behavior ? Or is this just the way it works?
I'm trying to understand this so I can write appropriate instructions for the end users.
Thanks,
Calvin
I'm doing working on integrating S2Member into my WP site. I'm on WP3.1.1 and S2Member 3.5.8 the free version.
On the paypal side I am using Website payment standard. But I have also signed up for the optional service that doesn't require users to have a paypal account.
Last night I tried a test run of the registration for one of my levels. I generated the button using the S2 pages and inserted the short code into my member options page.
I started a fresh browser and went to the site. No user logged in. Went to the member page and clicked the button. It took me to paypal and everything looked correct on the form at paypal. I followed the instructions to use a credit card instead of my paypal account. Paypal seemed to process everything just fine.
But at the very end when it transferred me back to the web site, it took me to the home page instead of the registration page. I expected it to take me to the registration page and let me create a username, etc.
I _did_ get an email with a link to go complete my registration. (After I dug it out of my spam folder, but that's a different story!)
When I clicked the link, it took me to the registration page just fine. I was able to complete the registration just fine including the email verification step.
In the end, the test user was able to create the account. So in that sense everything worked. But like I said, I expected the user to get transferred back to the registration page.
I had logging turned on and I've attacked the log entries from the two files below. I don't follow the detailes of these entries. But I can see text in them that effectively say, " I didn't get what I need from paypal, sending the user an email."
Anyway, my question is, does it appear that I have something configured wrong that is preventing the redirect back to the registration page from paypal? Or is there something due to the nature of this transaction (i.e. paying by CC rather than paypal) that is causing this behavior ? Or is this just the way it works?
I'm trying to understand this so I can write appropriate instructions for the end users.
Thanks,
Calvin
- Code: Select all
paypal-rtn.log
www.doityourselfcitizen.com/?s2member_paypal_return=1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.16 (KHTML, like Gecko) Chrome/10.0.648.204 Safari/534.16
array (
's2member_log' =>
array (
0 => 'No Return-Data from PayPal速. Customer must wait for Email Confirmation.',
1 => 'Redirecting Customer to the Home Page.',
),
)
paypal-ipn.log
www.doityourselfcitizen.com/?s2member_paypal_notify=1
User-Agent:
array (
'txn_type' => 'subscr_signup',
'subscr_id' => 'I-BF6LE6XS8S7S',
'last_name' => 'Powers',
'residence_country' => 'US',
'mc_currency' => 'USD',
'item_name' => 'Citizen Level Access / 1 year free trial then $1/day',
'amount1' => '0.00',
'business' => 'calvin@taprootmedia.com',
'amount3' => '1.00',
'recurring' => '1.00',
'verify_sign' => 'A6nl5nB1RQ.S84ZiUR2-jk6rre-4AAgP4-2027v7m.Pf9jbYAy5UXQWv',
'payer_status' => 'unverified',
'payer_email' => 'calvin@cspowers.com',
'first_name' => 'Calvin',
'receiver_email' => 'calvin@taprootmedia.com',
'payer_id' => 'MEBF33YFF7NVN',
'reattempt' => '1',
'item_number' => '1',
'subscr_date' => '19:24:10 Apr 10, 2011 PDT',
'custom' => 'www.doityourselfcitizen.com',
'charset' => 'windows-1252',
'notify_version' => '3.1',
'period1' => '1 Y',
'mc_amount1' => '0.00',
'period3' => '1 D',
'mc_amount3' => '1.00',
's2member_log' =>
array (
0 => 'IPN received on: Mon Apr 11, 2011 2:24:18 am UTC',
1 => 's2Member POST vars verified through a POST back to PayPal速.',
2 => 's2Member originating domain ( _SERVER[HTTP_HOST] ) validated.',
3 => 's2Member txn_type identified as (web_accept|subscr_signup).',
4 => 's2Member txn_type identified as (web_accept|subscr_signup) w/o update vars.',
5 => 'Signup Confirmation Email sent to: "Calvin Powers" <calvin@cspowers.com>.',
6 => 'Storing IPN signup vars into a Transient Queue. These will be processed on registration.',
),
'subscr_gateway' => 'paypal',
'eotper' => NULL,
'ccaps' => NULL,
'level' => '1',
'initial_term' => '1 Y',
'initial' => '0.00',
'regular' => '1.00',
'regular_term' => '1 D',
)