swissChili | f0cbdc3 | 2023-01-05 17:21:38 -0500 | [diff] [blame^] | 1 | <?php |
| 2 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | exit; // Exit if accessed directly |
| 4 | } |
| 5 | ?> |
| 6 | |
| 7 | <?php do_action( 'woocommerce_email_header', $email_heading, $email ); ?> |
| 8 | |
| 9 | <p> |
| 10 | <?php |
| 11 | // translators: 1) name of the blog, 2) link to payment re-authentication URL, note: no full stop due to url at the end |
| 12 | echo wp_kses( sprintf( _x( 'The automatic payment to renew your subscription with %1$s has failed. To reactivate the subscription, please login and authorize the renewal from your account page: %2$s', 'In failed renewal authentication email', 'woocommerce-gateway-stripe' ), esc_html( get_bloginfo( 'name' ) ), '<a href="' . esc_url( $authorization_url ) . '">' . esc_html__( 'Authorize the payment »', 'woocommerce-gateway-stripe' ) . '</a>' ), [ 'a' => [ 'href' => true ] ] ); |
| 13 | ?> |
| 14 | </p> |
| 15 | |
| 16 | <?php do_action( 'woocommerce_subscriptions_email_order_details', $order, $sent_to_admin, $plain_text, $email ); ?> |
| 17 | |
| 18 | <?php do_action( 'woocommerce_email_footer', $email ); ?> |