Contents

Magento offline payment the new way

Contents
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Every time when I would like to prepare new payment method I see deprecated method. It's terrible because modules in magento vendor doesn't rewrite in new style.

In that article I would like to show how prepare new offline payment in magento way.

OfflinePayment
├── CHANGELOG.md
├── composer.json
├── Enum
│   └── Config.php
├── etc
│   ├── adminhtml
│   │   └── system.xml
│   ├── config.xml
│   ├── di.xml
│   ├── module.xml
│   └── payment.xml
├── Model
│   ├── ConfigProvider.php
│   └── Ui
│       └── ConfigProvider.php
├── README.md
├── registration.php
└── view
    └── frontend
        ├── layout
        │   └── checkout_index_index.xml
        └── web
            ├── js
            │   └── view
            │       └── payment
            │           ├── method-renderer
            │           │   └── mageviper-offlinepayment.js
            │           └── offlinepayment.js
            └── template
                └── payment
                    └── offlinepayment.html