Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
api_wizard.phtml
Go to the documentation of this file.
1 <?php
11 ?>
12 <div class="pp-buttons-container">
13  <div dir="ltr" style="text-align: left;" trbidi="on">
14  <script>
15  (function(d, s, id){
16  var js, ref = d.getElementsByTagName(s)[0];
17  if (!d.getElementById(id)){
18  js = d.createElement(s); js.id = id; js.async = true;
19  js.src = "https://www.paypal.com/webapps/merchantboarding/js/lib/lightbox/partner.js";
20  ref.parentNode.insertBefore(js, ref); }
21  }(document, "script", "paypal-js"));
22  </script>
23 
24  <a class="action-default"
25  data-paypal-button="true"
26  href="<?= /* @noEscape */ $block->escapeUrl($block->getButtonUrl() . '?' . $block->getQuery()) ?>"
27  target="PPFrame"><?= $block->escapeHtml($block->getButtonLabel()) ?></a>
28 
29  <a class="action-default"
30  data-paypal-button="true"
31  href="<?= /* @noEscape */ $block->escapeUrl($block->getSandboxButtonUrl(). '?' . $block->getQuery()) ?>"
32  target="PPFrame"><?= $block->escapeHtml($block->getSandboxButtonLabel()) ?></a>
33  </div>
34 </div>
$block
Definition: block.php:8