latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Valentin Acatrinei

Sorry, I've not written a description yet. I'll get to it soon!


Topics I'm Subscribed To

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Unable to verify $_POST vars

By:  Valentin Acatrinei in: Community Forum

voices: 2
replies: 7

4 years, 1 month ago  Eduan

Viewing topic 1 (of 1 total)

Topics I've Started

Viewing topic 1 (of 1 total)
Topic Count Last Reply
Unable to verify $_POST vars

By:  Valentin Acatrinei in: Community Forum

voices: 2
replies: 7

4 years, 1 month ago  Eduan

Viewing topic 1 (of 1 total)

My Latest Replies (From Various Topics)

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Wednesday Dec 5th, 2012 at 7:52 am #33536

I have an update.
The problem persists but now i receive the email for creating the user. I follow the link inside and complete all the required informations. The user is created and the new password is generated. I even manage to login with the newly created user.

After i did some research on google i found the log files for the S2 Members ipn communication with PayPal. So i presume that something happens and the submit action is doubled. I say that because, even if the returning page says “Unable to verify $_POST vars” i still received the email, and could complete the signup process.

The ipn was received twice at 9:27:51 am CET and 9:27:52 am CET. The first is accepted and generates: “Signup Confirmation Email sent to: “My Name” .” The second ipn generates: “Skipping this IPN response, for now. The Subscr. ID is not associated with a registered Member.”.

Here is the full log for the first IPN:

PHP v5.3.10 :: WordPress® v3.4.2 :: s2Member® v121201
Memory 46.06 MB :: Real Memory 50.25 MB :: Peak Memory 46.44 MB :: Real Peak Memory 50.25 MB
www.business-caddy.com/?s2member_paypal_notify=1
User-Agent: 
array (
  'txn_type' => 'subscr_signup',
  'subscr_id' => 'I-M33PES475HDB',
  'last_name' => 'FName',
  'option_selection1' => 'www.business-caddy.com',
  'option_selection2' => '109.99.172.50',
  'residence_country' => 'RO',
  'mc_currency' => 'GBP',
  'item_name' => 'Business',
  'business' => 'receiver@site.com',
  'recurring' => '0.20',
  'verify_sign' => 'ANrru0oe7O.9FyagofWzPHOy6CzfA2xJlDeydnUpebPyUH2Y33FFExvh',
  'payer_status' => 'verified',
  'payer_email' => 'My_name@gmail.com',
  'first_name' => 'Name',
  'receiver_email' => 'receiver@site.com',
  'payer_id' => 'FBXCMD98VNTM6',
  'option_name1' => 'Originating Domain',
  'invoice' => '50bf050e86a67~109.99.172.50',
  'option_name2' => 'Customer IP Address',
  'reattempt' => '1',
  'item_number' => '1',
  'subscr_date' => '00:27:32 Dec 05, 2012 PST',
  'custom' => 'www.site.com',
  'charset' => 'windows-1252',
  'notify_version' => '3.7',
  'period3' => '1 M',
  'mc_amount3' => '0.20',
  'ipn_track_id' => '30f1d54baf31f',
  's2member_log' => 
  array (
    0 => 'IPN received on: Wed Dec 5, 2012 9:27:51 am CET',
    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: "My Name" <My_name@gmail.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',
  'ip' => '109.99.172.50',
  'period1' => '0 D',
  'mc_amount1' => '0.00',
  'initial_term' => '0 D',
  'initial' => '0.20',
  'regular' => '0.20',
  'regular_term' => '1 M',
)

The second IPN generated 1 second apart:

PHP v5.3.10 :: WordPress® v3.4.2 :: s2Member® v121201
Memory 45.13 MB :: Real Memory 49.50 MB :: Peak Memory 45.53 MB :: Real Peak Memory 49.50 MB
www.business-caddy.com/?s2member_paypal_notify=1
User-Agent: 
array (
  'mc_gross' => '0.20',
  'invoice' => '50bf050e86a67~109.99.172.50',
  'protection_eligibility' => 'Ineligible',
  'payer_id' => 'FBXCMD98VNTM6',
  'payment_date' => '00:27:34 Dec 05, 2012 PST',
  'payment_status' => 'Completed',
  'charset' => 'windows-1252',
  'first_name' => 'name',
  'option_selection1' => 'www.business-caddy.com',
  'option_selection2' => '109.99.172.50',
  'mc_fee' => '0.20',
  'notify_version' => '3.7',
  'subscr_id' => 'I-M33PES475HDB',
  'custom' => 'www.business-caddy.com',
  'payer_status' => 'verified',
  'business' => 'receiver@gmail.com',
  'verify_sign' => 'Aofk4RwbbJ8NDoEvT8oMkcApVH8oAsPuvyqWfh.HMaBwb4JkDyr8f9TJ',
  'payer_email' => 'my_email@gmail.com',
  'option_name1' => 'Originating Domain',
  'option_name2' => 'Customer IP Address',
  'txn_id' => '99E80150R7996410A',
  'payment_type' => 'instant',
  'last_name' => 'FNAME',
  'receiver_email' => 'receiver@gmail.com',
  'payment_fee' => '',
  'receiver_id' => 'WN4LSBNAQJUVC',
  'txn_type' => 'subscr_payment',
  'item_name' => 'Business',
  'mc_currency' => 'GBP',
  'item_number' => '1',
  'residence_country' => 'RO',
  'transaction_subject' => 'Business',
  'payment_gross' => '',
  'ipn_track_id' => '30f1d54baf31f',
  's2member_log' => 
  array (
    0 => 'IPN received on: Wed Dec 5, 2012 9:27:52 am CET',
    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 ( `subscr_payment|recurring_payment` ).',
    4 => 'Sleeping for 5 seconds. Waiting for a possible ( `subscr_signup|subscr_modify|recurring_payment_profile_created` ).',
    5 => 'Awake. It\'s Wed Dec 5, 2012 9:27:57 am CET. s2Member `txn_type` identified as ( `subscr_payment|recurring_payment` ).',
    6 => 'Skipping this IPN response, for now. The Subscr. ID is not associated with a registered Member.',
    7 => 'Re-generating. This IPN will go into a Transient Queue; and be re-processed during registration.',
  ),
  'subscr_gateway' => 'paypal',
  'ccaps' => NULL,
  'level' => '1',
  'ip' => '109.99.172.50',
)

Any other ideas why this happens?

Posted: Tuesday Dec 4th, 2012 at 12:42 pm #33449

I checked the Paypal information.
Also the paypal payment is completed with no problems. So the mony is transfered from the customers account to the business account. After payment completion, when redirecting back to website, it shows the error above.

I will also try to disable plugins and see what happens.
Thank you for your help again.

Valentin

Posted: Tuesday Dec 4th, 2012 at 12:24 pm #33446
[[s2Member-PayPal-Button level="1" ccaps="" desc="Business Caddy Club / 20 GBP + VAT monthly recurring payments" ps="paypal" lc="" cc="GBP" dg="0" ns="1" custom="www.business-caddy.com" ta="0" tp="0" tt="D" ra="24" rp="1" rt="M" rr="1" rrt="" rra="1" image="default" output="button" /]]

This is the shortcode.
Thank you for the help.
The website was hosted at bluehost. Is this a known issue?

  • This reply was modified 4 years, 1 month ago by  Eduan. Reason: Put shortcode within code tags
Viewing 3 replies - 1 through 3 (of 3 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.