Add PayPal transaction id to order note

This commit is contained in:
dinamiko 2022-01-31 11:02:51 +01:00
parent f454c60292
commit d2f257a812
4 changed files with 20 additions and 6 deletions

View file

@ -141,7 +141,7 @@ class OrderProcessor {
public function process( \WC_Order $wc_order ): bool {
$order = $this->session_handler->order();
if ( ! $order ) {
$this->last_error = __('No PayPal order found in the current WooCommerce session.', 'woocommerce-paypal-payments');
$this->last_error = __( 'No PayPal order found in the current WooCommerce session.', 'woocommerce-paypal-payments' );
return false;
}