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.

confirmation email still not coming from s2m

Home Forums Community Forum confirmation email still not coming from s2m

This topic contains 17 replies, has 3 voices. Last updated by  Rick Horvath 4 years, 3 months ago.

Topic Author Topic
Posted: Thursday Sep 27th, 2012 at 1:05 pm #26715
Rick Horvath
Username: noodles

I am now testing in Paypal mode, not Sandbox. I have set up all the Acct Details, IPN, PDT, confirm emails, etc. correctly – everything under “s2Member® PayPal® Options” is set up properly.

I am receiving 2 confirmation emails from Paypal to me as a purchaser and also as the merchant. This part is working fine.

You then have to click the link supplied by Paypal to proceed back to my site, it doesn’t take you there automatically – this seems to be standard.

Upon clicking the link and coming back to the return URL, it is now a default Apache page due to the fact of the extra variable string shown.

During a test run prior to setting up PDT the return URL worked correctly since there wasn’t any variable string. But in either case, I am not getting any email from s2member about a purchase or how to register!

Suggestions please ???

List Of Topic Replies

Viewing 17 replies - 1 through 17 (of 17 total)
Author Replies
Author Replies
Posted: Friday Sep 28th, 2012 at 2:51 am #26804
Raam Dev
Username: Raam
Staff Member

You then have to click the link supplied by Paypal to proceed back to my site, it doesn’t take you there automatically – this seems to be standard.

If you’re not automatically transferred back to your site after making a payment on PayPal, then something else is wrong with your s2Member and/or PayPal configuration. After someone clicks an s2Member-generated button, they should be transferred to PayPal where they can make a payment. Once the payment is made, they are transferred back to your website. If that’s not happening, I suggest double-checking all of your PayPal configuration and regenerating your PayPal buttons in Dashboard -› s2Member® -› PayPal® Buttons.

Upon clicking the link and coming back to the return URL, it is now a default Apache page due to the fact of the extra variable string shown.

I’m not sure what you’re referring to here. If you’re seeing a default Apache page, then something is wrong with your web server configuration.

Posted: Friday Sep 28th, 2012 at 12:27 pm #26858
Rick Horvath
Username: noodles

Hello Raam,

Thanks for writing back. I’m sure we’ll solve this issue very soon.

Under ‘s2Member® PayPal® Options’, the return URL is
http://premiumadultwebsites.com/?s2member_paypal_return=1

During the 1st real time test, I did not have the PayPal® PDT Identity Token set up, so this return URL displayed the default text:

————
Thank you! ( you MUST check your email before proceeding ).

* Note: It can take ( up to 15 minutes ) for Email Confirmation with important details. If you don’t receive email confirmation in the next 15 minutes, please contact Support.
———-

BUT since I added the PDT token, there now is a string of variables after “?s2member_paypal_return=1” and that same page now shows as a default Apache page.

I added an additional fake variable. This demonstrates what I mean.
http://premiumadultwebsites.com/?s2member_paypal_return=1&1=1

So I can’t figure out where this issue needs to be fixed.

Regarding the first issue, in Paypal:
Website Payment Preferences -> Auto Return for Website Payments
I do have the correct return URL listed as http://premiumadultwebsites.com/?s2member_paypal_return=1 and turned ON yet Paypal does not return automatically after the purchase.

Thank you,
Rick Horvath

Posted: Saturday Sep 29th, 2012 at 7:33 pm #26975
Raam Dev
Username: Raam
Staff Member

Hi Rick,

That default Apache page tells me there is something wrong with your Apache configuration. You should contact your web host to resolve that problem.

Another thing worth mentioning is that when you visit the return URL (/?s2member_paypal_return=1), you should actually see a blank page. That URL is not designed to be accessed by a web browser… it’s specifically designed to receive communication from PayPal.

If everything is configured correctly on your server, visiting that URL should return a blank page. However, since it’s returning an Apache Test page, that tells me something is not configured properly on your server and that’s why PayPal is having trouble communicating with your site and redirecting after payment.

Posted: Sunday Sep 30th, 2012 at 7:49 pm #27030
Rick Horvath
Username: noodles

I’ve never had problems using another program to pay via Paypal and have it send back to a return URL, send an email, etc. So I’m not convinced it’s an Apache issue.

I have access to my domain manager so if there’s anything I can change, please give me some direction.

As far as contacting the company I purchase server space from, I would have no idea how to even approach this issue with them. What would I ask them to look at??

Posted: Monday Oct 1st, 2012 at 2:33 pm #27110
Rick Horvath
Username: noodles

the only thing I can think of which could be causing an issue with the return URL actually returning is that I am already logged in as admin, go to a draft page with the .01 transaction button and proceed to check-out.

On button page, I viewed source code and I can verify that the hidden variable exists. here is the code:

Seems s2member is adding what you see even though Resulting PayPal® Button Code shows just the first variable and value combo.

On order summary page I viewed source code and there is no hidden variable called return, so this could be an issue.

It could be that s2member is not creating the button correctly.

Posted: Monday Oct 1st, 2012 at 2:37 pm #27113
Rick Horvath
Username: noodles

seems I can’t post the button code..

I regenerated the button, but the source code of the button is consistant. the source code of the paypal landing page does not show and hidden variable with a return url

Posted: Monday Oct 1st, 2012 at 7:31 pm #27162
Raam Dev
Username: Raam
Staff Member

Rick,

These buttons have been thoroughly tested and are being used on hundreds of websites, including my own. I’m not sure what’s wrong with the buttons you’re generating, but I can tell you that if you’re testing the buttons, you need be logged out of WordPress. You should also clear your browser cache so that there’s no confusion on s2Member’s side.

Have you double-checked all your PayPal configuration in s2Member?

Dashboard -› s2Member® -› PayPal® Options -› Account Details
Dashboard -› s2Member® -› PayPal® Options -› PayPal® IPN Integration
Dashboard -› s2Member® -› PayPal® Options -› PayPal® PDT Integration

Posted: Tuesday Oct 2nd, 2012 at 3:29 pm #27244
Rick Horvath
Username: noodles

tried testing using another browser, but can not.

Every email I use gives me the same message:

You cannot use an e-mail address or card number that belongs to an existing PayPal account. If you have a PayPal account, please log in. If you don’t, please change the e-mail address or card number and try again.

I have even set up a brand new email account on my server, but receive the same message.

When I trie d testing from Firefox (where I’m logged in as admin) I’d see a completely different Paypal payment screen!

Posted: Wednesday Oct 3rd, 2012 at 4:57 am #27309
Raam Dev
Username: Raam
Staff Member

That error message is coming from PayPal, not s2Member.

Pease download this Server Check Tool, upload the PHP file to your WordPress directory, and then load the URL to the file in your browser. It will run a bunch of tests to determine if there’s anything amiss on the server-side that might be causing problems with s2Member.

Posted: Wednesday Oct 3rd, 2012 at 3:33 pm #27359
Rick Horvath
Username: noodles

Will check that, thanks.

I thought my error was caused by the credit card I am using , which is already tied in to Paypal.

I do not have another card for testing, so there needs to be another option.

Posted: Wednesday Oct 3rd, 2012 at 4:33 pm #27362
Rick Horvath
Username: noodles

Only error I got was:

[ERROR] Temporary Files Directory
Unable to find a readable/writable temporary files directory. The system’s default temp directory is either non-existent, NOT yet configured, or is NOT readable/writable by PHP. Please review this article covering PHP’s sys_get_temp_dir() function, or configure your PHP installation with a secure upload_tmp_dir. See this article for further details. In some cases, you might need to consult with your web hosting company about this message.

And a warning because the wp-config.php file was not writable, which I fixed, ran the update and set back the permissions as before

Not sure where this directory should be, I’ve looked at other WordPress installs and don’t see anything obvious.

Posted: Thursday Oct 4th, 2012 at 8:40 am #27429
Eduan
Username: Eduan
Moderator

Hello Rick,

This directory is not a WordPress thing, this directory has something to do with your server host, I recommend you contact them and ask them to give you read&write access for it, and also to WordPress.

– Eduan

Posted: Thursday Oct 4th, 2012 at 8:40 am #27430
Raam Dev
Username: Raam
Staff Member

Your web host should be able to help you configure PHP properly so that it has access to a readable/writeable temporary files directory.

Posted: Thursday Oct 4th, 2012 at 2:42 pm #27468
Rick Horvath
Username: noodles

I’m the web host. I have control on setting permissions.

Where should this writable temp directory reside within the directory structure? As I mentioned I do not see a temp folder on any other WordPress installs.

Posted: Friday Oct 5th, 2012 at 3:47 am #27535
Raam Dev
Username: Raam
Staff Member

It’s not a directory for WordPress. It’s a directory for PHP itself. You’ll need to specify a temporary files path for upload_tmp_dir in your php.ini file.

Posted: Monday Oct 8th, 2012 at 11:58 am #27803
Rick Horvath
Username: noodles

I think we need to come up with a different approach. This temp folder idea doesn’t make sense to me since it should already be available to php. Let’s think logically for a moment.

Why are the check-out experiences different when logged in as admin and when not? That is my concern.

As I mentioned it could be that I am using a credit card already on file in my Paypal account, that is not letting me check-out when not logged in as admin.

Posted: Monday Oct 8th, 2012 at 12:21 pm #27805
Rick Horvath
Username: noodles

yes, the reason is indeed that:

as new user I am using a credit card number already associated with my Paypal account. I tried a visa gift/credit card – but it has expired so this confirms that I need to use a credit card not associated w/ my PP acct.

– therefore I have no way of testing in the real world if a confirmation email does indeed get generated.

I’ll have to get some sort of gift credit card and use it just for testing.

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