Ok… twilight zone time
(in case you are NOT familiar with this very old TV show, it was kind of like an X-Files)
Anyway… Created a test site that is the EXACT copy of the production site:
http://test.peer-pods.com
Deactivated all plugins except:
S2member
Classic Editor (required to avoid the new editor)
WP Mail SMTP (my servers don’t have Send Mail active for security reasons)
Also (and this is pertenant to the mystery…)
Removed all non-admin users from the site and removed all test date from Stripe. Also cleared all logs.
BUT… the core problem is still that I don’t get the redirection to the next page…
[s2member_paypal_proxy_return_url] => /membership-option-two-2/
which is reachable at:
http://test.peer-pods.com/membership-option-two-2/
In addition I getting the following error/notice on RETURNING to the original ProForm
“That Email Address is already in use. Please try again.”
??? What!!
But…
It is adding that new user and properly configuring that user with the ccaps
It is adding the new user to the the test data on Stripe and setting up the proper subscription…
So under the hood it is doing what it is expected… just not redirecting and now creating this, what appears to be a bogus error…??
Checked all logs no errors, no hint that I can see why this is happening…
To recap and add the several mysteries here…
- When I first tired, I would go to the above page on a separate browser (Chrome, so as to no be logged in) I still see my admin email/login inserted by default… IT CAN NOT BE EDITED… I tried a third browser (Safari) that did not happen. I confirmed that the Chrome session was not logged in so why it insisted on auto fill is still not understood. So the test was run on Safari… I also tried it on another computer (a Windows machine) with Firefox, that has NEVER gone to this site and also got an Admin email address and user that could not be edited. Where might this be coming from?? I then tested on Chrome on that same windows machine and it let me add a new user, but I still got the above “user exits…” type message
2)On Safari(Mac) and Chrome(Win) It claims that the email address was already in use, even if I made up a bogus address (it did add that user though).
- It does not redirect… IN ALL CASES…
The logs, that I think apply are below (let me know if something is missing that might be important) Basically I don’t see what to test from here or where to look for a miss configuration.
ANY suggestions would be most EXCELLENT!
===========================
Here is the gateway-core-ipn.log
LOG ENTRY: Sat Feb 16th, 2019 @ precisely 10:39 pm UTC
PHP v7.0.6 :: WordPress v5.0.3 :: s2Member v170722 :: s2Member Pro v170722
Memory 35.34 MB :: Real Memory 14.00 MB :: Peak Memory 35.62 MB :: Real Peak Memory 14.00 MB
test.peer-pods.com/?s2member_paypal_notify=1
User-Agent: s2Member v170722; http://test.peer-pods.com
Array
(
[txn_type] => subscr_signup
[subscr_cid] => cus_EXhC3seRlOJ9ff
[subscr_id] => sub_EXhCjCXWC6ksMG
[custom] => test.peer-pods.com
[txn_cid] => cus_EXhC3seRlOJ9ff
[txn_id] => ch_1E4boTBASZgtHD8zT91ABuNw
[period1] => 0 D
[period3] => 1 M
[mc_amount1] => 0.00
[mc_amount3] => 120.00
[mc_gross] => 120.00
[mc_currency] => USD
[tax] => 0.00
[recurring] => 120.00
[payer_email] => jbm@rightstartwebsites.com
[first_name] => Winnie
[last_name] => Pooh
[option_name1] => Originating Domain
[option_selection1] => test.peer-pods.com
[option_name2] => Customer IP Address
[option_selection2] => 97.73.244.9
[item_name] => $120.00 USD / 3 Installments for Training fee
[item_number] => 1:paid_training_installmt,paid_no_qualify
[period] => 0 D
[mc_amount] => 0.00
[option_name] => Originating Domain
[option_selection] => test.peer-pods.com
[proxy_verified] => stripe
[s2member_log] => Array
(
[0] => IPN received on: Sat Feb 16, 2019 10:39:26 pm UTC
[1] => s2Member POST vars verified with a Proxy Key
[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: “Winnie Pooh” jbm@rightstartwebsites.com.
[6] => Subscr. Return ( modification=0
), a Proxy Return URL is ready.
[7] => User exists. Handling payment
for Subscription via ( subscr-signup-as-subscr-payment
).
[8] => Payment Notification URLs have been processed.
[9] => Storing IPN signup vars now. These are associated with a User’s account record; for future reference.
)
[subscr_gateway] => stripe
[subscr_baid] => sub_EXhCjCXWC6ksMG
[level] => 1
[ccaps] => paid_training_installmt,paid_no_qualify
[eotper] =>
[ip] => 97.73.244.9
[initial_term] => 0 D
[initial] => 120.00
[regular] => 120.00
[regular_term] => 1 M
[currency] => USD
[currency_symbol] => $
[s2member_paypal_proxy_return_url] => /membership-option-two-2/
[s2member_paypal_proxy] => stripe
[s2member_paypal_proxy_use] => pro-emails,subscr-signup-as-subscr-payment
[s2member_paypal_proxy_coupon] => Array
(
[coupon_code] =>
[full_coupon_code] =>
[affiliate_id] =>
)
[s2member_paypal_proxy_verification] => 6132a4a7a8d9beefb0999f21bd48e54d
)
The Stripe log
200 OK POST /v1/customers/cus_EXhC3seRlOJ9ff/subscriptions
2019/02/16 15:39:14
200 OK POST /v1/charges
2019/02/16 15:39:12
200 OK POST /v1/customers/cus_EXhC3seRlOJ9ff/cards/card_1E4bo0BASZgtHD8zle69VEGA
2019/02/16 15:39:12
200 OK POST /v1/customers/cus_EXhC3seRlOJ9ff
2019/02/16 15:39:11
200 OK POST /v1/customers
2019/02/16 15:39:10
200 OK POST /v1/tokens
2019/02/16 15:38:44
Inspecting the details of each of the above does not reveal any issues on the Stripe end.
reg-handler.log
LOG ENTRY: Sat Feb 16th, 2019 @ precisely 10:39 pm UTC
PHP v7.0.6 :: WordPress v5.0.3 :: s2Member v170722 :: s2Member Pro v170722
Memory 33.80 MB :: Real Memory 2.00 MB :: Peak Memory 33.91 MB :: Real Peak Memory 2.00 MB
test.peer-pods.com/membership-option-two/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.1.2 Safari/605.1.15
Array
(
[user_id] => 14
[password] =>
[pagenow] => index.php
[email_config] => 1
[processed] => yes
[user] => WP_User Object
(
[data] => stdClass Object
(
[ID] => 14
[user_login] => pooh
[user_pass] => $P$BongENh73UYAo7.dhWzdIjVkMDdcca/
[user_nicename] => pooh
[user_email] => jbm@rightstartwebsites.com
[user_url] =>
[user_registered] => 2019-02-16 22:39:15
[user_activation_key] =>
[user_status] => 0
[display_name] => pooh
[user_level] => 0
)
[ID] => 14
[caps] => Array
(
[s2member_level1] => 1
[access_s2member_ccap_paid_training_installmt] => 1
[access_s2member_ccap_paid_no_qualify] => 1
)
[cap_key] => wp_capabilities
[roles] => Array
(
[0] => s2member_level1
)
[allcaps] => Array
(
[read] => 1
[level_0] => 1
[access_s2member_level0] => 1
[access_s2member_level1] => 1
[s2member_level1] => 1
[access_s2member_ccap_paid_training_installmt] => 1
[access_s2member_ccap_paid_no_qualify] => 1
)
[filter] =>
[site_id:WP_User:private] => 1
)
[_pmr] => Array
(
[s2member_pro_stripe_checkout] => Array
(
[coupon] =>
[first_name] => Winnie
[last_name] => Pooh
[email] => jbm@rightstartwebsites.com
[username] => pooh
[state] =>
[zip] =>
[country] => US
[nonce] => 3eda96ea2f
[attr] => ZGVmNTAyMDBmNzhkZmM4NjI1MWU4OGM4NDcyNjYzY2E2NTRlMmNjMzBjOWJmMmNiZDY0MTc3MTI1ODI5ZTYxM2ZiMjI2N2EwOGRmOTE4MGQ3ZTJmMTU5MGMyZDhmZTUxNzMzOWZkZTkxM2MxODAxM2Y2OWIwNjg1MWI2YzY1OTk0OWM4N2U5NzllNzg5MTUxZDI0ZTEzZTA3NzY0NmQ0ZDE0ZDU3M2UzNWMyNDE4OTljNTBmNzc0M2JiOTU3MWMwZjY1NDNhYzlkNjQxYjlmM2ZlYmU2NGMxYzMyMjNiZjhkZmI2MTlmOTQ0NjNmMjE2NDk3Mjk1ZDBiMzQ0MDc1OGMyZjdhOTRjMmU5MmMzNDUzMzVhNTlmZTQ5NDRkYmY0Y2JlMWI1YWI3NjZiZTRiMzhmMDcwZjJmODAxM2RhNDRkYWYzNGU0M2YxM2E1ZTRkYThmZTk1MTY1Nzk2Yjc0ZmEzZTg2OTVhYWE5NGY5NzQ4NTMyOWNlZjVjNmVlZmQyNzQyZTlkNzIzZjE0YTUyNDg4M2FmMTgzOTkyOWE0ZWVmMzk4NTYwMWI2OTg0MDFlODBhZDkzZjJkZTlmZTIwNGM2MzU4MGIxZmFiZjNjNjc4OGIxZTExZTZhMTIwZWM1MzA1NGYwYzFiYjg0MWY5YzZmMjg0MTI2NzBiZTIyMTRkZDU4NDNhMmI5MjQxY2I3MGU5ZmQ0MjVlY2M3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MmY1MWNhOTRiOTQ4OWM
)
[ws_plugin__s2member_custom_reg_field_user_pass1] =>
[ws_plugin__s2member_custom_reg_field_first_name] => Winnie
[ws_plugin__s2member_custom_reg_field_last_name] => Pooh
[ws_plugin__s2member_custom_reg_field_opt_in] =>
[ws_plugin__s2member_custom_reg_field_s2member_subscr_gateway] => stripe
[ws_plugin__s2member_custom_reg_field_s2member_subscr_cid] => cus_EXhC3seRlOJ9ff
[ws_plugin__s2member_custom_reg_field_s2member_subscr_id] => sub_EXhCjCXWC6ksMG
[ws_plugin__s2member_custom_reg_field_s2member_level] => 1
[ws_plugin__s2member_custom_reg_field_s2member_ccaps] => paid_training_installmt,paid_no_qualify
[ws_plugin__s2member_custom_reg_field_s2member_custom] => test.peer-pods.com
)
[custom_reg_display_name] => full
[reg_cookies] =>
[current_role] => subscriber
[level] => 1
[ccaps] => paid_training_installmt,paid_no_qualify
[role] => s2member_level1
[email] => jbm@rightstartwebsites.com
[login] => pooh
[ip] => 97.73.244.9
[subscr_baid] =>
[subscr_cid] => cus_EXhC3seRlOJ9ff
[auto_eot_time] =>
[notes] =>
[opt_in] =>
[fname] => Winnie
[lname] => Pooh
[name] => Winnie Pooh
[pass] => %D0AJKVUhyl7
[subscr_gateway] => stripe
[subscr_id] => sub_EXhCjCXWC6ksMG
[custom] => test.peer-pods.com
[ccap] => paid_no_qualify
[fields] => Array
(
)
[pr_times] => Array
(
[level] => 1550356756
[level1] => 1550356756
)
[eot] =>
[_COOKIE] => Array
(
)
)