Closed rvdsteege closed 2 months ago
Seems fine to me, can there be customer notices and are they also suitable to send in the case of chargebacks?
Yes, there are customer and admin notices for refunds:
We have probably disabled these notices for chargebacks, because a "Your Transaction Was Refunded" can also be seen as confirmation/approval of the chargeback. A customer can initiate a chargeback himself, but that does not always remove the obligation to pay. It will differ per MemberPress website how the administrators want to deal with this. There are a number of options in this regard:
MeprAdminRefundedTxnEmail
):
https://github.com/pronamic/memberpress/blob/aade7228d2300b4d1bdbdddd0f95ae11022008e8/app/lib/MeprUtils.php#L1579-L1591I will approve the PR for now, for any future issues we can consider option 2 or 3.
For chargebacks we update the MemberPress transaction status to 'Refunded', but don't send the 'Refunded' notices:
https://github.com/pronamic/wp-pronamic-pay-memberpress/blob/4218e02826ab4ae3249aca3649a425ea5f4c97bd/src/Extension.php#L341-L380
In internal support ticket https://secure.helpscout.net/conversation/2642579484/27460 we received a question about informing site admins about these chargebacks:
I suggest also sending the notices (lines 376-379) for chargebacks. What do you think, @remcotolsma?