mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Refactor shipping_preference
Extract its determination to a separate class, also remove useless CartRepository and use single PU to avoid confusion.
This commit is contained in:
parent
67cdf9be8e
commit
fff2570124
20 changed files with 245 additions and 264 deletions
|
@ -29,6 +29,7 @@ return array(
|
|||
$repository,
|
||||
$endpoint,
|
||||
$purchase_unit_factory,
|
||||
$container->get( 'api.factory.shipping-preference' ),
|
||||
$payer_factory,
|
||||
$environment
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue