I use Worldpay and Paypal_r as payment processors. Recently credit cards have expired, but the cardholder has not been mailed from aMember to notify them. They probably had a mail from their payment processor but did not realize that this would effect their membership - As aMember has had an ipn callback from paypal (shows as a subscr_cancel from paypal, and subscr_eot if not renewed) can we not send them an email to remind them? Why only if it works like Authorize.Net or PayFlow Pro? Worldpay gives no ipn notification of CC expiry, but surely aMember could email when the subscription expires? Mike
So my question is - Can aMember send a mail to subscriber on subscription expiry? It would not matter which payment processor was used.
It think the reason is because it is a product with recurring billing. That sort-of makes sense, except when a credit card has not been renewed and therefore the subscription expires. As it is now, a credit card expires, Worldpay sends email to customer (who does not renew card detail), 9 months later the aMember subscription expires and the customer is un-aware. It would be good to send an email to a customer when his subscription is no longer active, for whatever reason. As it is he does not know the service, he thinks he is paying for, will not happen.. Is this possible Alex?
When you are using PayPal_R and Worldpay, credit card info will be entered on websites of these payment systems. aMember will not know nor credit card number, nor expiration of credit card. I hope it answers question. It is better to contact support of these payment systems and ask them the same questions (it is completely unrelated with aMember).
aMember DOES NOT KNOW credit card expiry, it just does not receive credit card information at all (in case of both your payment processors). And there are no ways to know that in aMember. This information is stored internally in WorldPay and PayPal. You may email your customers upon subscription expiration (aMember Cp -> Setup -> E-Mail, have a look).
Yes, but it says; Enable Expire Notification send email to user when his subscription expires email will not be sent for products with recurring billing but my subscription is recurring, CP is ticked and I do not get mails.. Regardless of payment processor, I just want to mail customer (and admin) when an aMember subscription expires..
Can I send mail from here, if subscription has really expired? function check_expire_members(){ // check that internal hooks for subscription_delete // was called for expired members (for the last week) global $config, $db, $t; $dat1 = date('Y-m-d', time() - 3600 * 24 * 7); $dat2 = date('Y-m-d'); $plist = $db->get_expired_payments($dat1, $dat2); $msent = array(); foreach ($plist as $p){ // go through expired payments and send mail if ($msent[$p['member_id'] ]) continue; //dont send second mail ! $db->check_subscriptions($p['member_id']); $msent[$p['member_id'] ]++; } } NOT based on payment or processor used - but if subscription in aMember has actually expired. I only have recurring product, so if subscription is expired it means a payment has been lost for some reason and I need to know so I can follow up on it..
Please edit file amember/member.inc.php find line if ($paysys['recurring'] && $product['is_recurring']) continue; // don't send if auto-recurring and remove it. Then expiration email will work regardless of recurring/non-recurring status.
I have had the same problem all times, that mails after expiration does not get sent. I also am using recurring payment and have changed the above. Can it have something to do with using the european date and time format in settings-> Advanced ? I have setup 4 different templates ex. -1 and -15, -45 and one for sixty days after expiration -60. (I can see something about comma separation, but I am not using comma seperation as alle templates are different)