Start.php 621 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Paypal\Controller\Payflowbml;
  7. class Start extends \Magento\Framework\App\Action\Action
  8. {
  9. /**
  10. * Action for Bill Me Later checkout button (product view and shopping cart pages)
  11. *
  12. * @return void
  13. */
  14. public function execute()
  15. {
  16. $this->_forward(
  17. 'start',
  18. 'payflowexpress',
  19. 'paypal',
  20. [
  21. 'bml' => 1,
  22. 'button' => $this->getRequest()->getParam('button')
  23. ]
  24. );
  25. }
  26. }