Update error message

This commit is contained in:
emilicastells 2022-12-05 11:21:05 +01:00
parent c654786ee3
commit b6d483ac6d
No known key found for this signature in database
GPG key ID: 1520C07081754570

View file

@ -168,7 +168,7 @@ class OrderProcessor {
$order_id = $wc_order->get_meta( PayPalGateway::ORDER_ID_META_KEY );
if ( ! $order_id ) {
$this->logger->warning( "No PayPal order ID found in order #{$wc_order->get_id()} meta." );
$this->last_error = __( 'Could not retrieve PayPal order.', 'woocommerce-paypal-payments' );
$this->last_error = __( 'Could not retrieve order. This browser may not be supported. Please try again with a different browser.', 'woocommerce-paypal-payments' );
return false;
}