mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Update error message
This commit is contained in:
parent
c654786ee3
commit
b6d483ac6d
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ class OrderProcessor {
|
||||||
$order_id = $wc_order->get_meta( PayPalGateway::ORDER_ID_META_KEY );
|
$order_id = $wc_order->get_meta( PayPalGateway::ORDER_ID_META_KEY );
|
||||||
if ( ! $order_id ) {
|
if ( ! $order_id ) {
|
||||||
$this->logger->warning( "No PayPal order ID found in order #{$wc_order->get_id()} meta." );
|
$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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue