PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.6
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.6
1.6.6 1.6.5 1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 All 49 releases
fluent-cart / app / Views / emails / subscription / renewal_failed / admin.php

admin.php in FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler 1.6.6, at app/Views/emails/subscription/renewal_failed/admin.php

46 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
2 <?php
3 /**
4 * @var \FluentCart\App\Models\Order $order
5 * @var \FluentCart\App\Models\Subscription $subscription
6 * @var string $error Gateway failure reason
7 */
8 ?>
9
10 <div class="space_bottom_30">
11 <p>
12 <?php
13 printf(
14 /* translators: %1$s is the renewal order number, %2$s is the customer's full name */
15 esc_html__( 'The automatic renewal charge for renewal #%1$s (customer: %2$s) failed.', 'fluent-cart' ),
16 esc_html( $order->invoice_no ?: $order->id ),
17 esc_html( $order->customer->full_name )
18 );
19 ?>
20 </p>
21
22 <?php if (!empty($error)): ?>
23 <p>
24 <?php
25 printf(
26 /* translators: %1$s is the payment failure reason reported by the payment provider */
27 esc_html__( 'Reason: %1$s', 'fluent-cart' ),
28 '<em>' . esc_html( $error ) . '</em>'
29 );
30 ?>
31 </p>
32 <?php endif; ?>
33
34 <p>
35 <?php esc_html_e( 'The gateway will retry the charge on its own schedule.', 'fluent-cart' ); ?>
36 </p>
37 </div>
38
39 <?php
40
41 \FluentCart\App\App::make('view')->render('emails.parts.items_table', [
42 'order' => $order,
43 'formattedItems' => $order->order_items,
44 'heading' => __('Renewal Summary', 'fluent-cart'),
45 ]);
46