diff --git a/README.md b/README.md index b1c7864..a42fe95 100644 --- a/README.md +++ b/README.md @@ -35,18 +35,18 @@ STEP 2 : Add `provider` and `facade` in config/app.php 'providers' => [ ... - Larabookir\Gateway\GatewayServiceProvider::class, // <-- add this line at the end of provider array + MahdiIDea\Gateway\GatewayServiceProvider::class, // <-- add this line at the end of provider array ], 'aliases' => [ ... - 'Gateway' => Larabookir\Gateway\Gateway::class, // <-- add this line at the end of aliases array + 'Gateway' => MahdiIDea\Gateway\Gateway::class, // <-- add this line at the end of aliases array ] Step 3: - php artisan vendor:publish --provider=Larabookir\Gateway\GatewayServiceProvider + php artisan vendor:publish --provider=MahdiIDea\Gateway\GatewayServiceProvider Step 4: @@ -105,7 +105,7 @@ and in your callback : // تراکنش با موفقیت سمت بانک تایید گردید // در این مرحله عملیات خرید کاربر را تکمیل میکنیم - } catch (\Larabookir\Gateway\Exceptions\RetryException $e) { + } catch (\MahdiIDea\Gateway\Exceptions\RetryException $e) { // تراکنش قبلا سمت بانک تاییده شده است و // کاربر احتمالا صفحه را مجددا رفرش کرده است diff --git a/migrations/2016_05_02_193213_create_gateway_transactions_table.php b/migrations/2016_05_02_193213_create_gateway_transactions_table.php index 1646456..4f1be27 100644 --- a/migrations/2016_05_02_193213_create_gateway_transactions_table.php +++ b/migrations/2016_05_02_193213_create_gateway_transactions_table.php @@ -2,9 +2,9 @@ use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; -use Larabookir\Gateway\PortAbstract; -use Larabookir\Gateway\GatewayResolver; -use Larabookir\Gateway\Enum; +use MahdiIDea\Gateway\PortAbstract; +use MahdiIDea\Gateway\GatewayResolver; +use MahdiIDea\Gateway\Enum; class CreateGatewayTransactionsTable extends Migration { diff --git a/src/Asanpardakht/Asanpardakht.php b/src/Asanpardakht/Asanpardakht.php index 52c5a16..80af0c4 100644 --- a/src/Asanpardakht/Asanpardakht.php +++ b/src/Asanpardakht/Asanpardakht.php @@ -1,11 +1,11 @@ app); diff --git a/src/GatewayServiceProviderLaravel4.php b/src/GatewayServiceProviderLaravel4.php index 7194ab9..21bb2b1 100644 --- a/src/GatewayServiceProviderLaravel4.php +++ b/src/GatewayServiceProviderLaravel4.php @@ -1,6 +1,6 @@ publishes([ $config => config_path('gateway.php'), ], 'config'); - // php artisan vendor:publish --provider=Larabookir\Gateway\GatewayServiceProvider --tag=migrations + // php artisan vendor:publish --provider=MahdiIDea\Gateway\GatewayServiceProvider --tag=migrations $this->publishes([ $migrations => base_path('database/migrations') ], 'migrations'); @@ -47,7 +47,7 @@ public function boot() $this->loadViewsFrom($views, 'gateway'); - // php artisan vendor:publish --provider=Larabookir\Gateway\GatewayServiceProvider --tag=views + // php artisan vendor:publish --provider=MahdiIDea\Gateway\GatewayServiceProvider --tag=views $this->publishes([ $views => base_path('resources/views/vendor/gateway'), ], 'views'); diff --git a/src/JahanPay/JahanPay.php b/src/JahanPay/JahanPay.php index 0f64146..b536910 100644 --- a/src/JahanPay/JahanPay.php +++ b/src/JahanPay/JahanPay.php @@ -1,12 +1,12 @@