Community Support Forums — WordPress® ( Users Helping Users ) — 2011-07-17T13:55:09-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=10143 2011-07-17T13:55:09-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=28579#p28579 <![CDATA[Re: Pro-form confirmation email is not received]]>
Much appreciated,
Scott

Statistics: Posted by scottgould — July 17th, 2011, 1:55 pm


]]>
2011-07-17T00:20:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=28561#p28561 <![CDATA[Re: Pro-form confirmation email is not received]]> Thanks for the follow-up.
scottgould wrote:
Hi Guys

I'm a bit slow here - what do I change to %%payer_email%% ? I can't find a field that I'm meant to be adjusting.

Is this in S2member settings on SMTP settings?

Thanks,
Scott

Check your list of recipients under:
s2Member -> PayPal Options -> Signup Confirmation Email
s2Member -> PayPal Options -> Specific Post/Page Confirmation Email

Statistics: Posted by Jason Caldwell — July 17th, 2011, 12:20 am


]]>
2011-07-14T06:28:03-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=28371#p28371 <![CDATA[Re: Pro-form confirmation email is not received]]>
I'm a bit slow here - what do I change to %%payer_email%% ? I can't find a field that I'm meant to be adjusting.

Is this in S2member settings on SMTP settings?

Thanks,
Scott

Statistics: Posted by scottgould — July 14th, 2011, 6:28 am


]]>
2011-06-22T01:38:11-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=21391#p21391 <![CDATA[Re: Pro-form confirmation email is not received]]> RFC 822 for email addresses in the To: header, and parse them out when/if needed. Maybe this is a change that the plugin developer could make, so that "Name" <address> and/or multiple recipients will not cause this problem in the future.
wpweaver wrote:
This is a totally revised version of my earlier post, but with a with solution.

I do not want to run sendmail on my VPS server. Instead, I'm using a plugin called WP-Mail-SMTP, which intercepts calls to wp_mail(), and routes via whatever SMTP server you want instead (I'm using gmail.).

I just spent a long time figuring this problem out. When using the default s2member PayPal e-mail configuration, the confirmation e-mai was not being delivered. Everything looked ok. I finally added a logger to for wp_mail(), and discovered that the confirmation e-mail was being attempted, but failing.

The reason seems to be that using a SMTP replacement will fail when the address is in the form

User Name <user@example.com>

which is the default for Confirmation Recipients in s2member.

I instead simply used %%payer_email%%, and the confirmations started to get delivered. Did not try with multiple recipients, however (like you might want to send a copy to yourself?).

But this does confirm that s2member uses wp_mail(), and NOT PHP mail() as implied by earlier responses. I did in fact look at s2member code to confirm this as well (before I did all the other experiments). So any plugin that lets wp_mail() use SMTP or other mail provider should work just fine - apparently as long as you confine the address to a plain e-mail address.

Statistics: Posted by Jason Caldwell — June 22nd, 2011, 1:38 am


]]>
2011-06-20T22:58:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=21281#p21281 <![CDATA[Re: Pro-form confirmation email is not received]]>

Statistics: Posted by Cristián Lávaque — June 20th, 2011, 10:58 pm


]]>
2011-06-20T17:38:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=21251#p21251 <![CDATA[Re: Pro-form confirmation email is not received]]>
I do not want to run sendmail on my VPS server. Instead, I'm using a plugin called WP-Mail-SMTP, which intercepts calls to wp_mail(), and routes via whatever SMTP server you want instead (I'm using gmail.).

I just spent a long time figuring this problem out. When using the default s2member PayPal e-mail configuration, the confirmation e-mai was not being delivered. Everything looked ok. I finally added a logger to for wp_mail(), and discovered that the confirmation e-mail was being attempted, but failing.

The reason seems to be that using a SMTP replacement will fail when the address is in the form

User Name <user@example.com>

which is the default for Confirmation Recipients in s2member.

I instead simply used %%payer_email%%, and the confirmations started to get delivered. Did not try with multiple recipients, however (like you might want to send a copy to yourself?).

But this does confirm that s2member uses wp_mail(), and NOT PHP mail() as implied by earlier responses. I did in fact look at s2member code to confirm this as well (before I did all the other experiments). So any plugin that lets wp_mail() use SMTP or other mail provider should work just fine - apparently as long as you confine the address to a plain e-mail address.

Statistics: Posted by wpweaver — June 20th, 2011, 5:38 pm


]]>
2011-06-15T20:09:28-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=20862#p20862 <![CDATA[Re: Pro-form confirmation email is not received]]>
Also, if the .org comes up sometimes, then it would be good that you find where it remains so you make it fully .com and avoid silly problems because of it in the future. This thread is somewhat related viewtopic.php?f=36&t=1066

Statistics: Posted by Cristián Lávaque — June 15th, 2011, 8:09 pm


]]>
2011-06-15T11:11:12-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=20836#p20836 <![CDATA[Re: Pro-form confirmation email is not received]]>
Success URL now works due to my silly mistake in the shortcode - thank you!

However, confirmation email receipt is still not being sent. I am using a plugin to replace php_mail with SMTP - could it be that?

Thanks again,

Scott

Statistics: Posted by scottgould — June 15th, 2011, 11:11 am


]]>
2011-06-15T03:03:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=20822#p20822 <![CDATA[Re: Pro-form confirmation email is not received]]>
1. It's .com - it's just that when we developed it early on it was .org, and though I've changed all the DB entries, it still acts as .org sometimes in the logs. It's .com, with .org as a domain alias - all one installation.

2. Thanks for spotting the shortcode - I did not see that at all - will change it.

3. Thanks for both of your help!

Statistics: Posted by scottgould — June 15th, 2011, 3:03 am


]]>
2011-06-15T00:37:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=20779#p20779 <![CDATA[Re: Pro-form confirmation email is not received]]> wearelikeminds.org and in others you have wearelikeminds.com. Is your installation on the same domain, or how is your site structured exactly?

Also, in your Shortcode, please add a space before the success="" attribute.
Code:
captcha="0"success

Should be:
Code:
captcha="0" success

Statistics: Posted by Jason Caldwell — June 15th, 2011, 12:37 am


]]>
2011-06-14T21:36:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=20757#p20757 <![CDATA[Re: Pro-form confirmation email is not received]]>
Code:
WordPress® v3.1.3 :: s2Member® v110606 :: s2Member® Pro v110606
wearelikeminds.org/?s2member_paypal_notify=1
User-Agent:
array (
  'mc_gross' => '0.10',
  'protection_eligibility' => 'Ineligible',
  'item_number1' => '1:+club:1 Y',
  'payer_id' => 'PDXAUQU7YRC5L',
  'tax' => '0.00',
  'payment_date' => '19:33:58 Jun 14, 2011 PDT',
  'payment_status' => 'Completed',
  'charset' => 'windows-1252',
  'mc_shipping' => '0.00',
  'mc_handling' => '0.00',
  'first_name' => 'Faye',
  'mc_fee' => '0.10',
  'notify_version' => '3.1',
  'custom' => 'wearelikeminds.com|club',
  'payer_status' => 'unverified',
  'business' => 'paypal@wearelikeminds.com',
  'num_cart_items' => '1',
  'mc_handling1' => '0.00',
  'verify_sign' => 'AQU0e5vuZCvSg-XJploSa.sGUDlpAmyGeUUdTPET6UKGCYpY8DL2ktrL',
  'payer_email' => 'faye@scottgould.me',
  'mc_shipping1' => '0.00',
  'tax1' => '0.00',
  'txn_id' => '53D20089EB178763J',
  'payment_type' => 'instant',
  'last_name' => 'Gould',
  'item_name1' => 'Like Minds Club Membership @ £480 inc VAT, 1 year',
  'receiver_email' => 'paypal@wearelikeminds.com',
  'payment_fee' => '',
  'quantity1' => '1',
  'receiver_id' => 'EB6KFEJNSP6JS',
  'txn_type' => 'cart',
  'mc_gross_1' => '0.10',
  'mc_currency' => 'GBP',
  'residence_country' => 'GB',
  'receipt_id' => '3467-4134-8012-6312',
  'transaction_subject' => '',
  'payment_gross' => '',
  'ipn_track_id' => '.sLkXg0IirTF3k3ga4bOGA',
  's2member_log' =>
  array (
    0 => 'IPN received on: Wed Jun 15, 2011 2:34:02 am UTC',
    1 => 's2Member POST vars verified through a POST back to PayPal®.',
    2 => 'Unable to verify _SERVER[HTTP_HOST]. Possibly caused by a fraudulent request. If this error continues, please check the `custom` value in your Form and/or Button Code. It MUST always start with your domain name.',
  ),
  'subscr_gateway' => 'paypal',
)

WordPress® v3.1.3 :: s2Member® v110606 :: s2Member® Pro v110606
wearelikeminds.com/?s2member_paypal_notify=1&s2member_paypal_proxy=paypal&s2member_paypal_proxy_use=pro-emails&s2member_paypal_proxy_verification=cdca5f14009d0f6613845db69a5fc2d3&s2member_paypal_proxy_return_url=
User-Agent: WordPress/3.1.3; https://wearelikeminds.com
array (
  'txn_type' => 'web_accept',
  'txn_id' => '53D20089EB178763J',
  'custom' => 'wearelikeminds.com|club',
  'mc_gross' => '0.10',
  'mc_currency' => 'GBP',
  'tax' => '0.00',
  'payer_email' => 'faye@scottgould.me',
  'first_name' => 'Faye',
  'last_name' => 'Gould',
  'option_name1' => 'Originating Domain',
  'option_selection1' => 'wearelikeminds.com',
  'option_name2' => 'Customer IP Address',
  'option_selection2' => '92.238.126.70',
  'item_name' => 'Like Minds Club Membership @ £480 inc VAT, 1 year',
  'item_number' => '1:+club:1 Y',
  'proxy_verified' => 'paypal',
  's2member_log' =>
  array (
    0 => 'IPN received on: Wed Jun 15, 2011 2:34:06 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: "Faye Gould" <faye@scottgould.me>.',
    6 => 'User exists. Handling `payment` for Subscription via (web_accept).',
    7 => 'Payment Notification URLs have been processed.',
    8 => 'Payment Notification Emails have been processed.',
    9 => 'Storing IPN signup vars now. These are associated with a User\'s account record; for future reference.',
  ),
  'subscr_gateway' => 'paypal',
  'subscr_id' => '53D20089EB178763J',
  'eotper' => '1 Y',
  'ccaps' => '+club',
  'level' => '1',
  'ip' => '92.238.126.70',
  'period1' => '0 D',
  'mc_amount1' => '0.00',
  'period3' => '1 Y',
  'mc_amount3' => '0.10',
  'initial_term' => '0 D',
  'initial' => '0.10',
  'regular' => '0.10',
  'regular_term' => '1 Y',
  'recurring' => '0',
  's2member_paypal_proxy' => 'paypal',
  's2member_paypal_proxy_use' => 'pro-emails',
  's2member_paypal_proxy_verification' => 'cdca5f14009d0f6613845db69a5fc2d3',
)





And here's the API log:
Code:
WordPress® v3.1.3 :: s2Member® v110606 :: s2Member® Pro v110606
wearelikeminds.com/registration/club-hidden
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.14) Gecko/20110218 AlexaToolbar/alxf-1.54 Firefox/3.6.14
-------- Input vars: ( Wed Jun 15, 2011 2:33:55 am UTC ) --------
array (
  'METHOD' => 'DoDirectPayment',
  'PAYMENTACTION' => 'Sale',
  'EMAIL' => 'faye@scottgould.me',
  'FIRSTNAME' => 'Faye',
  'LASTNAME' => 'Gould',
  'IPADDRESS' => '92.238.126.70',
  'DESC' => 'Like Minds Club Membership @ £480 inc VAT, 1 year',
  'CUSTOM' => 'wearelikeminds.com|club',
  'CURRENCYCODE' => 'GBP',
  'ITEMAMT' => '0.10',
  'TAXAMT' => '0.00',
  'AMT' => '0.10',
  'L_QTY0' => '1',
  'L_NAME0' => 'Like Minds Club Membership @ £480 inc VAT, 1 year',
  'L_NUMBER0' => '1:+club:1 Y',
  'L_AMT0' => '0.10',
  'CREDITCARDTYPE' => 'Visa',
  'ACCT' => '************0943',
  'EXPDATE' => '062013',
  'CVV2' => '469',
  'STREET' => '68 Magdalen Street',
  'CITY' => 'Exeter',
  'STATE' => 'Devon',
  'COUNTRYCODE' => 'GB',
  'ZIP' => 'EX2 4HN',
  'VERSION' => '71.0',
  'USER' => 'paypal_api1.wearelikeminds.com',
  'PWD' => 'XKPNEU7VNENE22XB',
  'SIGNATURE' => 'AHmKsVRiISUuZ3i8LFRefYhfQl-vAyYZ5029AibTsZNCXXNEfW.H71OY',
)
-------- Output string/vars: ( Wed Jun 15, 2011 2:33:59 am UTC ) --------
TIMESTAMP=2011%2d06%2d15T02%3a33%3a59Z&CORRELATIONID=4e4cc0536539d&ACK=Success&VERSION=71%2e0&BUILD=1921397&AMT=0%2e10&CURRENCYCODE=GBP&AVSCODE=Z&CVV2MATCH=M&TRANSACTIONID=53D20089EB178763J
array (
  'TIMESTAMP' => '2011-06-15T02:33:59Z',
  'CORRELATIONID' => '4e4cc0536539d',
  'ACK' => 'Success',
  'VERSION' => '71.0',
  'BUILD' => '1921397',
  'AMT' => '0.10',
  'CURRENCYCODE' => 'GBP',
  'AVSCODE' => 'Z',
  'CVV2MATCH' => 'M',
  'TRANSACTIONID' => '53D20089EB178763J',
)

Statistics: Posted by scottgould — June 14th, 2011, 9:36 pm


]]>
2011-06-14T21:31:02-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=20755#p20755 <![CDATA[Re: Pro-form confirmation email is not received]]> Statistics: Posted by scottgould — June 14th, 2011, 9:31 pm


]]>
2011-06-14T20:59:37-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=20751#p20751 <![CDATA[Re: Pro-form confirmation email is not received]]> WP Admin -> s2Member -> PayPal Options -> PayPal Account Details -> Enable Logging Routines. After enabling logging, new transactions will be logged in a file in that directory.

Thanks for the shortcode. :)

Statistics: Posted by Cristián Lávaque — June 14th, 2011, 8:59 pm


]]>
2011-06-14T16:54:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=20732#p20732 <![CDATA[Re: Pro-form confirmation email is not received]]>
Code:
Code:
[s2Member-Pro-PayPal-Form level="1" ccaps="+club" desc="Like Minds Club Membership @ £480 inc VAT, 1 year" ps="paypal"  lc="" cc="GBP" dg="0" ns="1" custom="wearelikeminds.com|club" ta="0" tp="0" tt="Y" ra="480" rp="1" rt="Y" rr="BN" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="1" default_country_code="" captcha="0"success="http://wearelikeminds.com/registration/club-welcome" /]


However I have NO logs - the folder you specified doesn't exist. Must I turn this on?

Scott

Statistics: Posted by scottgould — June 14th, 2011, 4:54 pm


]]>
2011-06-14T16:34:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=20728#p20728 <![CDATA[Re: Pro-form confirmation email is not received]]>
Could you please post the shortcode you're using and the s2Member log entries for those tests? /wp-content/plugins/s2member-logs/

Statistics: Posted by Cristián Lávaque — June 14th, 2011, 4:34 pm


]]>
2011-06-14T12:39:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=20714#p20714 <![CDATA[Re: Pro-form confirmation email is not received]]> Statistics: Posted by scottgould — June 14th, 2011, 12:39 pm


]]>
2011-06-14T12:00:22-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=20712#p20712 <![CDATA[Re: Pro-form confirmation email is not received]]> Statistics: Posted by Cristián Lávaque — June 14th, 2011, 12:00 pm


]]>
2011-06-14T11:59:04-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=20711#p20711 <![CDATA[Re: Pro-form confirmation email is not received]]>
So I am purchasing test memberships, and when I do, I don't get redirected, and I don't receive a confirmation email and receipt, as per my definition in S2Member -> PayPal Options.

As the administrator, I see the purchase come through.

Thanks Cristián

Statistics: Posted by scottgould — June 14th, 2011, 11:59 am


]]>
2011-06-14T11:53:53-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=20710#p20710 <![CDATA[Re: Pro-form confirmation email is not received]]>
Under what circumstance is this the case? The email should be sent as you define it in the s2Member -> PayPal Options page. Is it when you have the success redirection problem, when the person creates an account at the same time he purchases?

Statistics: Posted by Cristián Lávaque — June 14th, 2011, 11:53 am


]]>
2011-06-14T05:29:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=10143&p=20690#p20690 <![CDATA[Pro-form confirmation email is not received]]>
Also having a problem in that I'm not receiving the confirmation email as defined in PayPal Options.

Again, is this a feature I need to enable, or code I've broken?

Thanks for your help,
Scott

Statistics: Posted by scottgould — June 14th, 2011, 5:29 am


]]>