mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-03 08:37:53 +08:00
Fix the order status for virtual & downloadable products
This commit is contained in:
parent
77230fefa8
commit
0c185fca08
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ class OrderProcessor {
|
|||
__( 'Payment successfully captured.', 'woocommerce-paypal-payments' )
|
||||
);
|
||||
$wc_order->update_meta_data( AuthorizedPaymentsProcessor::CAPTURED_META_KEY, 'true' );
|
||||
$wc_order->update_status( 'processing' );
|
||||
$wc_order->update_status( 'completed' );
|
||||
}
|
||||
$this->last_error = '';
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue