diff --git a/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php b/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php index f363feef53..7f3f93a6fa 100644 --- a/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php +++ b/includes/payment-methods/class-wc-stripe-upe-payment-gateway.php @@ -1829,7 +1829,7 @@ private function process_payment_intent_for_order( WC_Order $order, array $payme throw new WC_Stripe_Exception( // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_print_r print_r( $payment_intent, true ), - __( 'Sorry, we are unable to process your payment at this time. Please retry later.', 'woocommerce-gateway-stripe' ) + $payment_intent->error->message ); }