get( 'onboarding.state' ); /* @var Bearer $bearer The bearer */ $bearer = $container->get( 'api.bearer' ); /* @var DccApplies $dcc_applies The ddc applies */ $dcc_applies = $container->get( 'api.helpers.dccapplies' ); /* @var MessagesApply $messages_apply The messages apply */ $messages_apply = $container->get( 'button.helper.messages-apply' ); add_action( 'woocommerce_system_status_report', function() use ( $state, $bearer, $dcc_applies, $messages_apply ) { ?>
current_state(); switch ( $current_state ) { case $state::STATE_START: echo esc_html__( 'Start', 'woocommerce-paypal-payments' ); break; case $state::STATE_PROGRESSIVE: echo esc_html__( 'Progressive', 'woocommerce-paypal-payments' ); break; case $state::STATE_ONBOARDED: echo esc_html__( 'Onboarded', 'woocommerce-paypal-payments' ); break; default: echo esc_html__( 'Unknown', 'woocommerce-paypal-payments' ); } ?> | ||
for_country_currency() ? esc_html__( 'Yes', 'woocommerce-paypal-payments' ) : esc_html__( 'No', 'woocommerce-paypal-payments' ) ); ?> | ||
for_country() ? esc_html__( 'Yes', 'woocommerce-paypal-payments' ) : esc_html__( 'No', 'woocommerce-paypal-payments' ) ); ?> | ||
bearer(); echo esc_attr( $token->vaulting_available() ? esc_html__( 'Yes', 'woocommerce-paypal-payments' ) : esc_html__( 'No', 'woocommerce-paypal-payments' ) ); } catch ( RuntimeException $exception ) { echo esc_html__( 'No', 'woocommerce-paypal-payments' ); } ?> |