mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 12:25:15 +08:00
Fix PHPcs problems
This commit is contained in:
parent
a693829815
commit
6496a202a3
1 changed files with 16 additions and 16 deletions
|
@ -2162,8 +2162,8 @@ return array(
|
|||
: esc_html__( 'Enable Advanced Card Payments', 'woocommerce-paypal-payments' );
|
||||
|
||||
$enable_dcc_url = $environment->current_environment_is( Environment::PRODUCTION )
|
||||
? $container->get('wcgateway.enable-dcc-url-live')
|
||||
: $container->get('wcgateway.enable-dcc-url-sandbox');
|
||||
? $container->get( 'wcgateway.enable-dcc-url-live' )
|
||||
: $container->get( 'wcgateway.enable-dcc-url-sandbox' );
|
||||
|
||||
$dcc_button_url = $dcc_enabled
|
||||
? admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=ppcp-gateway&ppcp-tab=ppcp-credit-card-gateway' )
|
||||
|
@ -2192,8 +2192,8 @@ return array(
|
|||
$disabled_status_text = esc_html__( 'Status: Not yet enabled', 'woocommerce-paypal-payments' );
|
||||
|
||||
$enable_pui_url = $environment->current_environment_is( Environment::PRODUCTION )
|
||||
? $container->get('wcgateway.enable-pui-url-live')
|
||||
: $container->get('wcgateway.enable-pui-url-sandbox');
|
||||
? $container->get( 'wcgateway.enable-pui-url-live' )
|
||||
: $container->get( 'wcgateway.enable-pui-url-sandbox' );
|
||||
|
||||
$pui_button_url = $pui_enabled
|
||||
? admin_url( 'admin.php?page=wc-settings&tab=checkout§ion=ppcp-pay-upon-invoice-gateway' )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue