mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
fix phpcs errors
This commit is contained in:
parent
4ee48de635
commit
80892ca739
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ class OrderProcessor {
|
|||
__( 'Awaiting payment.', 'woocommerce-paypal-payments' )
|
||||
);
|
||||
if ( $order->status()->is( OrderStatus::COMPLETED ) && $order->intent() === 'CAPTURE' ) {
|
||||
|
||||
|
||||
$wc_order->payment_complete();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue