Form.php 511 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Paypal\Controller\Payflow;
  7. use Magento\Paypal\Controller\Payflow;
  8. /**
  9. * Class Form
  10. */
  11. class Form extends Payflow
  12. {
  13. /**
  14. * Submit transaction to Payflow getaway into iframe
  15. *
  16. * @return void
  17. */
  18. public function execute()
  19. {
  20. $this->getResponse()->setHeader('P3P', 'CP="CAO PSA OUR"');
  21. $this->_view->loadLayout(false)->renderLayout();
  22. }
  23. }