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.

Registration Email not being sent with PayPal

Home Forums Community Forum Registration Email not being sent with PayPal

This topic contains 3 replies, has 3 voices. Last updated by  Raam Dev 4 years, 1 month ago.

Topic Author Topic
Posted: Wednesday Nov 21st, 2012 at 10:03 pm #32306
Dan Martinez
Username: njitc

Payments are processed and the user is charged. They receive the message:

Thank you. Your account has been approved.
— You'll receive an email momentarily.

However, the follow-up email with their temp password is never sent. I ran the server tests and they all passed. I am able to send other emails out from within WP without issue.

Environment:
– Paypal Pro **not the “Paypal Pro Payflow Edition” as that is no longer offered by Paypal.
– Payflow **Payflow credentials are now entered into s2member by using the Paypal “Manager” acct details
– (separate APIs using separate API credentials)

Plugins:
– Allow PHP in Posts and Pages
– Contact Form 7
– s2Member Framework
– s2member Pro
– Sidebar Login

Pro-Forms Shortcode:
[s2Member-Pro-PayPal-Form level="1" ccaps="" desc="1 Day @ $0.01 / then $0.02 USD / Weekly ( recurring charge, for ongoing access )" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="216.80.120.232/root/monstervidz" ta="0.01" tp="1" tt="D" ra="0.02" rp="1" rt="W" rr="1" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]

Notes:
– custom tag in pro-forms shortcode is the same used in the general settings for the website (attention to detail to the “www or without post”
– note in the logs below that the paypal PRO logs return a blank custom, item number, item name… BUT.. the payflow logs have the correct data returned for the same fields.. wtf?

Log results: (fresh log after only 1 transaction and waited 15mins)(identifying information has been redacted)
paypal-ipn.log

PHP v5.3.15 :: WordPress® v3.4.2 :: s2Member® v121023 :: s2Member® Pro v121023
Memory 3.38 MB :: Real Memory 3.75 MB :: Peak Memory 3.43 MB :: Real Peak Memory 3.75 MB
216.80.120.232/root/monstervidz/?s2member_paypal_notify=1&s2member_paypal_proxy=paypal&s2member_paypal_proxy_use=pro-emails,subscr-signup-as-subscr-payment&s2member_paypal_proxy_verification=b06ee3d2df1fe4c159e5af29c3747719&s2member_paypal_proxy_return_url=
User-Agent: WordPress/3.4.2; http://216.80.120.232/root/monstervidz
array (
  'txn_type' => 'subscr_signup',
  'subscr_id' => 'RP0000000004',
  'custom' => '216.80.120.232/root/monstervidz',
  'txn_id' => 'RP0000000004',
  'period1' => '1 D',
  'period3' => '1 W',
  'mc_amount1' => '0.01',
  'mc_amount3' => '0.02',
  'mc_gross' => '0.01',
  'mc_currency' => 'USD',
  'tax' => '0.00',
  'recurring' => '0.02',
  'payer_email' => 'REDACTED',
  'first_name' => 'REDACTED',
  'last_name' => 'REDACTED',
  'option_name1' => 'Originating Domain',
  'option_selection1' => '216.80.120.232',
  'option_name2' => 'Customer IP Address',
  'option_selection2' => 'REDACTED',
  'item_name' => '1 Day @ $0.01 / then $0.02 USD / Weekly ( recurring charge, for ongoing access )',
  'item_number' => '1',
  'proxy_verified' => 'paypal',
  's2member_log' => 
  array (
    0 => 'IPN received on: Thu Nov 22, 2012 2:42:48 am 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: "REDACTED" <REDACTED>.',
    6 => 'User exists. Handling `payment` for Subscription via ( `subscr-signup-as-subscr-payment` ).',
    7 => 'Storing IPN signup vars now. These are associated with a User\'s account record; for future reference.',
  ),
  'subscr_gateway' => 'paypal',
  'eotper' => NULL,
  'ccaps' => NULL,
  'level' => '1',
  'ip' => 'REDACTED',
  'initial_term' => '1 D',
  'initial' => '0.01',
  'regular' => '0.02',
  'regular_term' => '1 W',
  's2member_paypal_proxy' => 'paypal',
  's2member_paypal_proxy_use' => 'pro-emails,subscr-signup-as-subscr-payment',
  's2member_paypal_proxy_verification' => 'b06ee3d2df1fe4c159e5af29c3747719',
)

PHP v5.3.15 :: WordPress® v3.4.2 :: s2Member® v121023 :: s2Member® Pro v121023
Memory 2.70 MB :: Real Memory 2.75 MB :: Peak Memory 2.73 MB :: Real Peak Memory 2.75 MB
216.80.120.232/root/monstervidz/?s2member_paypal_notify=1
User-Agent: 
array (
  'mc_gross' => '0.01',
  'protection_eligibility' => 'Ineligible',
  'payer_id' => '473W46DAL5CN6',
  'tax' => '0.00',
  'payment_date' => '18:42:55 Nov 21, 2012 PST',
  'payment_status' => 'Completed',
  'charset' => 'windows-1252',
  'first_name' => 'REDACTED',
  'mc_fee' => '0.01',
  'notify_version' => '3.7',
  'custom' => '',
  'payer_status' => 'unverified',
  'business' => 'REDACTED',
  'quantity' => '1',
  'verify_sign' => 'AXv6aLA40i-It6sX3W0NLiYPIYCZADEJA96gCh1KRjvmFubTCqjsVZ4x',
  'payer_email' => 'REDACTED',
  'txn_id' => '20L20757716838808',
  'payment_type' => 'instant',
  'last_name' => 'REDACTED',
  'receiver_email' => 'REDACTED',
  'payment_fee' => '0.01',
  'receiver_id' => 'FFDTYXKV39LUY',
  'txn_type' => 'web_accept',
  'item_name' => '',
  'mc_currency' => 'USD',
  'item_number' => '',
  'residence_country' => 'US',
  'receipt_id' => '0621-0756-0766-8259',
  'handling_amount' => '0.00',
  'transaction_subject' => '',
  'payment_gross' => '0.01',
  'shipping' => '0.00',
  'ipn_track_id' => '7ad991e91bdfd',
  's2member_log' => 
  array (
    0 => 'IPN received on: Thu Nov 22, 2012 2:42:49 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',
)

paypal-payflow-api.log

PHP v5.3.15 :: WordPress® v3.4.2 :: s2Member® v121023 :: s2Member® Pro v121023
Memory 2.81 MB :: Real Memory 3.25 MB :: Peak Memory 2.92 MB :: Real Peak Memory 3.25 MB
216.80.120.232/root/monstervidz/signup-monthly-recurring/
User-Agent: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.64 Safari/537.11
-------- Input vars: ( Thu Nov 22, 2012 2:42:43 am UTC ) --------
array (
  'TRXTYPE' => 'R',
  'ACTION' => 'A',
  'EMAIL' => 'REDACTED',
  'FIRSTNAME' => 'REDACTED',
  'LASTNAME' => 'REDACTED',
  'CLIENTIP' => 'REDACTED',
  'DESC' => '1 Day @ $0.01 / then $0.02 USD / Weekly ( recurring charge, for ongoing access )',
  'BA_DESC' => '1 Day @ $0.01 / then $0.02 USD / Weekly ( recurring charge, for ongoing access )',
  'PROFILENAME' => '1353681763:1 D:1 W~216.80.120.232~1',
  'OPTIONALTRX' => 'S',
  'OPTIONALTRXAMT' => '0.01',
  'FAILEDOPTIONALTRXACTION' => 'CancelOnFailure',
  'FAILEDINITAMTACTION' => 'CancelOnFailure',
  'CURRENCY' => 'USD',
  'AMT' => '0.02',
  'TAXAMT' => '0.00',
  'MAXFAILPAYMENTS' => '2',
  'AUTOBILLOUTSTANDINGAMT' => 'AddToNextBilling',
  'START' => '11232012',
  'PAYPERIOD' => 'WEEK',
  'TERM' => '0',
  'TENDER' => 'C',
  'ACCT' => '************REDACTED',
  'EXPDATE' => 'REDACTED',
  'CVV2' => 'REDACTED',
  'STREET' => 'REDACTED',
  'CITY' => 'REDACTED',
  'STATE' => 'REDACTED',
  'COUNTRY' => 'REDACTED',
  'ZIP' => 'REDACTED',
  'VERBOSITY' => 'HIGH',
  'USER' => 'REDACTED',
  'PARTNER' => 'REDACTED',
  'VENDOR' => 'REDACTED',
  'PWD' => 'REDACTED',
)
-------- Output string/vars: ( Thu Nov 22, 2012 2:42:46 am UTC ) --------
RESULT=0&RPREF=RUJ5A1B12505&PROFILEID=RP0000000004&RESPMSG=Approved&TRXRESULT=0&TRXPNREF=ERCP7CEF2712&TRXRESPMSG=Approved&AUTHCODE=111111&AVSADDR=Y&AVSZIP=Y&CVV2MATCH=Y&PPREF=20L20757716838808&CORRELATIONID=7ad991e91bdfd&PROCAVS=Y&PROCCVV2=M&TRANSTIME=2012-11-21 18:42:53&FIRSTNAME=REDACTED&LASTNAME=REDACTED&AMT=0.01&ACCT=REDACTED&EXPDATE=REDACTED&CARDTYPE=1&IAVS=N
array (
  'RESULT' => '0',
  'RPREF' => 'RUJ5A1B12505',
  'PROFILEID' => 'RP0000000004',
  'RESPMSG' => 'Approved',
  'TRXRESULT' => '0',
  'TRXPNREF' => 'ERCP7CEF2712',
  'TRXRESPMSG' => 'Approved',
  'AUTHCODE' => '111111',
  'AVSADDR' => 'Y',
  'AVSZIP' => 'Y',
  'CVV2MATCH' => 'Y',
  'PPREF' => '20L20757716838808',
  'CORRELATIONID' => '7ad991e91bdfd',
  'PROCAVS' => 'Y',
  'PROCCVV2' => 'M',
  'TRANSTIME' => '2012-11-21 18:42:53',
  'FIRSTNAME' => 'REDACTED',
  'LASTNAME' => 'REDACTED',
  'AMT' => '0.01',
  'ACCT' => 'REDACTED',
  'EXPDATE' => 'REDACTED',
  'CARDTYPE' => '1',
  'IAVS' => 'N',
)

PHP v5.3.15 :: WordPress® v3.4.2 :: s2Member® v121023 :: s2Member® Pro v121023
Memory 2.76 MB :: Real Memory 3.00 MB :: Peak Memory 2.78 MB :: Real Peak Memory 3.00 MB
216.80.120.232/root/monstervidz/wp-cron.php?doing_wp_cron=1353552312.6660470962524414062500
User-Agent: WordPress/3.4.2; http://216.80.120.232/root/monstervidz
-------- Input vars: ( Thu Nov 22, 2012 2:45:14 am UTC ) --------
array (
  'TRXTYPE' => 'R',
  'ACTION' => 'I',
  'TENDER' => 'C',
  'ORIGPROFILEID' => 'RP0000000004',
  'VERBOSITY' => 'HIGH',
  'USER' => 'REDACTED',
  'PARTNER' => 'REDACTED',
  'VENDOR' => 'REDACTED',
  'PWD' => 'REDACTED',
)
-------- Output string/vars: ( Thu Nov 22, 2012 2:45:14 am UTC ) --------
RESULT=0&RPREF=RSJ5A0828BB9&PROFILEID=RP0000000004&STATUS=ACTIVE&PROFILENAME=1353681763:1 D:1 W~216.80.120.232~1&START=11232012&TERM=0&NEXTPAYMENT=11232012&PAYPERIOD=WEEK&FREQUENCY=1&TENDER=C&AMT=0.02&ACCT=REDACTED&EXPDATE=REDACTED&AGGREGATEAMT=0.00&AGGREGATEOPTIONALAMT=0.01&MAXFAILPAYMENTS=2&NUMFAILPAYMENTS=0&RETRYNUMDAYS=2&EMAIL=REDACTED&NAME=REDACTED&LASTNAME=REDACTED&STREET=REDACTED&CITY=REDACTED&STATE=REDACTED&ZIP=REDACTED&COUNTRY=US&CURRENCY=USD
array (
  'RESULT' => '0',
  'RPREF' => 'RSJ5A0828BB9',
  'PROFILEID' => 'RP0000000004',
  'STATUS' => 'ACTIVE',
  'PROFILENAME' => '1353681763:1 D:1 W~216.80.120.232~1',
  'START' => '11232012',
  'TERM' => '0',
  'NEXTPAYMENT' => '11232012',
  'PAYPERIOD' => 'WEEK',
  'FREQUENCY' => '1',
  'TENDER' => 'C',
  'AMT' => '0.02',
  'ACCT' => 'REDACTED',
  'EXPDATE' => 'REDACTED',
  'AGGREGATEAMT' => '0.00',
  'AGGREGATEOPTIONALAMT' => '0.01',
  'MAXFAILPAYMENTS' => '2',
  'NUMFAILPAYMENTS' => '0',
  'RETRYNUMDAYS' => '2',
  'EMAIL' => 'REDACTED',
  'NAME' => 'REDACTED',
  'LASTNAME' => 'REDACTED',
  'STREET' => 'REDACTED',
  'CITY' => 'REDACTED',
  'STATE' => 'REDACTED',
  'ZIP' => 'REDACTED',
  'COUNTRY' => 'US',
  'CURRENCY' => 'USD',
)

paypal-payflow-ipn.log

PHP v5.3.15 :: WordPress® v3.4.2 :: s2Member® v121023 :: s2Member® Pro v121023
Memory 2.76 MB :: Real Memory 3.00 MB :: Peak Memory 2.79 MB :: Real Peak Memory 3.00 MB
216.80.120.232/root/monstervidz/wp-cron.php?doing_wp_cron=1353552312.6660470962524414062500
User-Agent: WordPress/3.4.2; http://216.80.120.232/root/monstervidz
array (
  'RESULT' => '0',
  'RPREF' => 'RSJ5A0828BB9',
  'PROFILEID' => 'RP0000000004',
  'STATUS' => 'ACTIVE',
  'PROFILENAME' => '1353681763:1 D:1 W~216.80.120.232~1',
  'START' => '11232012',
  'TERM' => '0',
  'NEXTPAYMENT' => '11232012',
  'PAYPERIOD' => 'WEEK',
  'FREQUENCY' => '1',
  'TENDER' => 'C',
  'AMT' => '0.02',
  'ACCT' => 'REDACTED',
  'EXPDATE' => 'REDACTED',
  'AGGREGATEAMT' => '0.00',
  'AGGREGATEOPTIONALAMT' => '0.01',
  'MAXFAILPAYMENTS' => '2',
  'NUMFAILPAYMENTS' => '0',
  'RETRYNUMDAYS' => '2',
  'EMAIL' => 'REDACTED',
  'NAME' => 'REDACTED',
  'LASTNAME' => 'REDACTED',
  'STREET' => 'REDACTED',
  'CITY' => 'REDACTED',
  'STATE' => 'REDACTED',
  'ZIP' => 'REDACTED',
  'COUNTRY' => 'US',
  'CURRENCY' => 'USD',
  'ipn_signup_vars' => 
  array (
    'txn_type' => 'subscr_signup',
    'subscr_id' => 'RP0000000004',
    'custom' => '216.80.120.232/root/monstervidz',
    'txn_id' => 'RP0000000004',
    'period1' => '1 D',
    'period3' => '1 W',
    'mc_amount1' => '0.01',
    'mc_amount3' => '0.02',
    'mc_gross' => '0.01',
    'mc_currency' => 'USD',
    'tax' => '0.00',
    'recurring' => '0.02',
    'payer_email' => 'REDACTED',
    'first_name' => 'REDACTED',
    'last_name' => 'REDACTED',
    'option_name1' => 'Originating Domain',
    'option_selection1' => '216.80.120.232',
    'option_name2' => 'Customer IP Address',
    'option_selection2' => 'REDACTED',
    'item_name' => '1 Day @ $0.01 / then $0.02 USD / Weekly ( recurring charge, for ongoing access )',
    'item_number' => '1',
    'proxy_verified' => 'paypal',
    'subscr_gateway' => 'paypal',
    'eotper' => '',
    'ccaps' => '',
    'level' => '1',
    'ip' => 'REDACTED',
    'initial_term' => '1 D',
    'initial' => '0.01',
    'regular' => '0.02',
    'regular_term' => '1 W',
  ),
  's2member_log' => 
  array (
    0 => 'Ignoring this status ( `ACTIVE` ). It does NOT require any action on the part of s2Member.',
  ),
)
  • This topic was modified 4 years, 1 month ago by  Dan Martinez.

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Thursday Nov 22nd, 2012 at 7:38 am #32342

Hi Dan.

Thanks a lot for all the info!

The IPN log has these two lines:

5 => 'Signup Confirmation Email sent to: "REDACTED" <REDACTED>.',
6 => 'User exists. Handling `payment` for Subscription via ( `subscr-signup-as-subscr-payment` ).',

If the log says the email was sent, then the problem would be after s2Member sent it. Did you check the spam folder? Could you try the tips in this article? Knowledge Base » Troubleshooting Email Delivery Problems

Also, were you logged in to an account or logged out when you loaded the page with the pro-form for your test?

– Paypal Pro **not the “Paypal Pro Payflow Edition” as that is no longer offered by Paypal.
– Payflow **Payflow credentials are now entered into s2member by using the Paypal “Manager” acct details
– (separate APIs using separate API credentials)

I’m not sure what you mean by separate APIs using separate API credentials, could you explain?

You say you don’t have the PayFlow edition, then why do you have a PayFlow log? You should leave the PayFlow integration empty if your PayPal Pro account is not the PayFlow Edition. [hilite path]Dashboard -› s2Member® -› PayPal® Options -› PayFlow[/hilite]

Posted: Thursday Nov 22nd, 2012 at 8:26 pm #32379
Dan Martinez
Username: njitc

Thanks, got it worked out. Emails were being sent by WP, but were failing from the server due to some problems with php mail(); I didn’t bother fixing the php mail so I just installed WP SMTP Mail plugin and had it send via SMTP.

Posted: Friday Nov 23rd, 2012 at 1:41 pm #32435
Raam Dev
Username: Raam
Staff Member

Great! Thanks for the update, Dan. Glad to hear you solved this. :)

Viewing 3 replies - 1 through 3 (of 3 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

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.