Community Support Forums — WordPress® ( Users Helping Users ) — 2010-10-31T16:29:19-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=237 2010-10-31T16:29:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=4445#p4445 <![CDATA[Re: Specific Post/Page Email Confirmation]]> Statistics: Posted by Dr Dave — October 31st, 2010, 4:29 pm


]]>
2010-10-31T15:04:55-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=4442#p4442 <![CDATA[Re: Specific Post/Page Email Confirmation]]>
Jason Caldwell wrote:
Yes, everything ( including the Confirmation Email ) remains the same. The only thing that will NOT work on a non-WP page, is the ability for an existing Member to modify an existing Subscription. In other words, if they're not logged in at your site when they click a PayPal Modification Button, s2Member won't be capable of embedding the details it needs to identify the existing Member.

Other than that ( which is no big deal ), you're fine.


The code I used outside of wp was the full button code, which didn't trigger the cust email until I pulled it back inside wp.

The code you suggested in post viewtopic.php?f=4&t=104&p=432#p432 relates to the button code for membership.

The code I had was for a product download page protected inside wp, from a sales page outside wp, so there was no "0no - 0so" statements to pull out. [Scratch head here] :?: [/Scratch head here]

I did nothing different to the code that was on the non-wp page (like create a short-code) until after I pulled it into wp and got it working.

If I try it again on the non-wp page, it will (once again) not trigger the cust email, because nothing is different other than location of the page.

I can be satisfied converting my sales pages and placing them inside WP, but I just can't pull my teeth out of an issue until I know for a fact that it will or will not work.

Where am I missing it?

Stubbornly yours...

Statistics: Posted by Dr Dave — October 31st, 2010, 3:04 pm


]]>
2010-10-30T00:25:17-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=4411#p4411 <![CDATA[Re: Specific Post/Page Email Confirmation]]> Statistics: Posted by Dr Dave — October 30th, 2010, 12:25 am


]]>
2010-10-29T01:07:16-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=4379#p4379 <![CDATA[Re: Specific Post/Page Email Confirmation]]>
Other than that ( which is no big deal ), you're fine.

Statistics: Posted by Jason Caldwell — October 29th, 2010, 1:07 am


]]>
2010-10-29T00:19:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=4376#p4376 <![CDATA[Re: Specific Post/Page Email Confirmation]]> viewtopic.php?f=4&t=104&p=432#p432

A question: When using the full button code on a non-wp page, will the customer email still get tripped?

Statistics: Posted by Dr Dave — October 29th, 2010, 12:19 am


]]>
2010-10-27T02:11:39-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=4274#p4274 <![CDATA[Re: Specific Post/Page Email Confirmation]]> Awesome. Thanks for posting this.

On that note.. here is a quick how-to.
How-to ( Button On HTML page or different site ):
viewtopic.php?f=4&t=104&p=432#p432

Statistics: Posted by Jason Caldwell — October 27th, 2010, 2:11 am


]]>
2010-10-27T00:29:15-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=4269#p4269 <![CDATA[Re: Specific Post/Page Email Confirmation]]>
I ran the script you gave me to pop myself a php email. Didn't work.
Host says php email is enabled.
Double-checked the script you so graciously gave me, and pulled out the extra .com (.com.com - Sheesh! Yeah, my error.)

So, PHP email works. Great! That told me that it SHOULD work, but isn't, for some reason. (Dig deeper.)

I do have "Change WP Mail From Details" plugin activated, and considered that may be the culprit.
Nope!

I thought about asking you if you had had any experience w/that plugin, because these penny sacrifices to Paypal were driving me to the poorhouse;-) (Don't bother checking - not the plugin's fault.)

Ok. Getting closer to the punch-line here.. patience..

I checked s2member --> Paypal Options --> Paypal Specific Post, and all appeared in order.

One important little detail I failed to mention:
I placed this button on a non-wordpress - html page! (Gee, I don't suppose anyone has ever tried that, hmmm?)

Ok. Now that you've gotten that laugh out, have a little compassion, m-k?

I can think of a lot of cases where someone might want a (sales) page outside of WP, with a button leading back to WP, but so far, it doesn't work. (Yeah, yeah, sessions, and all that other geek-speak, I know;-)

Anyway, after placing the button on a test page, it works! I now have email confirmation to my customer, with the link inside that email that actually WORKS!

Yeah-freakin-who! (Now to drag my sales page (kicking and screaming) inside of WP;-/)

I really hope this does help someone else. (I can't be the ONLY one, can I?)

Dave

ps - Jason - Thanks for that little script (and this larger one, too;-)

Statistics: Posted by Dr Dave — October 27th, 2010, 12:29 am


]]>
2010-10-26T00:57:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=4212#p4212 <![CDATA[Re: Specific Post/Page Email Confirmation]]> Correct. You should have a line in your log file indicating when and where the Confirmation Email was sent. If that's NOT showing up in your log file ( which it's not ), then it's probably because you're missing something in your PayPal Options sub-panel. See: s2Member -> PayPal Options -> Specific Post/Page Confirmation Email. Make sure you have a Subject, Body, and at least one recipient listed there.

The default recipient is:
Code:
"%%full_name%%" <%%payer_email%%>
which goes to the Customer.

How to debug the PHP mail() function:
Contact your hosting provider and ask them to verify that PHP's mail() function is operable on your server. Either that, or use the following test script to verify that your server can send email. Load this file onto your server and open it in a web browser. Be sure to change the $to address to your email.
Code:
<?php
$to 
= "you@example.com";
mail($to, "Test Email", "Test Email", "From: " . $to . "\r\nContent-Type: text/plain");
?>
You should get a test email message verifying that your server is capable of sending email.

tinyURL -------------------------------------------------------------------------
I don't think tinyURL is the problem in your case. However, if you'd like to disable tinyURL, check this thread: viewtopic.php?f=4&t=268&p=1036&hilit=shrink#p1039

Statistics: Posted by Jason Caldwell — October 26th, 2010, 12:57 am


]]>
2010-10-25T14:57:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=4179#p4179 <![CDATA[Re: Specific Post/Page Email Confirmation]]>
I've got PDT, return to ty-page, protected dl link, and emails to seller and buyer from Paypal all working great!

For whatever reason, I can't seem to get the customer email that contains their dl link to show up.

Here's a copy of my paypal log-file.
(Domain, emails, and tax id changed to protect the, um, innocent. Yeah, that's the ticket, innocent;-)

Code:
mysite.com/?s2member_paypal_return=1&tx=MYTAXID&st=Pending&amt=0.01&cc=USD&cm=mysite%2ecom&item_number=sp:282:72
array (
  'transaction_subject' => 'mysite.com',
  'txn_type' => 'web_accept',
  'payment_date' => '15:14:44 Oct 24, 2010 PDT',
  'last_name' => 'My Last Name',
  'residence_country' => 'US',
  'pending_reason' => 'address',
  'item_name' => 'The Product',
  'payment_gross' => '0.01',
  'mc_currency' => 'USD',
  'business' => 'me@myaddy.com',
  'payment_type' => 'instant',
  'protection_eligibility' => 'Ineligible',
  'payer_status' => 'verified',
  'tax' => '0.00',
  'payer_email' => 'customer@theiraddy.com',
  'txn_id' => 'my tax id',
  'quantity' => '1',
  'receiver_email' => 'me@myaddy.com',
  'first_name' => 'Me',
  'payer_id' => 'cust id',
  'receiver_id' => 'my id',
  'item_number' => 'sp:282:72',
  'handling_amount' => '0.00',
  'payment_status' => 'Pending',
  'shipping' => '0.00',
  'mc_gross' => '0.01',
  'custom' => 'mysite.com',
  'charset' => 'windows-1252',
  's2member_log' =>
  array (
    0 => 'Return-Data received on: Sun Oct 24, 2010 10:14:51 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 => 'Transient Tracking Cookie set on (web_accept) for Specific Post/Page Access.',
    5 => 'Redirecting Customer to the Specific Post/Page.',
  ),
  'hours' => '72',
  'sp_ids' => '282',
)


The re-direct shows up, but one thing I'm not seeing is a line that says "Specific Post/Page Confirmation Email has been sent to Customer"

Should that be in there somewhere as stated above?

Is it possible that because tinyurl.com is used, my ISP is blocking it? Some folks say emails using Tinyurl are automatically refused by some ISP's.

What else might be causing customers not to receive, or my system not to send?

Is there an easy way to determine whether my server cand send using PHP's `mail()` function?

Dave

Statistics: Posted by Dr Dave — October 25th, 2010, 2:57 pm


]]>
2010-06-22T12:52:41-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=1031#p1031 <![CDATA[Re: Specific Post/Page Email Confirmation]]> Statistics: Posted by Jason Caldwell — June 22nd, 2010, 12:52 pm


]]>
2010-06-22T11:54:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=1019#p1019 <![CDATA[Re: Specific Post/Page Email Confirmation]]>
Solved!
It was a plugin called Bad Behavior that was keeping the Email confirmations from being sent...

Thanks for all the help...

Jorge

Statistics: Posted by Guest — June 22nd, 2010, 11:54 am


]]>
2010-06-22T11:45:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=1018#p1018 <![CDATA[Re: Specific Post/Page Email Confirmation]]>
I ran the IPN simulator through paypal's sandbox and I got this message: IPN delivery failed. HTTP error code 403: Forbidden

Jorge

Statistics: Posted by Guest — June 22nd, 2010, 11:45 am


]]>
2010-06-22T11:25:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=1013#p1013 <![CDATA[Re: Specific Post/Page Email Confirmation]]> MyDomainName.com/?s2member_paypal_notify=1

Your IPN URL should start with:
http://www.yourdomain.com/?s2member_paypal_notify=1

This is listed specifically for your installation, inside your WP Dashboard, under:
s2Member -> PayPal Options -> IPN Integration

So it's best to copy it from there, and paste it into your PayPal account. Log into PayPal, and go to:
My Profile -> Instant Payment Notification Preferences

Turn IPN reporting on, and enter your s2Member IPN URL there inside your PayPal account.

Now, if you've done all of that, and you're still getting these error reports from PayPal; I would suggest opening your IPN URL in a web browser. You should get a white screen. Nothing, nada, just an empty page. If you get something other than an empty page, please report back.

You can also get yourself a PayPal Sandbox account ( https://developer.paypal.com/ ). They have a tool inside the Sandbox that is capable of running diagnostics on your IPN URL.

If nothing works, try disabling other plugins, until you find the culprit. It sounds like something in your installation is causing the ?s2member_paypal_notify=1 URL to be invalid; or you have PHP errors somewhere in another plugin perhaps? ~Please report back if you can. ~Thanks.

Statistics: Posted by Jason Caldwell — June 22nd, 2010, 11:25 am


]]>
2010-06-22T01:02:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=974#p974 <![CDATA[Re: Specific Post/Page Email Confirmation]]>
You must be clairvoyant... I just got an email from PayPal saying this:

Please check your server that handles PayPal Instant Payment Notifications (IPN). IPNs sent to the following URL(s) are failing:

MyDomainName.com/?s2member_paypal_notify=1


Is this something I have to fix through hostgator? If so, what do I tell them?

Statistics: Posted by Guest — June 22nd, 2010, 1:02 am


]]>
2010-06-22T00:53:33-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=972#p972 <![CDATA[Re: Specific Post/Page Email Confirmation]]> contact me directly with access to your WP Dashboard. I'll have a look for you.

For anyone else having this problem. One thing to test first, is.. can your server send mail using PHP's `mail()` function. If not, that is your problem.

I'll continue to look into this issue, but as of right now, I'm unable to reproduce this on any of our existing installations, or any other client installations. If anyone has any insight, please report back. ~Thanks.

Statistics: Posted by Jason Caldwell — June 22nd, 2010, 12:53 am


]]>
2010-06-21T08:27:55-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=908#p908 <![CDATA[Re: Specific Post/Page Email Confirmation]]>
I am running s2member version 3.0.4 and just upgraded to wordpress version 3.0. I ran a live transaction but still no email.

I had the log running since the first time. There is no log for the confirmation email being sent. The only email the buyer receives is the notification of payment received from paypal, but not the email that gives them the access link?

Thanks again for helping figure this out.

Jorge

Statistics: Posted by Guest — June 21st, 2010, 8:27 am


]]>
2010-06-19T13:25:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=859#p859 <![CDATA[Re: Specific Post/Page Email Confirmation]]>
You might want to enable logging so you can see what is going on exactly. Go to :
s2Member -> PayPal Options -> Account Details, and turn on the IPN debugging/logging routines.

After running test ( or live ) transactions, look inside /wp-content/plugins/s2member-logs/paypal-ipn.log and you should find a line that says "Specific Post/Page Confirmation Email has been sent to Customer".

Please report back if you can.

Statistics: Posted by Jason Caldwell — June 19th, 2010, 1:25 pm


]]>
2010-06-18T11:55:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=237&p=831#p831 <![CDATA[Specific Post/Page Email Confirmation]]>
I have set up the plugin, but whenever someone purchases access to a specific page or post on my site, they get redirected to the page, but they never get an email so they can access that page again?

I did set up the Specific Post/Page Email Confirmation, the PDT auto return, and the IPN. This is also done through real purchases, not sandbox testing...

help?

Jorge

Statistics: Posted by Guest — June 18th, 2010, 11:55 am


]]>