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.

Signup Confirmation eMails not being sent…

Home Forums Community Forum Signup Confirmation eMails not being sent…

This topic contains 22 replies, has 2 voices. Last updated by  Cristián Lávaque 4 years, 4 months ago.

Topic Author Topic
Posted: Thursday Aug 16th, 2012 at 11:13 am #22249

First of all, thank you for a great product. Very powerful. Very impressive. :-)

In the process of setting up a new membership site etc using ClickBank for payment processing.

Created my products, api, ipn etc etc.

Everything seems to be fine except that the Signup Confirmation eMails are not being sent.

ClickBank “says” that the test payments were successful and the customer is redirected to the “thank you” page telling them to wait for their confirmation email, but the confirmation email never arrives (not being sent).

My dummy customer does received the test confirmation from ClickBank, but not from S2.

I installed Email log and mail_smtp, as per your instructions and email log reports other emails as being sent, just not the Signup Confirmation eMails.

If I register the new dummy customer (even though I didn’t received a confirmation email yet) they are signed up at level 0 instead of level 2, which they should be.

Any ideas? or what else do you need from me? I do have logging enabled and have clickbank-ipn.log, clickbank-rtn.log and paypal-rtn.log

Thank you. :-)
TJ

FYI… tried various things… s2hacks.php for auto-login and auto-redirect to show a custom thankyou page, but they all end up on the default thankyou page saying I have to wait for the confirmation email which is never sent.

List Of Topic Replies

Viewing 22 replies - 1 through 22 (of 22 total)
Author Replies
Author Replies
Posted: Friday Aug 17th, 2012 at 4:08 am #22301

clickbank-ipn.log…

PHP v5.2.17 :: WordPress® v3.4.1 :: s2Member® v120703 :: s2Member® Pro v120703
Memory 16.04 MB :: Real Memory 16.25 MB :: Peak Memory 16.08 MB :: Real Peak Memory 16.25 MB
members.xxxxxxxxxxxxxxxxx.com/?s2member_pro_clickbank_notify=1
User-Agent: Jakarta Commons-HttpClient/3.1
array (
‘cprodtitle’ => ‘xxxxxxxxxxxxxxxxx.com Premium Membership’,
‘ctranspaymentmethod’ => ‘TEST’,
‘cfuturepayments’ => ”,
‘ccustzip’ => ‘83102’,
‘ccustshippingzip’ => ‘83102’,
‘ccustemail’ => ‘john.doe@xxxxxxxxxxxxxxxxx.com’,
‘crebillstatus’ => ”,
‘ctransaffiliate’ => ”,
‘cupsellreceipt’ => ”,
‘corderamount’ => ‘19700’,
‘ccustcounty’ => ”,
‘ccurrency’ => ‘USD’,
‘ccustfirstname’ => ‘JOHN’,
‘crebillamnt’ => ”,
‘ctransaction’ => ‘TEST_SALE’,
‘ccuststate’ => ”,
‘caccountamount’ => ‘18122’,
‘ctranspublisher’ => ‘dhpde’,
‘ctid’ => ”,
‘ccustshippingcountry’ => ‘TH’,
‘cnextpaymentdate’ => ”,
‘cverify’ => ‘F4B740F7’,
‘cprocessedpayments’ => ”,
‘cprodtype’ => ‘STANDARD’,
‘ccustcc’ => ‘TH’,
‘ccustshippingstate’ => ”,
‘ctransreceipt’ => ‘DP7QEJWG’,
‘ccustfullname’ => ‘John Doe’,
‘cvendthru’ => ‘s2_referencing=1&s2member_pro_clickbank_return=1&s2_custom=members.xxxxxxxxxxxxxxxxx.com&_s2member_sig=1345112028-117dc78a376ae3dc271817d5ba3dea48&s2_desc=xxxxxxxxxxxxxxxxx.com+Premium+Membership&s2_invoice=2&s2_customer_ip=180.183.193.221&’,
‘ctransrole’ => ‘VENDOR’,
‘ccustaddr2’ => ”,
‘ccustaddr1’ => ”,
‘ccustcity’ => ”,
‘ccustlastname’ => ‘DOE’,
‘ctranstime’ => ‘1345129268’,
‘cproditem’ => ‘2’,
‘s2member_log’ =>
array (
0 => ‘IPN received on: Thu Aug 16, 2012 3:01:10 pm UTC’,
1 => ‘s2Member POST vars verified with ClickBank®.’,
2 => ‘ClickBank® transaction identified as ( `SALE/STANDARD` ).’,
3 => ‘IPN reformulated. Piping through s2Member\’s core/standard PayPal® processor as `txn_type` ( `web_accept` ).’,
4 => ‘Please check PayPal® IPN logs for further processing details.’,
),
‘s2vars’ =>
array (
‘s2_referencing’ => ‘1’,
‘s2_custom’ => ‘members.xxxxxxxxxxxxxxxxx.com’,
‘_s2member_sig’ => ‘1345112028-117dc78a376ae3dc271817d5ba3dea48’,
‘s2_desc’ => ‘xxxxxxxxxxxxxxxxx.com Premium Membership’,
‘s2_invoice’ => ‘2’,
‘s2_customer_ip’ => ‘180.183.193.221’,
),
)

Posted: Friday Aug 17th, 2012 at 4:13 am #22302

clickbank-rtn.log…

PHP v5.2.17 :: WordPress® v3.4.1 :: s2Member® v120703 :: s2Member® Pro v120703
Memory 15.85 MB :: Real Memory 16.00 MB :: Peak Memory 15.89 MB :: Real Peak Memory 16.00 MB
members.xxxxxxxxxxxxxxxxx.com/?s2member_pro_clickbank_return=1&item=2&cbreceipt=DP7QEJWG&time=1345128808&cbpop=7E28321D&cbaffi=0&cname=John+Doe&cemail=john.doe%40xxxxxxxxxxxxxxxxx.com&ccountry=TH&czip=83102&s2_invoice=2&s2_p1&s2_p3&s2_desc=xxxxxxxxxxxxxxxxx.com+Premium+Membership&s2_custom=members.xxxxxxxxxxxxxxxxx.com&s2_customer_ip=180.183.193.221&s2_referencing=1&_s2member_sig=1345112028-117dc78a376ae3dc271817d5ba3dea48
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.75 Safari/537.1
array (
‘item’ => ‘2’,
‘cbreceipt’ => ‘DP7QEJWG’,
‘time’ => ‘1345128808’,
‘cbpop’ => ‘7E28321D’,
‘cbaffi’ => ‘0’,
‘cname’ => ‘John Doe’,
‘cemail’ => ‘john.doe@xxxxxxxxxxxxxxxxx.com’,
‘ccountry’ => ‘TH’,
‘czip’ => ‘83102’,
‘s2_invoice’ => ‘2’,
‘s2_p1’ => ”,
‘s2_p3’ => ”,
‘s2_desc’ => ‘xxxxxxxxxxxxxxxxx.com Premium Membership’,
‘s2_custom’ => ‘members.xxxxxxxxxxxxxxxxx.com’,
‘s2_customer_ip’ => ‘180.183.193.221’,
‘s2_referencing’ => ‘1’,
‘_s2member_sig’ => ‘1345112028-117dc78a376ae3dc271817d5ba3dea48’,
‘s2member_log’ =>
array (
0 => ‘Return-Data received on: Thu Aug 16, 2012 3:01:20 pm UTC’,
1 => ‘s2Member POST vars verified with ClickBank®.’,
2 => ‘Sleeping for 5 seconds. Giving ClickBank® a chance to finalize processing.’,
3 => ‘Awake. It\’s Thu Aug 16, 2012 3:01:25 pm UTC. Processing will continue.’,
4 => ‘Unable to obtain API vars. The ClickBank® API may NOT have data for this order yet. Or, your ClickBank® API Keys are NOT configured properly under `s2Member -> ClickBank® Options`.’,
5 => ‘array (
\’s2member_pro_clickbank_return\’ => \’1\’,
\’item\’ => \’2\’,
\’cbreceipt\’ => \’DP7QEJWG\’,
\’time\’ => \’1345128808\’,
\’cbpop\’ => \’7E28321D\’,
\’cbaffi\’ => \’0\’,
\’cname\’ => \’John Doe\’,
\’cemail\’ => \’john.doe@xxxxxxxxxxxxxxxxx.com\’,
\’ccountry\’ => \’TH\’,
\’czip\’ => \’83102\’,
\’s2_invoice\’ => \’2\’,
\’s2_p1\’ => \’\’,
\’s2_p3\’ => \’\’,
\’s2_desc\’ => \’xxxxxxxxxxxxxxxxx Premium Membership\’,
\’s2_custom\’ => \’members.xxxxxxxxxxxxxxxxx.com\’,
\’s2_customer_ip\’ => \’180.183.193.221\’,
\’s2_referencing\’ => \’1\’,
\’_s2member_sig\’ => \’1345112028-117dc78a376ae3dc271817d5ba3dea48\’,
)’,
6 => ‘Return-Data reformulated. Piping through s2Member\’s core/standard PayPal® processor with `proxy_use` ( `ty-email` ).’,
7 => ‘Please check PayPal® RTN logs for further processing details.’,
8 => ‘http://members.xxxxxxxxxxxxxxxxx.com/?s2member_pro_clickbank_return&s2member_paypal_return=1&s2member_paypal_proxy=clickbank&s2member_paypal_proxy_use=standard-emails%2Cty-email&s2member_paypal_proxy_verification=1345129305-740590d0dd9d28456632a235f36c6da3’,
),
)

Posted: Friday Aug 17th, 2012 at 4:15 am #22303

paypal-rtn.log…

PHP v5.2.17 :: WordPress® v3.4.1 :: s2Member® v120703 :: s2Member® Pro v120703
Memory 17.01 MB :: Real Memory 17.25 MB :: Peak Memory 17.10 MB :: Real Peak Memory 17.25 MB
members.xxxxxxxxxxxxxxxxx.com/?s2member_pro_clickbank_return&s2member_paypal_return=1&s2member_paypal_proxy=clickbank&s2member_paypal_proxy_use=standard-emails%2Cty-email&s2member_paypal_proxy_verification=1345129305-740590d0dd9d28456632a235f36c6da3
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.1 (KHTML, like Gecko) Chrome/21.0.1180.75 Safari/537.1
array (
‘proxy_verified’ => ‘clickbank’,
‘s2member_log’ =>
array (
0 => ‘Return-Data received on: Thu Aug 16, 2012 3:01:50 pm UTC’,
1 => ‘s2Member POST vars verified with a Proxy Key’,
2 => ‘Customer must wait for Email Confirmation `proxy_use`: ( `ty-email` ).’,
3 => ‘Redirecting Customer to the Home Page. Customer must wait for Email Confirmation `proxy_use`: ( `ty-email` ).’,
),
‘subscr_gateway’ => ‘clickbank’,
‘s2member_paypal_proxy’ => ‘clickbank’,
‘s2member_paypal_proxy_use’ => ‘standard-emails,ty-email’,
‘s2member_paypal_proxy_verification’ => ‘1345129305-740590d0dd9d28456632a235f36c6da3’,
)

Posted: Friday Aug 17th, 2012 at 5:24 am #22305

Gave my Clerk key at ClickBank a little bit more rights and I now get
“Order API variables have been obtained from ClickBank®.”
instead of the
“Unable to obtain API vars. The ClickBank® API may NOT have data for this order yet….”
that I got before in my clickbank-rtn.log

Didn’t make any difference to my Signup Confirmation eMail being sent though. Still not being sent.

Update: That seems to have been a once-off. I’m back to “Unable to obtain API vars. The ClickBank® API may NOT have data for this order yet….”

Doesn’t seem to be related to my Signup Confirmation emails not being sent.

Posted: Friday Aug 17th, 2012 at 1:52 pm #22379

bump…

Posted: Saturday Aug 18th, 2012 at 8:32 am #22432

Hi Steffen. Sorry I missed your post yesterday.

I see in your log [hilite mono]‘s2_referencing’ => ’1′[/hilite]. Are you logged in to your admin account when you test the checkout? You should make sure you aren’t and test again, please.

Would it be possible to get access to your site so I look at your settings? Screenshots of (or access to) the ClickBank account would be good too. And a new test card so I can do a test purchase, please. s2Member® » Private Contact Form

First of all, thank you for a great product. Very powerful. Very impressive. :-)

Thanks for the kudos! :)

Posted: Saturday Aug 18th, 2012 at 9:35 am #22438

Just sent the private contact with logon details etc.

Note that I’ve temporarily switched off free registration because the site is “open”.

Test using ClickBank product number 2. The rest of the products are configured for a previous test site.

Thank you. :-)
TJ

Posted: Saturday Aug 18th, 2012 at 9:36 am #22439

Oh… no FTP access, sorry. :-)

Posted: Saturday Aug 18th, 2012 at 10:01 am #22442

As for logged in as Admin (just noticed)…

I do my “development” in Firefox and test in Chrome, restarting Chrome and clearing cookies before every test, so was definitely not logged on as admin.

Only bit that’s not working as far as I can see is the Signup Confirmation eMails and signup after payment.

Would like the customer to be redirected to /wp-login.php?action=register after they’ve made payment. Would be happy if they can register (including their purchased membership level), even if the Signup Confirmation eMails aren’t sent.

Thanx. :-)

Posted: Sunday Aug 19th, 2012 at 7:48 am #22484

Thanks for the info, Steffen. Got your email. I’ll take a look at that in a moment.

About the confirmation email, if it’s not being sent, then there’s something wrong in the ClickBank integration in your site. If it were working normally, then the email would be sent and would show in your email log.

About taking the user to the registration page after checkout, you could following the instructions to use a custom thank-you page. [hilite path]Dashboard -› s2Member® -› ClickBank® Options -› Thank-You Page Integration[/hilite]

Just remember that ClickBank has some required things you have to add to the thank-you page, so you’d have to add those to the registration page.

What I’d suggest, though, woul be to have a WP page thanking the person, giving him the info CB requires, and telling him to go register his account and give the link for that.

Posted: Sunday Aug 19th, 2012 at 8:11 am #22486

Well, I checked the integration with ClickBank and the settings all seem fine.

I want to do the test purchase now, but I really need FTP info to get the log files and see when they say. Could you send me that? I’m emailing you now so you can send me that.

Posted: Sunday Aug 19th, 2012 at 8:26 am #22491

Hi. :-)

I tried various things, including the custom thank you page integration that you mentioned, but it all ended up at xxx/?s2member_pro_clickbank_return=1

I tried
xxx/?s2member_pro_clickbank_return=1&s2member_pro_clickbank_return_success=http://xxx/wp-login.php?action=register (I’ll customize it to fit in with ClickBank requirements)
but that also ended up at ?s2member_pro_clickbank_return=1 telling me to wait 15 minutes for the email

I guess it’s all failing because there’s something wrong with the ClickBank integration, as you say. It’s probably a waste of time to work on that until the email starts working.

I did the whole setup twice on two different domains and on both I had the same issues with the clickbank return. Please have a look and let me know what I missed.

Thank you. :-)

Posted: Monday Aug 20th, 2012 at 6:58 am #22529

Thanks for the FTP info. I did a couple of test purchases and got the same error in the logs:

4 => ‘Unable to obtain API vars. The ClickBank® API may NOT have data for this order yet. Or, your ClickBank® API Keys are NOT configured properly under `s2Member -> ClickBank® Options`.’,

But I triple-checked your Clerk API Key and it’s correct. Then I thought of checking your server with our server check script and got a warning. http://www.xxxxxxxxxxxxxxxxxx.com/s2member-server-check-120703.php

[WARNING] Missing $_SERVER[‘SERVER_ADDR’]
Although NOT required, s2Member® recommends that your installation of PHP be configured with a [hilite mono]$_SERVER['SERVER_ADDR'][/hilite] environment variable. This is the IP address of the server, under which the current script is executing. It should be defined by your server dynamically. Please contact your hosting provider about this message. See also: this PHP article.

Please resolve that warning and try a new test purchase. I hope that takes care of it. I’ll be waiting for your update. :)

Posted: Monday Aug 20th, 2012 at 7:22 am #22536

Hi. :-)

Thank you for your time. Much appreciated. :-)

Just did a phpinfo as well and the server is not returning server_addr. :-(

I’ll have to run that by Netfirms as they are responsible for that side of things. They tend to be very slow so it might take a day or two before I get anything back. Hopefully they can resolve that. They tend to be useless when it comes to tech support. :-(

Will let you know. :-)

Thank you. :-)
TJ

Posted: Monday Aug 20th, 2012 at 7:42 am #22540

I hope your case is the exception and they resolve it quick. :)

Posted: Monday Aug 20th, 2012 at 9:03 am #22559

Response from Netfirms…

“Unfortunately, “server_addr” is disabled on our server. Since your account is in shared hosting, it is not possible to give the “server_addr” variable.”

Posted: Tuesday Aug 21st, 2012 at 6:14 am #22612

Any ideas? :-(

Do you think it’s the missing “server_addr” that’s causing the “Unable to obtain API vars.” problem?

Posted: Wednesday Aug 22nd, 2012 at 7:02 am #22703

It’s possible. At least it’s the only thing I found out of place, so there’s a chance it’s related.

Do you have another hosting account where you could test this?

I don’t understand why they’d disable that variable… A ton of people are on shared hosting and don’t have that limitation, we’d hear about it more often if that were the case.

Posted: Wednesday Aug 22nd, 2012 at 7:25 am #22712

Unfortunately I only have the one hosting account at the moment. :-(

I’ve been having other issues with Netfirms as well so we are considering moving hosting somewhere else. Weren’t planning on doing it so soon though.

There’s no guarantee that moving hosting will solve the problem so would prefer solving the issue if at all possible.

Thanx. :-)
TJ

Posted: Wednesday Aug 22nd, 2012 at 8:35 am #22738

Of course. But if you are already planning to move because of other reasons, then it may be good to do it and then test again to see if the problem persists.

Posted: Saturday Aug 25th, 2012 at 3:49 pm #23084

Signed up at another host and moved the site etc.

Problem solved!

Works like a charm. :-)

Thank you. :-)
TJ

Posted: Monday Aug 27th, 2012 at 7:07 am #23163

Great, TJ! I’m very glad. Thanks for the update. :)

Viewing 22 replies - 1 through 22 (of 22 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.