mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-03 08:37:53 +08:00
Sync GZD shipment only if status is changed to "shipped"
This commit is contained in:
parent
a0472e3a6a
commit
8e7ca29117
2 changed files with 6 additions and 20 deletions
|
@ -56,15 +56,6 @@ return array(
|
|||
return function_exists( 'wc_gzd_get_shipments_by_order' ); // 3.0+
|
||||
},
|
||||
|
||||
'compat.gzd.tracking_statuses_map' => function ( ContainerInterface $container ): array {
|
||||
return array(
|
||||
'draft' => 'ON_HOLD',
|
||||
'processing' => 'SHIPPED',
|
||||
'shipped' => 'SHIPPED',
|
||||
'delivered' => 'DELIVERED',
|
||||
);
|
||||
},
|
||||
|
||||
'compat.module.url' => static function ( ContainerInterface $container ): string {
|
||||
/**
|
||||
* The path cannot be false.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue