Skip to content

Commit b2e80ad

Browse files
authored
Merge pull request #4 from waadmawlood/12.x
Update Laravel version and minimum transaction amount
2 parents 0696415 + 6281c1f commit b2e80ad

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "waad/zaincash",
3-
"description": "ZainCash payment Integration Gateway package API laravel",
3+
"description": "ZainCash payment Integration Gateway package API for Laravel",
44
"type": "library",
55
"license": "MIT",
66
"keywords": [
@@ -27,7 +27,7 @@
2727
],
2828
"require": {
2929
"php": "^8.2",
30-
"laravel/framework": "^11.0"
30+
"laravel/framework": "^12.0"
3131
},
3232
"autoload": {
3333
"psr-4": {

config/zaincash.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
| Set the minimum amount for a valid transaction in Iraqi Dinar (IQD).
9494
| Transactions with amounts less than this value will be considered invalid.
9595
*/
96-
'min_amount' => env('ZAINCASH_MIN_AMOUNT', 1000),
96+
'min_amount' => env('ZAINCASH_MIN_AMOUNT', 250),
9797

9898
/*
9999
|--------------------------------------------------------------------------

readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ This is a Laravel package to integrate ZainCash payment gateway API. For local f
2121
| 9.x | 9.x | 8.0+ |
2222
| 10.x | 10.x | 8.1+ |
2323
| 11.x | 11.x | 8.2+ |
24-
24+
| 12.x | 12.x | 8.2+ |
2525

2626

2727
## 📌 Installation
@@ -68,7 +68,7 @@ update config zaincash in `config/zaincash.php` or from `.env` file
6868
| language | string | ar | Set the language for the ZainCash payment page. Use 'ar' for Arabic or 'en' for English. |
6969
| prefix_order_id | string | wa3d_ | Prefix for the order ID. |
7070
| is_redirect | bool | false | Specify whether or not to redirect to the ZainCash payment page. If false, ZainCash returns a Transaction ID to the backend. If true, redirection after the request. |
71-
| min_amount | int | 1000 | Set the minimum amount for a valid transaction in Iraqi Dinar (IQD). Transactions with amounts less than this value will be considered invalid. |
71+
| min_amount | int | 250 | Set the minimum amount for a valid transaction in Iraqi Dinar (IQD). Transactions with amounts less than this value will be considered invalid. |
7272
| timeout | int | 10 | Set the timeout for the request in seconds. |
7373
| verify_ssl | bool | true | Set the verify SSL for the request to ZainCash's API. |
7474

@@ -84,7 +84,7 @@ ZAINCASH_TEST=true # default true
8484
ZAINCASH_PREFIX_ORDER_ID=wa3d_ # default wa3d_
8585
ZAINCASH_LANGUAGE=ar # optional default ar
8686
ZAINCASH_IS_REDIRECT=false # optional default false
87-
ZAINCASH_MIN_AMOUNT=1000 # optional default 1000
87+
ZAINCASH_MIN_AMOUNT=250 # optional default 250
8888
ZAINCASH_TEST_URL=https://test.zaincash.iq/ # optional
8989
ZAINCASH_LIVE_URL=https://api.zaincash.iq/ # optional
9090
ZAINCASH_TIMEOUT=10 # optional

0 commit comments

Comments
 (0)