mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
fix function name
This commit is contained in:
parent
6c3e627752
commit
f599d3b0b7
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ class OrderProcessor {
|
||||||
$wc_order->update_meta_data( PayPalGateway::CAPTURED_META_KEY, 'true' );
|
$wc_order->update_meta_data( PayPalGateway::CAPTURED_META_KEY, 'true' );
|
||||||
$wc_order->update_status( 'processing' );
|
$wc_order->update_status( 'processing' );
|
||||||
}
|
}
|
||||||
wc()->cart->empty_cart();
|
WC()->cart->empty_cart();
|
||||||
$this->session_handler->destroy_session_data();
|
$this->session_handler->destroy_session_data();
|
||||||
$this->last_error = '';
|
$this->last_error = '';
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue