Open ipokkel opened 3 months ago
Describe the bug When a user checks out for a level that allows donations and opts to donate during checkout, the donation amount is not included in the checkout email received by the member.
The email template targeted by the pmprodon_pmpro_email_filter function now uses Order instead of Invoice in the email body and the replace statement in this function requires updating for cases where the !!donation!! email shortcode was not present in the template body. - https://github.com/strangerstudios/pmpro-donations/blob/f279084271d77891ed9b15844c6ad20d5bb6d094/includes/checkout.php#L380
pmprodon_pmpro_email_filter
Order
Invoice
!!donation!!
To Reproduce Steps to reproduce the behavior:
Expected behavior The donation amount to be included in the checkout email
Isolating the problem (mark completed items with an [x]):
WordPress Environment
Another request: #601813 Moderators Only
Describe the bug When a user checks out for a level that allows donations and opts to donate during checkout, the donation amount is not included in the checkout email received by the member.
The email template targeted by the
pmprodon_pmpro_email_filter
function now usesOrder
instead ofInvoice
in the email body and the replace statement in this function requires updating for cases where the!!donation!!
email shortcode was not present in the template body. - https://github.com/strangerstudios/pmpro-donations/blob/f279084271d77891ed9b15844c6ad20d5bb6d094/includes/checkout.php#L380To Reproduce Steps to reproduce the behavior:
Expected behavior The donation amount to be included in the checkout email
Isolating the problem (mark completed items with an [x]):
WordPress Environment
PMPro Donations 1.2