Membership expiring soon emails fail to send and throw a 'Error sending email. No purchase id given.' error.

This is because the cron job that processes soon-to-be expiring memberships uses a key 'purchase_id' for the purchase ID. However, in ms_products_send_mail it looks for 'id', so it never finds the purchase. Patch attached.

Comments

anthonylindsay created an issue. See original summary.

anthonylindsay’s picture

attaching patch

clivem’s picture

Patch added to dev version.

Farreres’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: 2911192_fix_expiry_soon_email_purchase_id.patch, failed testing. View results