wip
This commit is contained in:
@@ -86,56 +86,20 @@ class CheckOnlinePayment extends Action
|
||||
public function resultHTML($response)
|
||||
{
|
||||
$errorMessage = $response['ErrorMessage'];
|
||||
$responseJSON = json_encode($response->json(), JSON_PRETTY_PRINT);
|
||||
|
||||
$response->collect()->each(function ($item, $key) {
|
||||
info([
|
||||
'item' => $item,
|
||||
'key' => $key,
|
||||
]);
|
||||
});
|
||||
|
||||
return Blade::render(<<<HTML
|
||||
<h3 class="text-bold">$errorMessage</h3>
|
||||
HALKBANK-dan gelen netije:
|
||||
|
||||
<span class="text-lg">Message: $errorMessage</span>
|
||||
|
||||
|
||||
<div class="CodeMirror cm-s-dracula CodeMirror-wrap" translate="no" style="clip-path: inset(0px); width: 100%; height: 300px;">
|
||||
<div style="overflow: hidden; position: relative; width: 3px; height: 0px; top: 12px; left: 151.016px;"><textarea autocorrect="off" autocapitalize="off" spellcheck="false" tabindex="0" style="position: absolute; bottom: -1em; padding: 0px; width: 1000px; height: 1em; min-height: 1em; outline: none;"></textarea></div>
|
||||
<div class="CodeMirror-vscrollbar" tabindex="-1" cm-not-content="true" style="width: 18px; visibility: hidden;">
|
||||
<div style="min-width: 1px; height: 0px;"></div>
|
||||
</div>
|
||||
<div class="CodeMirror-hscrollbar" tabindex="-1" cm-not-content="true" style="height: 18px; visibility: hidden;">
|
||||
<div style="height: 100%; min-height: 1px; width: 0px;"></div>
|
||||
</div>
|
||||
<div class="CodeMirror-scrollbar-filler" cm-not-content="true"></div>
|
||||
<div class="CodeMirror-gutter-filler" cm-not-content="true"></div>
|
||||
<div class="CodeMirror-scroll" tabindex="-1">
|
||||
<div class="CodeMirror-sizer" style="margin-left: 29px; margin-bottom: 0px; border-right-width: 50px; min-height: 29px; padding-right: 0px; padding-bottom: 0px;">
|
||||
<div style="position: relative; top: 0px;">
|
||||
<div class="CodeMirror-lines" role="presentation">
|
||||
<div role="presentation" style="position: relative; outline: none;">
|
||||
<div class="CodeMirror-measure">
|
||||
<pre class="CodeMirror-line-like"><span>xxxxxxxxxx</span></pre>
|
||||
</div>
|
||||
<div class="CodeMirror-measure"></div>
|
||||
<div style="position: relative; z-index: 1;"></div>
|
||||
<div class="CodeMirror-cursors" style="visibility: hidden;">
|
||||
<div class="CodeMirror-cursor" style="left: 122.016px; top: 0px; height: 21px;"> </div>
|
||||
</div>
|
||||
<div class="CodeMirror-code" role="presentation">
|
||||
<div style="position: relative;">
|
||||
<div class="CodeMirror-gutter-wrapper" aria-hidden="true" style="left: -29px;">
|
||||
<div class="CodeMirror-linenumber CodeMirror-gutter-elt" style="left: 0px; width: 21px;">1</div>
|
||||
</div>
|
||||
<pre class=" CodeMirror-line " role="presentation">
|
||||
<span role="presentation" style="padding-right: 0.1px;">
|
||||
$responseJSON
|
||||
</span>
|
||||
</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="position: absolute; height: 50px; width: 1px; border-bottom: 0px solid transparent; top: 29px;"></div>
|
||||
<div class="CodeMirror-gutters" style="height: 79px; left: 0px;">
|
||||
<div class="CodeMirror-gutter CodeMirror-linenumbers" style="width: 29px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
HTML);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user