diff --git a/modules/ppcp-applepay/src/ApplePayGateway.php b/modules/ppcp-applepay/src/ApplePayGateway.php index 1fc09c6a6..f7b1d2959 100644 --- a/modules/ppcp-applepay/src/ApplePayGateway.php +++ b/modules/ppcp-applepay/src/ApplePayGateway.php @@ -180,15 +180,15 @@ class ApplePayGateway extends WC_Payment_Gateway { ); } - do_action_deprecated( 'woocommerce_paypal_payments_before_process_order', array( $wc_order ), '2.9.7', 'woocommerce_paypal_payments_before_order_process', __( 'Usage of this action is deprecated. Please use the filter woocommerce_paypal_payments_before_order_process instead.', 'woocommerce-paypal-payments' ) ); + do_action_deprecated( 'woocommerce_paypal_payments_before_process_order', array( $wc_order ), '3.0.1', 'woocommerce_paypal_payments_before_order_process', __( 'Usage of this action is deprecated. Please use the filter woocommerce_paypal_payments_before_order_process instead.', 'woocommerce-paypal-payments' ) ); try { try { /** - * This filter controls if the method 'precess()' from OrderProcessor will be called. + * This filter controls if the method 'process()' from OrderProcessor will be called. * So you can implement your own for example on subscriptions * - * - true bool controls execution of 'OrderProcessor::precess()' + * - true bool controls execution of 'OrderProcessor::process()' * - $this \WC_Payment_Gateway * - $wc_order \WC_Order */ diff --git a/modules/ppcp-axo/src/Gateway/AxoGateway.php b/modules/ppcp-axo/src/Gateway/AxoGateway.php index 45e7f2432..dda7c2182 100644 --- a/modules/ppcp-axo/src/Gateway/AxoGateway.php +++ b/modules/ppcp-axo/src/Gateway/AxoGateway.php @@ -255,10 +255,10 @@ class AxoGateway extends WC_Payment_Gateway { $order = $this->create_paypal_order( $wc_order, $token ); /** - * This filter controls if the method 'precess()' from OrderProcessor will be called. + * This filter controls if the method 'process()' from OrderProcessor will be called. * So you can implement your own for example on subscriptions * - * - true bool controls execution of 'OrderProcessor::precess()' + * - true bool controls execution of 'OrderProcessor::process()' * - $this \WC_Payment_Gateway * - $wc_order \WC_Order */ diff --git a/modules/ppcp-googlepay/src/GooglePayGateway.php b/modules/ppcp-googlepay/src/GooglePayGateway.php index 4c4a4dbf1..f45d0a37d 100644 --- a/modules/ppcp-googlepay/src/GooglePayGateway.php +++ b/modules/ppcp-googlepay/src/GooglePayGateway.php @@ -189,15 +189,15 @@ class GooglePayGateway extends WC_Payment_Gateway { } //phpcs:enable WordPress.Security.NonceVerification.Recommended - do_action_deprecated( 'woocommerce_paypal_payments_before_process_order', array( $wc_order ), '2.9.7', 'woocommerce_paypal_payments_before_order_process', __( 'Usage of this action is deprecated. Please use the filter woocommerce_paypal_payments_before_order_process instead.', 'woocommerce-paypal-payments' ) ); + do_action_deprecated( 'woocommerce_paypal_payments_before_process_order', array( $wc_order ), '3.0.1', 'woocommerce_paypal_payments_before_order_process', __( 'Usage of this action is deprecated. Please use the filter woocommerce_paypal_payments_before_order_process instead.', 'woocommerce-paypal-payments' ) ); try { try { /** - * This filter controls if the method 'precess()' from OrderProcessor will be called. + * This filter controls if the method 'process()' from OrderProcessor will be called. * So you can implement your own for example on subscriptions * - * - true bool controls execution of 'OrderProcessor::precess()' + * - true bool controls execution of 'OrderProcessor::process()' * - $this \WC_Payment_Gateway * - $wc_order \WC_Order */ diff --git a/modules/ppcp-wc-gateway/src/Gateway/CardButtonGateway.php b/modules/ppcp-wc-gateway/src/Gateway/CardButtonGateway.php index 00054c3da..f4e296f93 100644 --- a/modules/ppcp-wc-gateway/src/Gateway/CardButtonGateway.php +++ b/modules/ppcp-wc-gateway/src/Gateway/CardButtonGateway.php @@ -286,10 +286,10 @@ class CardButtonGateway extends \WC_Payment_Gateway { try { try { /** - * This filter controls if the method 'precess()' from OrderProcessor will be called. + * This filter controls if the method 'process()' from OrderProcessor will be called. * So you can implement your own for example on subscriptions * - * - true bool controls execution of 'OrderProcessor::precess()' + * - true bool controls execution of 'OrderProcessor::process()' * - $this \WC_Payment_Gateway * - $wc_order \WC_Order */ diff --git a/modules/ppcp-wc-gateway/src/Gateway/CreditCardGateway.php b/modules/ppcp-wc-gateway/src/Gateway/CreditCardGateway.php index 8ba3d4e54..872f9f240 100644 --- a/modules/ppcp-wc-gateway/src/Gateway/CreditCardGateway.php +++ b/modules/ppcp-wc-gateway/src/Gateway/CreditCardGateway.php @@ -517,10 +517,10 @@ class CreditCardGateway extends \WC_Payment_Gateway_CC { try { /** - * This filter controls if the method 'precess()' from OrderProcessor will be called. + * This filter controls if the method 'process()' from OrderProcessor will be called. * So you can implement your own for example on subscriptions * - * - true bool controls execution of 'OrderProcessor::precess()' + * - true bool controls execution of 'OrderProcessor::process()' * - $this \WC_Payment_Gateway * - $wc_order \WC_Order */ diff --git a/modules/ppcp-wc-gateway/src/Gateway/PayPalGateway.php b/modules/ppcp-wc-gateway/src/Gateway/PayPalGateway.php index 44e1e5471..4bc4dad1c 100644 --- a/modules/ppcp-wc-gateway/src/Gateway/PayPalGateway.php +++ b/modules/ppcp-wc-gateway/src/Gateway/PayPalGateway.php @@ -616,10 +616,10 @@ class PayPalGateway extends \WC_Payment_Gateway { try { try { /** - * This filter controls if the method 'precess()' from OrderProcessor will be called. + * This filter controls if the method 'process()' from OrderProcessor will be called. * So you can implement your own for example on subscriptions * - * - true bool controls execution of 'OrderProcessor::precess()' + * - true bool controls execution of 'OrderProcessor::process()' * - $this \WC_Payment_Gateway * - $wc_order \WC_Order */ diff --git a/modules/ppcp-webhooks/src/Handler/CheckoutOrderApproved.php b/modules/ppcp-webhooks/src/Handler/CheckoutOrderApproved.php index b3c73ef80..73589f1b6 100644 --- a/modules/ppcp-webhooks/src/Handler/CheckoutOrderApproved.php +++ b/modules/ppcp-webhooks/src/Handler/CheckoutOrderApproved.php @@ -231,10 +231,10 @@ class CheckoutOrderApproved implements RequestHandler { try { /** - * This filter controls if the method 'precess()' from OrderProcessor will be called. + * This filter controls if the method 'process()' from OrderProcessor will be called. * So you can implement your own for example on subscriptions * - * - true bool controls execution of 'OrderProcessor::precess()' + * - true bool controls execution of 'OrderProcessor::process()' * - $this \WC_Payment_Gateway * - $wc_order \WC_Order */