Page 1 of 1

Welcome email for page purchase not working *need coffee*

PostPosted: April 28th, 2011, 12:40 pm
by adriarichards
Hello,

I can't seem to get the single purchase pages working. Very frustrating!

I have s2member Pro
Paypal Pro
Reoccurring billing (with the thought I'll drop Paypal Pro)

I've turned on debugging.
I get the notice from Paypal about the payment but the email doesn't go to the customer.

Re: Welcome email for page purchase not working *need coffee

PostPosted: April 28th, 2011, 1:05 pm
by Cristián Lávaque
Hi Adria. :)

Could you please post from s2Member's IPN log the entry that corresponds to your test that didn't have the email sent?

Also, did you check the spam folder to make sure it didn't end up there? And did you check that your PHP's mail function is working properly?

Re: Welcome email for page purchase not working *need coffee

PostPosted: April 28th, 2011, 1:25 pm
by adriarichards
Cristián,

Going down your checklist:

Here is the log:
Code: Select all
freshworkshops.com/members/?s2member_paypal_notify=1
User-Agent:
array (
  'mc_gross' => '0.01',
  'protection_eligibility' => 'Ineligible',
  'payer_id' => 'QE8HAZPZS48PJ',
  'tax' => '0.00',
  'payment_date' => '10:20:55 Apr 28, 2011 PDT',
  'payment_status' => 'Completed',
  'charset' => 'windows-1252',
  'first_name' => 'Adria',
  'mc_fee' => '0.01',
  'notify_version' => '3.1',
  'custom' => 'freshworkshops.com',
  'payer_status' => 'unverified',
  'business' => 'Info@AdenNetworks.com',
  'quantity' => '1',
  'verify_sign' => 'AKWn6.hDKIW4AFGaLBgA2LZzWemPA7ck20snbmDIMCq6floZDhydLtBy',
  'payer_email' => 'info+test1@freshworkshops.com',
  'txn_id' => '2LC31090NP7549245',
  'payment_type' => 'instant',
  'last_name' => 'Richards',
  'receiver_email' => 'info@freshworkshops.com',
  'payment_fee' => '0.01',
  'receiver_id' => 'KA7AETA779PYU',
  'txn_type' => 'web_accept',
  'item_name' => 'Description and pricing details here.',
  'mc_currency' => 'USD',
  'item_number' => 'sp:17244:72',
  'residence_country' => 'US',
  'receipt_id' => '4747-0104-3541-2514',
  'handling_amount' => '0.00',
  'transaction_subject' => 'freshworkshops.com',
  'payment_gross' => '0.01',
  'shipping' => '0.00',
  'ipn_track_id' => 'efaudD4FTkoNIyx7KN29bA',
  's2member_log' =>
  array (
    0 => 'IPN received on: Thu Apr 28, 2011 5:25:35 pm 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 (web_accept) for Specific Post/Page Access.',
    4 => 'Specific Post/Page Confirmation Email sent to: "Adria Richards" <info+test1@freshworkshops.com>.',
    5 => 'Storing Specific Post/Page Tracking Codes into a Transient Queue. These will be processed on-site.',
  ),
  'subscr_gateway' => 'paypal',
  'hours' => '72',
  'sp_ids' => '17244',
)

freshworkshops.com/members/?s2member_paypal_notify=1
User-Agent:
array (
  'mc_gross' => '1.04',
  'protection_eligibility' => 'Ineligible',
  'payer_id' => 'QE8HAZPZS48PJ',
  'tax' => '0.00',
  'payment_date' => '10:36:01 Apr 28, 2011 PDT',
  'payment_status' => 'Completed',
  'charset' => 'windows-1252',
  'first_name' => 'Adria',
  'mc_fee' => '0.33',
  'notify_version' => '3.1',
  'custom' => 'freshworkshops.com',
  'payer_status' => 'unverified',
  'business' => 'Info@AdenNetworks.com',
  'quantity' => '1',
  'verify_sign' => 'A9CoXbOPSvdD0mWWEvzFXlXQgFbjA4YQC8G0B2jWVb8.zmD8-uVWqdlJ',
  'payer_email' => 'info+test3@freshworkshops.com',
  'txn_id' => '89758484MT183004N',
  'payment_type' => 'instant',
  'last_name' => 'Richards',
  'receiver_email' => 'info@freshworkshops.com',
  'payment_fee' => '0.33',
  'receiver_id' => 'KA7AETA779PYU',
  'txn_type' => 'web_accept',
  'item_name' => 'Description and pricing details here.',
  'mc_currency' => 'USD',
  'item_number' => 'sp:17244:43800',
  'residence_country' => 'US',
  'receipt_id' => '4018-6564-3101-7715',
  'handling_amount' => '0.00',
  'transaction_subject' => 'freshworkshops.com',
  'payment_gross' => '1.04',
  'shipping' => '0.00',
  'ipn_track_id' => 'a6maoPY0A9EtltSP1DLoWw',
  's2member_log' =>
  array (
    0 => 'IPN received on: Thu Apr 28, 2011 5:40:40 pm 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 (web_accept) for Specific Post/Page Access.',
    4 => 'Specific Post/Page Confirmation Email sent to: "Adria Richards" <info+test3@freshworkshops.com>.',
    5 => 'Storing Specific Post/Page Tracking Codes into a Transient Queue. These will be processed on-site.',
  ),
  'subscr_gateway' => 'paypal',
  'hours' => '43800',
  'sp_ids' => '17244',
)



Not in the Gmail spam

I didn't "test" the email function because free member sign up was working fine. I've not tested paid member sign up recently sine setting this up in February so I will test that again.

Also, rather than using the Paypal sandbox like I did in Feb, I am generating buttons for small Paypal amounts instead and using the cc checkout option with a different email address each time as the "customer"

Re: Welcome email for page purchase not working *need coffee

PostPosted: April 28th, 2011, 1:57 pm
by Cristián Lávaque
Thanks Adria. :)

I see in your log that s2Member sent the email successfully.

Code: Select all
    4 => 'Specific Post/Page Confirmation Email sent to: "Adria Richards" <info+test1@freshworkshops.com>.',


Then the problem must be at some point after that. Do you get other emails sent by your WP installation without problem? Let me know if the membership signup email worked after you test it.

Got it that it isn't in the Gmail spam folder, could the +test3 suffix be causing the problem? I don't see why it should, but would you test with another address that doesn't use that? Maybe create an actual test3@freshworkshops.com for this so the emails are actually different ones and not the same one with a tag.

Got it on the actual purchases, sandbox wouldn't send emails, thanks for making that clear.

I look forward to your update.

Re: Welcome email for page purchase not working *need coffee

PostPosted: April 28th, 2011, 4:53 pm
by adriarichards
No sign up confirmation emails have gone out.

How can I go about testing s2member against my mail system? I didn't see setting for email. I'm not using the local MX for delivery. The Wordpress new account notices are going out and have been going out but none of the confirmation emails from s2member have.

Re: Welcome email for page purchase not working *need coffee

PostPosted: April 28th, 2011, 5:14 pm
by Cristián Lávaque
So WordPress' new user emails have gone out and got to the same email address that the s2Member emails didn't?

OK, I'll ask Jason about this. Thanks for your patience. :)

Re: Welcome email for page purchase not working *need coffee

PostPosted: April 28th, 2011, 5:36 pm
by adriarichards
Correct,

I checked back on accounts going back to January I've created and I don't see the welcome email language anywhere such as, "Congratulations! ( your membership has been approved )"


http://screencast.com/t/kqqNHjP2

and FYI, my DNS just changed as I'm activating the SSL certificate so I can do the embedded forms.

I now suspect this is because I didn't have my MX records configured in cPanel/WHM since I maintain the DNS records at GoDaddy but host elsewhere. http://screencast.com/t/kqqNHjP2

Re: Welcome email for page purchase not working *need coffee

PostPosted: April 28th, 2011, 5:58 pm
by adriarichards
Page purchase confirmation emails are working now!
Subscriptions confirmation emails are working now!


http://screencast.com/t/qHIYb0LEqp

Re: Welcome email for page purchase not working *need coffee

PostPosted: April 28th, 2011, 7:27 pm
by Cristián Lávaque
Wow! That's great!

What was the problem then? The mail settings?

Re: Welcome email for page purchase not working *need coffee

PostPosted: April 29th, 2011, 6:24 pm
by Jason Caldwell
Thanks for reporting back on this.
~ Much appreciated.

Gotchya, the MX records on the installation server were not configured yet. So the problem was most likely caused by the server itself. If the email destination was local to the server ( i.e. info+test1@freshworkshops.com ), the server would try to deliver the email locally instead of contacting the DNS at GoDaddy; thus, the MX records on the server needed to be configured too, is that correct?

Re: Welcome email for page purchase not working *need coffee

PostPosted: May 3rd, 2011, 4:13 pm
by adriarichards
Yes, I needed to indicate remote mail server settings and then the notices started coming through.

I'm on a cPanel host with WHM access with my DNS maintained at GoDaddy and using Google Apps for domain email.

Thanks!

Re: Welcome email for page purchase not working *need coffee

PostPosted: May 3rd, 2011, 11:49 pm
by Jason Caldwell
Awesome. Thanks for reporting back on this.
~ I really appreciate it.
100% Resolved