blob: f1d6a00e737a6cb6c765a07f5ffcc0fc74bb1491 [file] [log] [blame]
swissChilif0cbdc32023-01-05 17:21:38 -05001<?php
2if ( ! defined( 'ABSPATH' ) ) {
3 exit; // Exit if accessed directly
4}
5?>
6
7<?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?>
8
9<?php
10$billing_email = $order->get_billing_email();
11$billing_phone = $order->get_billing_phone();
12
13?>
14<p>
15<?php
16 echo wp_kses(
17 sprintf(
18 // translators: 1) is a link to the payment re-authentication URL.
19 _x( 'Your pre-order is now available, but payment cannot be completed automatically. %1$s', 'In failed SCA authentication for a pre-order.', 'woocommerce-gateway-stripe' ),
20 '<a href="' . esc_url( $authorization_url ) . '">' . esc_html__( 'Authorize the payment now &raquo;', 'woocommerce-gateway-stripe' ) . '</a>'
21 ),
22 [ 'a' => [ 'href' => true ] ]
23 );
24 ?>
25 </p>
26
27<?php if ( $email->get_custom_message() ) : ?>
28 <blockquote><?php echo wpautop( wptexturize( $email->get_custom_message() ) ); ?></blockquote>
29<?php endif; ?>
30
31<?php
32do_action( 'woocommerce_email_before_order_table', $order, false, $plain_text, $email );
33
34/*
35 * @hooked WC_Emails::order_details() Shows the order details table.
36 * @hooked WC_Structured_Data::generate_order_data() Generates structured data.
37 * @hooked WC_Structured_Data::output_structured_data() Outputs structured data.
38 * @since 2.5.0
39 */
40do_action( 'woocommerce_email_order_details', $order, $sent_to_admin, $plain_text, $email );
41
42/*
43 * @hooked WC_Emails::order_meta() Shows order meta data.
44 */
45do_action( 'woocommerce_email_order_meta', $order, $sent_to_admin, $plain_text, $email );
46
47do_action( 'woocommerce_email_after_order_table', $order, false, $plain_text, $email );
48
49/*
50 * @hooked WC_Emails::customer_details() Shows customer details
51 * @hooked WC_Emails::email_address() Shows email address
52 */
53do_action( 'woocommerce_email_customer_details', $order, $sent_to_admin, $plain_text, $email );
54
55?>
56<p>
57<?php esc_html_e( 'Thanks for shopping with us.', 'woocommerce-gateway-stripe' ); ?>
58</p>
59<?php
60
61/*
62 * @hooked WC_Emails::email_footer() Output the email footer
63 */
64do_action( 'woocommerce_email_footer', $email );