関数
ConfirmPage::confirmPageWrapper()
戻り値 戻り値
ファイル: src/Views/ConfirmPage/ConfirmPage.php
protected function confirmPageWrapper() { $opts = $this->module->getActingOpts(); $display = false; if (empty($opts['channel_id'])) { $display = true; } if (empty($opts['channel_secret_key'])) { $display = true; } if ($this->module->ready() === false || $display === true) { /** * Welcart filter * * @ignore */ $btntext = apply_filters('usces_filter_confirm_prebutton_value', __('Back to payment method page.', 'usces')); ob_start(); ?> <form id="purchase_form" action="<?php echo USCES_CART_URL ?>" method="post" onKeyDown="if (event.keyCode == 13) {return false;}" > <div class="send"> <input name="backDelivery" type="submit" id="back_button" class="back_to_delivery_button" value="<?php echo $btntext; ?>" /> </div> <p class="linepay error-message"> <?php echo __('LINE Pay is currently unavailable. Please contact the seller for more info.', 'wcex_linepay') ?> </p> <?php $html = ob_get_contents(); ob_end_clean(); return $html; } return ''; }