関数
ConfirmPage::filterConfirmPagePayButton( string $html, array $payments, string $acting_flag, int $rand, string $purchase_disabled )
パラメータ パラメータ
- $html
(文字列) (必須)
- $payments
(配列) (必須)
- $acting_flag
(文字列) (必須)
- $rand
(数値) (必須)
- $purchase_disabled
(文字列) (必須)
ファイル: src/Views/ConfirmPage/ConfirmPage.php
protected function filterConfirmPagePayButton($html, $payments, $acting_flag, $rand, $purchase_disabled) {
$errorhtml = $this->confirmPageWrapper();
if (!empty($errorhtml)) {
return $errorhtml;
}
ob_start();
?>
<form id="purchase_form" action="<?php echo esc_url(USCES_CART_URL); ?>" method="post" onKeyDown="if (event.keyCode == 13) {return false;}">
<div id="<?php echo Config\Constants::REACT_DOM_NODE ?>"></div>
<?php
$html = ob_get_contents();
ob_end_clean();
return $html;
}