mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 18:16:38 +08:00
Save wc order after setting transaction id
This commit is contained in:
parent
c8819086d8
commit
e83db4a103
2 changed files with 3 additions and 2 deletions
|
@ -177,7 +177,7 @@ class OrderProcessor {
|
|||
$transaction_id = $this->get_paypal_order_transaction_id( $order );
|
||||
|
||||
if ( $transaction_id ) {
|
||||
$this->set_order_transaction_id( $transaction_id, $wc_order );
|
||||
$this->update_transaction_id( $transaction_id, $wc_order );
|
||||
}
|
||||
|
||||
$this->handle_new_order_status( $order, $wc_order );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue