Skip to content

Commit

Permalink
Create Plugin Payment Magento 2
Browse files Browse the repository at this point in the history
  • Loading branch information
gbrayhan committed Feb 21, 2020
1 parent 7085d22 commit af84bbc
Show file tree
Hide file tree
Showing 48 changed files with 1,091 additions and 4,877 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.idea/


composer.phar
152 changes: 0 additions & 152 deletions Block/Main.php

This file was deleted.

40 changes: 25 additions & 15 deletions Controller/Redirect/Index.php
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,21 +1,31 @@
<?php

namespace Banwire\Card\Controller\Redirect;

use Magento\Framework\View\Result\PageFactory;
use Magento\Framework\App\Action\Context;

class Index extends \Magento\Framework\App\Action\Action
{
protected $pageFactory;
public function __construct(Context $context,PageFactory $pageFactory) {
$this->pageFactory = $pageFactory;

parent::__construct($context);

}

public function execute()
{
return $this->pageFactory->create();
}

class Index extends \Magento\Framework\App\Action\Action {
protected $pageFactory;
protected $_checkoutSession;


public function __construct(
Context $context,
PageFactory $pageFactory) {


$this->pageFactory = $pageFactory;


parent::__construct($context);

}

public function execute() {



return $this->pageFactory->create();
}
}
Loading

0 comments on commit af84bbc

Please sign in to comment.