mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-04 08:47:23 +08:00
Fix typos
This commit is contained in:
parent
65e1ca4eb0
commit
46f9074c41
7 changed files with 16 additions and 16 deletions
|
@ -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 {
|
||||||
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
|
* 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
|
* - $this \WC_Payment_Gateway
|
||||||
* - $wc_order \WC_Order
|
* - $wc_order \WC_Order
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -255,10 +255,10 @@ class AxoGateway extends WC_Payment_Gateway {
|
||||||
$order = $this->create_paypal_order( $wc_order, $token );
|
$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
|
* 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
|
* - $this \WC_Payment_Gateway
|
||||||
* - $wc_order \WC_Order
|
* - $wc_order \WC_Order
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -189,15 +189,15 @@ class GooglePayGateway extends WC_Payment_Gateway {
|
||||||
}
|
}
|
||||||
//phpcs:enable WordPress.Security.NonceVerification.Recommended
|
//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 {
|
||||||
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
|
* 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
|
* - $this \WC_Payment_Gateway
|
||||||
* - $wc_order \WC_Order
|
* - $wc_order \WC_Order
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -286,10 +286,10 @@ class CardButtonGateway extends \WC_Payment_Gateway {
|
||||||
try {
|
try {
|
||||||
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
|
* 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
|
* - $this \WC_Payment_Gateway
|
||||||
* - $wc_order \WC_Order
|
* - $wc_order \WC_Order
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -517,10 +517,10 @@ class CreditCardGateway extends \WC_Payment_Gateway_CC {
|
||||||
|
|
||||||
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
|
* 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
|
* - $this \WC_Payment_Gateway
|
||||||
* - $wc_order \WC_Order
|
* - $wc_order \WC_Order
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -616,10 +616,10 @@ class PayPalGateway extends \WC_Payment_Gateway {
|
||||||
try {
|
try {
|
||||||
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
|
* 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
|
* - $this \WC_Payment_Gateway
|
||||||
* - $wc_order \WC_Order
|
* - $wc_order \WC_Order
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -231,10 +231,10 @@ class CheckoutOrderApproved implements RequestHandler {
|
||||||
|
|
||||||
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
|
* 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
|
* - $this \WC_Payment_Gateway
|
||||||
* - $wc_order \WC_Order
|
* - $wc_order \WC_Order
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue