Statistics: Posted by Jason Caldwell — October 23rd, 2011, 11:01 am
Yes, it sends an email each time a Specific Post/Page is purchased. The email will contain a subset of information returned by PayPal, along with other details provided by s2Member. Basically, you'll get ALL of the information that you see available in the Replacement Codes for URL Notifications:
Does it send an email anytime there is a specific post/page purchase? Does it send all information sent back by PayPal IPN or a subset of that?
That sounds great. However, I have a fulfillment company that does all my shipping and it would be nice to have those sales forwarded directly to them. What I DON'T want, though, is for ALL purchases of any specific post/page to go to them because some of them are not physical products to be shipped. Some really are just for access to whatever content is on that page.
How do I accomplish my goal?
<?php
add_action ("ws_plugin__s2member_during_paypal_notify_during_sp_access", "my_s2_sp_access_handler");
function my_s2_sp_access_handler ($vars = array ())
{
$paypal = $vars["paypal"];
// This variable `$paypal` contains ALL data provided by PayPal via IPN communication.
// print_r($vars); # Gives you a full list of details provided by s2Member during testing.
}
?>
Statistics: Posted by Jason Caldwell — October 22nd, 2011, 5:44 pm
Statistics: Posted by klawncare1239 — October 21st, 2011, 9:54 am