Hi,
Thank you for reaching out to us.
Unfortunately the Admin is not notified about the new subscription. You should be notified by PayPal when a new purchase is completed. A solution would be to use custom code:
1. Create an empty plugin like this: https://gist.github.com/sareiodata/76f701e01db6685829db
2. Add the following code to the end of it:
/*
* Sends an e-mail to multiple e-mail addresses when a subscription plan is purchased
*/
function pms_send_emails_on_active_subscriptions ( $insert_result, $user_id, $subscription_plan_id, $start_date, $expiration_date, $status = '' ) {
if( !$insert_result )
return;
if( $status != 'active' )
return;
// Admin e-mails
$send_to = array( "[email protected]" );
// You can use this to pass further data to the e-mail content variable
$user = get_user_by('id', $user_id);
// E-mail content
$email_subject = 'New Active Subscription';
$email_content = "User $user->user_login has purchased the subscription.";
//we add this filter to enable html encoding
add_filter( 'wp_mail_content_type', create_function('', 'return "text/html"; ') );
wp_mail( $send_to, $email_subject, $email_content );
}
add_action( 'pms_member_update_subscription', 'pms_send_emails_on_active_subscriptions', 10, 6 );
3. Replace admin@domain with a valid email address
4. Install this plugin via FTP (copy it inside wp-content/plugins) or create a zip archive with it and install it via the WordPress plugin upload functionality
Let me know if the custom code works.
Best regards,