37 lines
1.1 KiB
PHP
37 lines
1.1 KiB
PHP
<!doctype html>
|
|
<html lang="ko">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>결제 이동</title>
|
|
</head>
|
|
<body>
|
|
<div style="padding:16px;font-family:sans-serif;">
|
|
결제 페이지로 이동 중입니다. 잠시만 기다려 주세요…
|
|
</div>
|
|
|
|
<form id="danalAutoSubmitForm" method="post" action="{{ $action }}" accept-charset="{{ $acceptCharset ?? 'EUC-KR' }}">
|
|
@foreach(($fields ?? []) as $k => $v)
|
|
<input type="hidden" name="{{ $k }}" value="{{ $v }}">
|
|
@endforeach
|
|
<noscript><button type="submit">계속</button></noscript>
|
|
</form>
|
|
|
|
<script>
|
|
(function(){
|
|
try {
|
|
if (window.top && window.top.setPayCtx) {
|
|
window.top.setPayCtx({
|
|
token: @json($attemptToken ?? ''),
|
|
oid: @json($oid ?? ''),
|
|
method: @json($method ?? ''),
|
|
phone_mode: @json($phoneMode ?? ''),
|
|
});
|
|
}
|
|
} catch(e) {}
|
|
})();
|
|
document.getElementById('danalAutoSubmitForm').submit();
|
|
</script>
|
|
</body>
|
|
</html>
|