mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-08-30 05:00:51 +08:00
Fix the disabled tracking checkbox condition
This commit is contained in:
parent
dade07ca95
commit
968b081534
3 changed files with 16 additions and 16 deletions
|
@ -51,7 +51,7 @@ class OrderTrackingModule implements ModuleInterface {
|
|||
$pui_helper = $c->get( 'wcgateway.pay-upon-invoice-helper' );
|
||||
assert( $pui_helper instanceof PayUponInvoiceHelper );
|
||||
|
||||
if ( $pui_helper->is_pui_enabled() ) {
|
||||
if ( $pui_helper->is_pui_gateway_enabled() ) {
|
||||
$settings->set( 'tracking_enabled', true );
|
||||
$settings->persist();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue