Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-authorizenet
view
adminhtml
templates
directpost
iframe.phtml
Go to the documentation of this file.
1
<?php
7
// @codingStandardsIgnoreFile
8
12
$params
=
$block
->getParams();
13
$helper
=
$block
->getHelper(
'adminhtml'
);
14
?>
15
<html>
16
<head>
17
<script>
18
<?php
if
(isset(
$params
[
'redirect'
])): ?>
19
window.location=
"<?= $block->escapeUrl($params['redirect']) ?>"
;
20
<?php
endif
; ?>
21
<?php
if
(isset(
$params
[
'redirect_parent'
])): ?>
22
window.top.location=
"<?= $block->escapeUrl($params['redirect_parent']) ?>"
;
23
<?php
endif
; ?>
24
<?php
if
(isset(
$params
[
'error_msg'
])): ?>
25
window.top.directPostModel.showError(<?=
/* @noEscape */
json_encode((array)
$params
[
'error_msg'
]) ?>);
26
<?php
if
(isset(
$params
[
'x_invoice_num'
])): ?>
27
window.top.directPostModel.successUrl=
"<?= $block->escapeUrl($helper->getSuccessOrderUrl($params)) ?>"
;
28
<?php
endif
; ?>
29
<?php
endif
; ?>
30
</script>
31
</head>
32
<body></body>
33
</html>
$helper
$helper
Definition:
iframe.phtml:13
$block
$block
Definition:
block.php:8
$params
$params
Definition:
iframe.phtml:12
endif
endif
Definition:
iframe.phtml:20