Merge branch 'trunk' into PCP-412-when-there-is-a-payment-saved-th

This commit is contained in:
dinamiko 2022-03-02 09:55:17 +01:00
commit 5b90111f3f
136 changed files with 4510 additions and 1730 deletions

View file

@ -149,6 +149,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' );
return false;
}