Skip to content

Commit 6ff0425

Browse files
authored
Merge pull request #46 from XShaan/master
Saderat(Sepehr) gateway updated
2 parents 290b85d + 2483d6f commit 6ff0425

File tree

5 files changed

+90
-238
lines changed

5 files changed

+90
-238
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Here are a few short examples of what you can do:
2727

2828
- Mellat Bank Gateway - درگاه بانک ملت لاراول
2929
- Saman Bank Gateway - درگاه بانک سامان لاراول
30-
- Saderat/Mabna Card Bank Gateway - درگاه بانک صادرات / مبناکارت لاراول - به دلیل تغییرات درگاه بانک نیازمند اصلاح است
30+
- Saderat/Sepehr Pay Bank Gateway - درگاه بانک صادرات / سپهر
3131
- Pasargad Bank Gateway - درگاه بانک پاسارگاد لاراول
3232
- Parsian Bank Gateway - درگاه بانک پارسیان لاراول
3333
- Melli/Sadad Bank Gateway (Sadad) - درگاه بانک ملی / سداد لاراول

config/larapay.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,13 @@
7474

7575
/*
7676
|--------------------------------------------------------------------------
77-
| Saderat - Mabna Card Aria gateway configuration
77+
| Saderat - Sepehr Pay gateway configuration
7878
|--------------------------------------------------------------------------
7979
*/
8080
'saderat' => [
81-
'MID' => env('SADERAT_MID', ''),
82-
'TID' => env('SADERAT_TID', ''),
83-
'public_key_path' => storage_path(env('SADERAT_CERT_PATH', 'payment/saderat/public.key')),
84-
'private_key_path' => storage_path(env('SADERAT_CERT_PATH', 'payment/saderat/private.key')),
81+
'terminalId' => env('SADERAT_TERMINAL_ID', ''),
82+
'callbackUrl' => env('SADERAT_CALLBACK_URL', ''),
83+
'description' => env('SADERAT_DESCRIPTION', 'powered-by-Larapay saderat(sepehr)'),
8584
],
8685

8786
/*

database/migrations/create_larapay_transaction_table.php.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class CreateLarapayTransactionTable extends Migration
3434
$table->string('bank_order_id', 20)->nullable(); // gateway order ID
3535

3636
$table->string('gate_name', 20)->nullable();
37-
$table->string('gate_refid', 40)->nullable();
37+
$table->string('gate_refid', 50)->nullable();
3838
$table->string('gate_status')->nullable();
3939

4040
$table->text('description')->nullable();

0 commit comments

Comments
 (0)