PriMoThemes — now s2Member® (official notice)
This is now a very OLD forum system. It's in READ-ONLY mode.
	All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™






[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" /]


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',
)
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',
)

captcha="0"successcaptcha="0" success





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.


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


Users browsing this forum: Google [Bot], Yahoo [Bot] and 1 guest