Hey Christian, Thanks for the feedback,
So it looks like nothing is logging in either the paypal-api.log or the paypal-rtn.log Nothing has been logged in either of those since May! Eitherway logging has been enabled but it seems only the paypal-ipn.log is recording anything. This what the full log for that transaction is:
PHP v5.3.5 :: WordPress® v3.4.2 :: s2Member® v121204 :: s2Member® Pro v121204
Memory 32.42 MB :: Real Memory 34.25 MB :: Peak Memory 33.44 MB :: Real Peak Memory 34.25 MB
mysite.org/?s2member_paypal_notify=1
User-Agent:
array (
'txn_type' => 'subscr_modify',
'subscr_id' => 'S-XXXXXXXXXX8433941',
'last_name' => 'hasumi',
'option_selection1' => 'S-XXXXXXXXXX705640N',
'option_selection2' => 'XX.XX.XXX.XX',
'residence_country' => 'CA',
'mc_currency' => 'USD',
'item_name' => 'Testin adoption modification for Gunung,Oscarina',
'business' => 'mysite_owner@gmail.com',
'amount3' => '0.02',
'subscr_effective' => '02:00:00 Nov 23, 2013 PST',
'recurring' => '0.02',
'verify_sign' => 'ADXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXXFzBOr',
'payer_status' => 'verified',
'payer_email' => 'JIM@BOB.com',
'first_name' => 'JIMBOB',
'receiver_email' => 'mysite_owner@gmail.com',
'payer_id' => 'GRQFXXXXXXX',
'option_name1' => 'Referencing Customer ID',
'invoice' => 'XXXXXX4dd6ee4a~XX.XX.XXX.XX',
'option_name2' => 'Customer IP Address',
'reattempt' => '1',
'item_number' => '1:gunung,oscarina',
'subscr_date' => '00:57:56 Dec 11, 2012 PST',
'custom' => 'mysite.org',
'charset' => 'windows-1252',
'notify_version' => '3.7',
'period3' => '1 M',
'mc_amount3' => '0.02',
'ipn_track_id' => 'XXXXX7a11afe6',
's2member_log' =>
array (
0 => 'IPN received on: Tue Dec 11, 2012 8:58:12 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 ( `subscr_modify` ).',
4 => 'Unable to modify Subscription. Could not get the existing User ID from the DB.',
),
'subscr_gateway' => 'paypal',
'ccaps' => 'gunung,oscarina',
'level' => '1',
'ip' => 'XX.XX.XXX.XX',
'period1' => '0 D',
'mc_amount1' => '0.00',
'initial_term' => '0 D',
'initial' => '0.02',
'regular' => '0.02',
'regular_term' => '1 M',
)
Maybe this helps: http://www.primothemes.com/forums/viewtopic.php?f=4&t=10368&p=33365#p33365
As for me not receiving anything in my email from mysite.org regarding my new adoption: It seems reasonable to consider that since the user ID cannot be found in the DB by s2member it cannot find the user email address to send the confirmation link/thank you message to. I’m assuming if i can figure out how to get s2member to recognize the user then the email would probably go out successfully.
You may need to adjust it dynamically based on what ccaps the user already has. Knowledge Base » Using variables in a shortcode
Oh good. I’ve figured this part out. I’ve got a script that finds all the existing ccaps, it then takes the newest desired adoptee and appends it to this list.
So any ideas why the user returns from paypal and s2member can’t recognize them?