mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Merge pull request #676 from woocommerce/PCP-711-capture-virtual-only-orders-intent-problem
Fix the order status for virtual & downloadable products
This commit is contained in:
commit
a8fb55daa4
1 changed files with 1 additions and 1 deletions
|
@ -215,7 +215,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