@@ -7,28 +7,50 @@ to [contact the Payfast support team](https://payfast.io/contact/) should you re
77
88## Installation
99
10- 1 . Setup ** ZAR** on your Magento site.
11- In the admin panel navigate to ** Stores** , and add ** ZAR** under Currency Symbols and Rates.
12- 2 . Copy the Payfast app folder to your root Magento folder.
13- This will not override any files on your system.
14- 3 . You will now need to run the following commands in the given order:
15-
16- ```
17- composer require payfast/payfast-common:v1.4.0
18- php ./bin/magento module:enable Payfast_Payfast
19- php ./bin/magento setup:di:compile
20- php ./bin/magento setup:static-content:deploy
21- php ./bin/magento cache:clean
22- ```
23-
24- 4 . Log into the admin panel and navigate to ** Stores** -> ** Configuration** -> ** Sales** -> ** Payment Method** and click
25- on ** Payfast** .
26- 5 . Enable the module and complete the Payfast settings as required.
27- 6 . Click ** Save Config** .
10+ 1 . ** Download the Plugin**
11+
12+ - ** Option 1: Automatic Installation**
13+ - Install the module using the following composer command:
14+ ``` console
15+ composer require payfast/payfast
16+ ```
17+ - **Option 2: Manual Installation**
18+ - Visit the [releases page](https://github.com/Payfast/magento-aggregation/releases) and
19+ download [Payfast.zip](https://github.com/Payfast/magento-aggregation/releases/download/v2.7.0/Payfast.zip).
20+ - Extract the contents of `Payfast.zip`, then upload the newly created **Payfast** directory into your Magento
21+ app/code directory (e.g. magentorootfolder/app/code/).
22+ - Run the following composer command:
23+ ```console
24+ composer require payfast/payfast-common:v1.4.0
25+ ```
26+
27+ 2. **Install the Plugin**
28+
29+ - Run the following Magento CLI commands:
30+ ```console
31+ php bin/magento module:enable Payfast_Payfast
32+ php bin/magento setup:upgrade
33+ php bin/magento setup:di:compile
34+ php bin/magento setup:static-content:deploy
35+ php bin/magento indexer:reindex
36+ php bin/magento cache:clean
37+ ```
38+ 3. **Configure the Plugin**
39+
40+ - Login to the Magento admin panel.
41+ - Navigate to **Stores > Configuration > Sales > Payment Methods** and click on
42+ **Payfast**.
43+ - Configure the module according to your needs, then click the **Save Config** button.
44+ - Navigate to **Stores**, and add **ZAR** under Currency Symbols and Rates.
2845
2946Please [click here](https://payfast.io/integration/plugins/magento/) for more information concerning this
3047module.
3148
3249## Collaboration
3350
3451Please submit pull requests with any tweaks, features or fixes you would like to share.
52+
53+
54+
55+
56+
0 commit comments