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™

Specific Post/Page Email Not Sent to Customer

s2Member Plugin. A Membership plugin for WordPress®.

Specific Post/Page Email Not Sent to Customer

Postby Malack » June 14th, 2011, 4:07 pm

Hey there,

I tried searching through the forums for this, but was unable to find anything similar- I apologize if I overlooked something.

My problem(s):

No email is being sent with a link providing access to the protected page I'm offering (after payment is processed).

Also, the "Button Code Generator For Specific Post/Page Buttons" does not automatically update/create a button when I click "Generate Button Code." I have to manually enter the fields. Any ideas why this would be occuring?
User avatar
Malack
Registered User
Registered User
 
Posts: 5
Joined: June 14, 2011

Re: Specific Post/Page Email Not Sent to Customer

Postby Cristián Lávaque » June 14th, 2011, 8:53 pm

A JavaScript conflict, maybe by a theme or another plugin, could cause the generator problem. This video may help you find the problem http://www.s2member.com/options-page-di ... ing-video/

The email part I'm not sure. Could you post the s2Member log entries for those transactions? You need to have enabled WP Admin -> s2Member -> PayPal Options -> PayPal Account Details -> Enable Logging Routines and after the transactions you'll find the log in the /wp-content/plugins/s2member-logs/ directory.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Specific Post/Page Email Not Sent to Customer

Postby Malack » June 15th, 2011, 12:48 pm

Thanks for the speedy reply:

Here's the log entry for the most recent transaction

WordPress® v3.1.3 :: s2Member® v110606
test.accidentalphotography.com/about/
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
-------- Input vars: ( Wed Jun 15, 2011 5:37:50 pm UTC ) --------
array (
'METHOD' => 'BMCreateButton',
'BUTTONCODE' => 'ENCRYPTED',
'BUTTONTYPE' => 'BUYNOW',
'L_BUTTONVAR0' => 'business=mail@accidentalphotography.com',
'L_BUTTONVAR1' => 'notify_url=http://test.accidentalphotography.com/?s2member_paypal_notify=1',
'L_BUTTONVAR2' => 'cancel_return=http://test.accidentalphotography.com/',
'L_BUTTONVAR3' => 'return=http://test.accidentalphotography.com/?s2member_paypal_return=1',
'L_BUTTONVAR4' => 'rm=2',
'L_BUTTONVAR5' => 'no_shipping=1',
'L_BUTTONVAR6' => 'no_note=1',
'L_BUTTONVAR7' => 'custom=test.accidentalphotography.com',
'L_BUTTONVAR8' => 'currency_code=USD',
'L_BUTTONVAR9' => 'page_style=paypal',
'L_BUTTONVAR10' => 'charset=utf-8',
'L_BUTTONVAR11' => 'item_name=Description and pricing details here.',
'L_BUTTONVAR12' => 'item_number=sp:70,76:72',
'L_BUTTONVAR13' => 'amount=0.01',
'L_BUTTONVAR14' => 'on0=Referencing Customer ID',
'L_BUTTONVAR15' => 'os0=1',
'L_BUTTONVAR16' => 'on1=Customer IP Address',
'L_BUTTONVAR17' => 'os1=66.185.42.96',
'VERSION' => '71.0',
'USER' => 'mail_api1.accidentalphotography.com',
'PWD' => 'YPJJ7N7U5BEVRNBA',
'SIGNATURE' => 'AFcWxV21C7fd0v3bYYYRCpSSRl31AuA.DWCzlyUV-0YA4W5cjPZb4VYm-BSIKBK5AgZraKa.pF7mVpEnWrAdF2EVNs7b',
)
-------- Output string/vars: ( Wed Jun 15, 2011 5:37:50 pm UTC ) --------

array (
'__error' => 'Error. Please contact Support for assistance.',
)
User avatar
Malack
Registered User
Registered User
 
Posts: 5
Joined: June 14, 2011

Re: Specific Post/Page Email Not Sent to Customer

Postby Jason Caldwell » June 17th, 2011, 1:25 am

Thanks for reporting this important issue.
Error. Please contact Support for assistance.

This indicates a general connection error. I would go back over all of your s2Member -> PayPal Options -> Account Details again, and also read over this article, because I suspect actually that your server is having problems connecting to PayPal's API. viewtopic.php?f=36&t=2636
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Specific Post/Page Email Not Sent to Customer

Postby Malack » June 17th, 2011, 1:05 pm

Thanks for that link Jason!

My server has a feature that will automatically block outgoing connections, so it was just a matter of adding paypals ip addresses to the "safe" list.

The cURL tests all come out good now, but the customer is still not receiving an email with the link. I checked the error logs and now I'm getting this:

-------- Output string/vars: ( Fri Jun 17, 2011 5:05:46 pm UTC ) --------
TIMESTAMP=2011%2d06%2d17T17%3a05%3a46Z&CORRELATIONID=b1f13fc7a14cf&ACK=Failure&VERSION=71%2e0&BUILD=1907759&L_ERRORCODE0=10002&L_SHORTMESSAGE0=Security%20error&L_LONGMESSAGE0=Security%20header%20is%20not%20valid&L_SEVERITYCODE0=Error
array (
'TIMESTAMP' => '2011-06-17T17:05:46Z',
'CORRELATIONID' => 'b1f13fc7a14cf',
'ACK' => 'Failure',
'VERSION' => '71.0',
'BUILD' => '1907759',
'L_ERRORCODE0' => '10002',
'L_SHORTMESSAGE0' => 'Security error',
'L_LONGMESSAGE0' => 'Security header is not valid',
'L_SEVERITYCODE0' => 'Error',
'__error' => 'Error# 10002. Security error. Security header is not valid.',
)
User avatar
Malack
Registered User
Registered User
 
Posts: 5
Joined: June 14, 2011

Re: Specific Post/Page Email Not Sent to Customer

Postby Jason Caldwell » June 17th, 2011, 2:51 pm

Thanks for the follow-up.
Error# 10002. Security error. Security header is not valid.

This indicates an invalid API Username/Password/Signature combination, as configured in your s2Member -> PayPal Options. Either that, or you have Sandbox mode enabled against live API Credentials. In either case, this is definitely related to API Credentials for PayPal API communication. I would check your Username/Password/Signature again just to be sure.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA

Re: Specific Post/Page Email Not Sent to Customer

Postby Malack » June 17th, 2011, 3:16 pm

I double checked everything (re-entered all of the info). I'm still getting the same error.

Any other ideas? =\
User avatar
Malack
Registered User
Registered User
 
Posts: 5
Joined: June 14, 2011

Re: Specific Post/Page Email Not Sent to Customer

Postby Malack » June 21st, 2011, 7:05 pm

Okay, I tried using the plugin on a clean install of WordPress- and it worked!

That is to say, there are no errors in the logs, it redirected the user to the correct page, but it's still not sending a confirmation email with the link to the user.

Any thoughts?
User avatar
Malack
Registered User
Registered User
 
Posts: 5
Joined: June 14, 2011

Re: Specific Post/Page Email Not Sent to Customer

Postby Cristián Lávaque » June 22nd, 2011, 12:44 am

Have you edited your server's email settings in any way? Like using SMTP or Gmail, for example.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Specific Post/Page Email Not Sent to Customer

Postby Jason Caldwell » June 22nd, 2011, 4:32 am

Also, do you have a paypal-ipn.log file? That's the log where emails are processed, and if that's not present, or contains errors, it might lead us to the root issue that you're having.
~ Jason Caldwell / Lead Developer
& Zeitgeist Movie Advocate: http://www.zeitgeistmovie.com/

Is the s2Member plugin working for you? Please rate s2Member at WordPress.org.
You'll need a WordPress.org account ( comes in handy ). Then rate s2Member here Image
.
User avatar
Jason Caldwell
Lead Developer
Lead Developer
 
Posts: 4045
Joined: May 3, 2010
Location: Georgia / USA


Return to s2Member Plugin

Who is online

Users browsing this forum: Exabot [Bot] and 0 guests

cron