total_amount - (int)$order->total_paid), 0); } $paymentLink = \FluentCart\Framework\Support\Arr::get($reminder, 'payment_link', \FluentCart\App\Services\Payments\PaymentHelper::getCustomPaymentLink($order->uuid)); $orderRef = !empty($order->invoice_no) ? $order->invoice_no : '#' . $order->id; ?>

customer->full_name) ); ?>

' . esc_html($orderRef) . '' ); ?>

#id); ?>
render('emails.parts.call_to_action_box', [ 'content' => __('Your subscription renewal is due today. Complete your payment to avoid any interruption.', 'fluent-cart'), 'link' => $paymentLink, 'button_text' => __('Pay Now', 'fluent-cart'), ]);