-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 65ec3f1
Showing
20 changed files
with
628 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# 2017-03-09 | ||
# https://github.com/isaacs/github/issues/170#issuecomment-150489692 | ||
root = true | ||
[*] | ||
indent_size = 4 | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
namespace Dfe\PayFort; | ||
use Magento\Sales\Model\Order\Payment\Transaction as T; | ||
// 2017-08-17 | ||
/** @method Settings s() */ | ||
final class Method extends \Df\StripeClone\Method { | ||
/** | ||
* 2017-08-17 | ||
* @override | ||
* The result should be in the basic monetary unit (like dollars), not in fractions (like cents). | ||
* @see \Df\Payment\Method::amountLimits() | ||
* @used-by \Df\Payment\Method::isAvailable() | ||
* @return null | ||
*/ | ||
protected function amountLimits() {return null;} | ||
|
||
/** | ||
* 2017-08-17 | ||
* @override | ||
* @see \Df\StripeClone\Method::transUrlBase() | ||
* @used-by \Df\StripeClone\Method::transUrl() | ||
* @param T $t | ||
* @return string | ||
*/ | ||
protected function transUrlBase(T $t) {return '';} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
The extension integrates your Magento 2 store with the **[PayFort](https://www.payfort.com)** payment service. | ||
Payfort [is available](https://www.payfort.com/payfort-faqs/#section30) for merchants in United Arab Emirates, Egypt, Saudi Arabia, Jordan, Lebanon and Qatar. | ||
|
||
## How to buy | ||
The extension is not released yet, so there is no way to buy it just now. | ||
The extension will be released when I will want so. | ||
|
||
## How to install | ||
### 1. Free installation service | ||
Just order my [free installation service](https://mage2.pro/t/3585). | ||
|
||
### 2. Self-installation | ||
``` | ||
composer require mage2pro/payfort:* | ||
bin/magento setup:upgrade | ||
rm -rf pub/static/* && bin/magento setup:static-content:deploy en_US <additional locales, e.g.: ar_AE ar_EG ar_SA ar_JO ar_LB ar_QA> | ||
rm -rf var/di var/generation generated/code && bin/magento setup:di:compile | ||
``` | ||
If you have some problems while executing these commands, then check the [detailed instruction](https://mage2.pro/t/263). | ||
|
||
## Licensing | ||
It is a paid extension, not free. | ||
You can use it for free for the testing puproses only. | ||
Please read the [testing policy](https://mage2.pro/t/2590) before installation. | ||
|
||
## Support | ||
- [The extension's **forum** branch](https://mage2.pro/c/extensions/payfort). | ||
- [Where and how to report a Mage2.PRO extension's issue?](https://mage2.pro/t/2034) | ||
- I also provide a **[generic Magento 2 support](https://mage2.pro/t/755)** and [Magento 2 installation service](https://mage2.pro/t/748). | ||
|
||
## Want to be notified about the extension's updates? | ||
- [Subscribe](https://mage2.pro/t/2540) to the extension's [forum branch](https://mage2.pro/c/extensions/payfort). | ||
- Subscribe to my [Twitter](https://twitter.com/mage2_pro) and [YouTube](https://www.youtube.com/channel/UCvlDAZuj01_b92pzRi69LeQ) channels. | ||
|
||
## Need a new feature? | ||
I provide the [**customization service**](https://mage2.pro/t/2020) for my payment extensions. | ||
|
||
## Need another payment extension for Magento 2? | ||
|
||
- «[**2Checkout**](https://mage2.pro/c/extensions/2checkout)» payment extension. | ||
- «[**歐付寶 allPay**](https://mage2.pro/c/extensions/allpay)» payment extension (Taiwan). | ||
- «[**Checkout.com**](https://mage2.pro/c/extensions/checkout-com)» payment extension. | ||
- «[**Dragonpay**](https://mage2.pro/c/extensions/dragonpay)» payment extension (Philippines). | ||
- «[**Ginger Payments**](https://mage2.pro/c/extensions/ginger-payments)» extension (the Netherlands, Belgium). | ||
- «[**iPay88**](https://mage2.pro/c/extensions/ipay88)» payment extension (Malaysia, Indonesia, Philippines, Thailand, Singapore, China). | ||
- «[**iyzico**](https://mage2.pro/c/extensions/iyzico)» payment extension (Turkey). | ||
- «[**Kassa Compleet**](https://mage2.pro/c/extensions/kassa-compleet)» payment extension by ING Bank (the Netherlands). | ||
- «[**Klarna**](https://mage2.pro/c/extensions/klarna)» payment extension (Austria, Denmark, Finland, Germany, Norway, Sweden). | ||
- «[**MercadoPago**](https://mage2.pro/c/extensions/mercadopago)» payment extension (Argentina, Brasil, Chile, Mexico, Venezuela, Colombia, Uruguay, Peru). | ||
- «[**Moip**](https://mage2.pro/c/extensions/moip)» payment extension (Brazil). | ||
- «[**mPAY24**](https://mage2.pro/c/extensions/mpay24)» payment extension (Austria, Germany). | ||
- «[**Omise**](https://mage2.pro/c/extensions/omise)» payment extension (Thailand, Japan). | ||
- «[**Paymill**](https://mage2.pro/c/extensions/paymill)» payment extension (the European Union). | ||
- «[**PayPal**](https://mage2.pro/c/extensions/paypal)»: an alternative module you can get fast support and customizations for. | ||
- «[**Paystation**](https://mage2.pro/c/extensions/paystation)» payment extension (New Zealand). | ||
- «[**QIWI Wallet**](https://mage2.pro/c/extensions/qiwi)» (QIWI Кошелёк) payment extension (Russia). | ||
- «[**Robokassa**](https://mage2.pro/c/extensions/robokassa)» payment extension (Russia). | ||
- «[**SecurePay**](https://mage2.pro/c/extensions/securepay)» payment extension (Australia). | ||
- «[**Spryng**](https://mage2.pro/c/extensions/spryng)» payment extension (the European Union). | ||
- «[**Square**](https://mage2.pro/c/extensions/square)» payment extension (USA, Canada). | ||
- «[**Stripe**](https://mage2.pro/c/extensions/stripe)» payment extension. | ||
- «[**Tinkoff Bank**](https://mage2.pro/c/extensions/tinkoff)» (Тинькофф Банк) payment extension (Russia). | ||
- «[**Yandex.Kassa**](https://mage2.pro/c/extensions/yandex-kassa)» (as known as Yandex.Checkout, Яндекс.Касса) payment extension (Russia, Armenia, Azerbaijan, Belarus, Georgia, Kazakhstan, Kyrgyzstan, Latvia, Moldova, Tajikistan). | ||
|
||
## See also my integrations between Magento 2 and a third-party business software (ERP, CRM, accounting, inventory, marketplaces, etc.): | ||
- «[**Microsoft Dynamics 365**](https://mage2.pro/c/extensions/dynamics365)» (an integration with the ERP/CRM software). | ||
- «[**Salesforce**](https://mage2.pro/c/extensions/salesforce)» (an integration with the CRM software). | ||
- «[**Zoho CRM**](https://mage2.pro/c/extensions/zoho-crm)». | ||
- «[**Zoho Inventory**](https://mage2.pro/c/extensions/zoho-inventory)». | ||
- «[**Zoho Books**](https://mage2.pro/c/extensions/zoho-books)» (an accounting software). | ||
- «[**1C:Enterprise**](https://github.com/mage2pro/1c)» (a Russian ERP software, модуль Magento 2 для интеграции с 1С:Предприятие). | ||
- «[**МойСклад**](https://github.com/mage2pro/moysklad)» (a Russian ERP software, модуль Magento 2 для интеграции с МойСклад). | ||
- «[**Яндекс.Маркет**](https://github.com/mage2pro/yandex-market)» (a Russian marketplace, модуль Magento 2 для интеграции с Яндекс.Маркет). | ||
|
||
## See also my other Magento 2 extensions: | ||
|
||
- «[**Backend Login with Google Account**](https://mage2.pro/c/extensions/google-backend-login)» (a single sign-on extension for the Magento 2 backend). | ||
- «[**Blackbaud NetCommunity**](https://mage2.pro/c/extensions/blackbaud-netcommunity)» (an integration with an online fundraising software). | ||
- «[**Facebook Like & Share**](https://mage2.pro/c/extensions/facebook-like)» (shows the Facebook's «Like» and «Share» buttons on the frontend product pages). | ||
- «[**Facebook Login**](https://mage2.pro/c/extensions/facebook-login)» (a single sign-on extension). | ||
- «[**Login with Amazon**](https://mage2.pro/c/extensions/amazon-login)» (a single sign-on extension). | ||
- «[**Markdown Editor**](https://mage2.pro/c/extensions/markdown)» (an alternative content editor for the Magento 2 backend). | ||
- «[**Price Format**](https://mage2.pro/c/extensions/price-format)» (set a custom display format for the prices and other currency values: discounts, taxes, sales amounts). | ||
- «[**Russian language package**](https://mage2.pro/c/extensions/ru)» (русификатор для Magento 2). | ||
- «[**Sales Documents Numeration**](https://mage2.pro/c/extensions/sales-documents-numeration)» (use a custom numeration for the sales documents: orders, invoices, shipments, and credit memos). | ||
- «[**Twitter Timeline**](https://mage2.pro/c/extensions/twitter-timeline)» (shows your latest tweets in your store's frontend sidebar). | ||
|
||
## Need a custom payment extension? | ||
I provide a [custom payment gateway integration service](https://mage2.pro/t/917). | ||
|
||
## Want to get the full rights on my extension? | ||
It is possible: the price depends on a extension and starts from $6.990. | ||
You will get free lifetime support, updates, and installation service for all your clients. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
namespace Dfe\PayFort; | ||
// 2017-08-17 | ||
/** @method static Settings s() */ | ||
final class Settings extends \Df\StripeClone\Settings {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
namespace Dfe\PayFort\T; | ||
// 2017-08-17 | ||
final class Charge extends TestCase { | ||
/** @test 2017-08-17 */ | ||
function t01() {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
namespace Dfe\PayFort\T; | ||
// 2017-08-17 | ||
/** @method \Dfe\PayFort\Settings s() */ | ||
abstract class TestCase extends \Df\Payment\TestCase {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version='1.0' encoding='utf-8' ?> | ||
<phpunit | ||
bootstrap='../../../../dev/tests/unit/framework/bootstrap.php' | ||
convertErrorsToExceptions="false" | ||
convertNoticesToExceptions="false" | ||
convertWarningsToExceptions="false" | ||
> | ||
<testsuite name='PayFort'> | ||
<directory suffix='.php'>.</directory> | ||
</testsuite> | ||
</phpunit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"name": "mage2pro/payfort" | ||
,"version": "0.0.1" | ||
,"description": "The «PayFort» payment extension for Magento 2." | ||
,"type": "magento2-module" | ||
,"homepage": "https://mage2.pro/c/extensions/payfort" | ||
,"license": "proprietary" | ||
,"authors": [{ | ||
"name": "Dmitry Fedyuk", | ||
"email": "admin@mage2.pro", | ||
"homepage": "https://mage2.pro/users/dmitry_fedyuk", | ||
"role": "Developer" | ||
}] | ||
,"require": {"mage2pro/core": ">=2.10.27"} | ||
,"autoload": {"files": ["registration.php"], "psr-4": {"Dfe\\Iyzico\\": ""}} | ||
,"keywords": [ | ||
"3D Secure" | ||
,"API" | ||
,"Bank card" | ||
,"Credit card" | ||
,"eCommerce" | ||
,"PayFort" | ||
,"Magento" | ||
,"Magento 2" | ||
,"Magento extension" | ||
,"Payment" | ||
,"Payment authorization" | ||
,"Payment integration" | ||
,"Payment gateway" | ||
,"Refund" | ||
,"United Arab Emirates", "Egypt", "Saudi Arabia", "Jordan", "Lebanon", "Qatar" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version='1.0'?> | ||
<config | ||
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' | ||
xsi:noNamespaceSchemaLocation='urn:magento:framework:ObjectManager/etc/config.xsd' | ||
> | ||
</config> |
Oops, something went wrong.