fix: 支付宝退款: 发客人邮件

webht/payment
Lei OT 2 months ago
parent 2303109064
commit a1ebec60e4

@ -782,7 +782,7 @@ class AlipayTradeService extends CI_Controller
$opi_email_list = explode(";", $advisor_detail->email); // 解析外联的邮件 $opi_email_list = explode(";", $advisor_detail->email); // 解析外联的邮件
$c_fromEmail = trim($opi_email_list[0]); $c_fromEmail = trim($opi_email_list[0]);
$c_toName = $customer_detail->fullname; $c_toName = $customer_detail->fullname;
$c_toEmail = $customer_detail->email; $c_toEmail = isset($customer_detail->email) ? $customer_detail->email : '';
$c_subject = $currencyCode . " " . str_replace('-', '', $item->ALI_orderAmount) . " Refunded to your account, booking number " . $item->ALI_orderId; $c_subject = $currencyCode . " " . str_replace('-', '', $item->ALI_orderAmount) . " Refunded to your account, booking number " . $item->ALI_orderId;
// 修改一些字段名, 为了和iPaylinks等用同一个邮件模板 // 修改一些字段名, 为了和iPaylinks等用同一个邮件模板
$item->payer = $customer_detail->fullname; $item->payer = $customer_detail->fullname;

Loading…
Cancel
Save