@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Goodoneuz\PayUz\Database\Seeds; |
| 4 | 4 | |
| 5 | -use Illuminate\Database\Seeder; |
|
| 6 | -use Illuminate\Support\Facades\Schema; |
|
| 7 | 5 | use Goodoneuz\PayUz\Models\PaymentSystem; |
| 8 | 6 | use Goodoneuz\PayUz\Models\PaymentSystemParam; |
| 7 | +use Illuminate\Database\Seeder; |
|
| 8 | +use Illuminate\Support\Facades\Schema; |
|
| 9 | 9 | |
| 10 | 10 | class PayUzSeeder extends Seeder |
| 11 | 11 | { |
@@ -1,12 +1,11 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Goodoneuz\PayUz\Http\Classes\Click; |
| 3 | 3 | |
| 4 | -use Goodoneuz\PayUz\Models\Transaction; |
|
| 4 | +use Goodoneuz\PayUz\Http\Classes\BaseGateway; |
|
| 5 | +use Goodoneuz\PayUz\Http\Classes\DataFormat; |
|
| 5 | 6 | use Goodoneuz\PayUz\Models\PaymentSystem; |
| 7 | +use Goodoneuz\PayUz\Models\Transaction; |
|
| 6 | 8 | use Goodoneuz\PayUz\Services\PaymentService; |
| 7 | -use Goodoneuz\PayUz\Http\Classes\DataFormat; |
|
| 8 | -use Goodoneuz\PayUz\Http\Classes\BaseGateway; |
|
| 9 | -use Goodoneuz\PayUz\Http\Classes\PaymentException; |
|
| 10 | 9 | use Goodoneuz\PayUz\Services\PaymentSystemService; |
| 11 | 10 | |
| 12 | 11 | class Click extends BaseGateway |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Goodoneuz\PayUz\Http\Classes\Click; |
| 4 | 4 | |
| 5 | -use Goodoneuz\PayUz\Http\Classes\PaymentException; |
|
| 6 | 5 | use Goodoneuz\PayUz\Models\PaymentSystem; |
| 7 | 6 | use Goodoneuz\PayUz\Services\PaymentSystemService; |
| 8 | 7 | |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Goodoneuz\PayUz\Http\Classes\PaymentException; |
| 6 | 6 | use Goodoneuz\PayUz\Models\PaymentSystem; |
| 7 | -use Goodoneuz\PayUz\Services\PaymentService; |
|
| 8 | 7 | use Goodoneuz\PayUz\Services\PaymentSystemService; |
| 9 | 8 | |
| 10 | 9 | class Response{ |
@@ -2,14 +2,14 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace App\Http\Controllers; |
| 4 | 4 | |
| 5 | -use Log; |
|
| 6 | 5 | use App\Order; |
| 7 | 6 | use App\Transaction; |
| 8 | -use Goodoneuz\PayUz\Http\Classes\BaseGateway; |
|
| 9 | -use Goodoneuz\PayUz\Controllers\Paycom\Format; |
|
| 10 | 7 | use Goodoneuz\PayUz\Controllers\Oson\Merchant; |
| 11 | -use Goodoneuz\PayUz\Controllers\Paycom\Request; |
|
| 12 | 8 | use Goodoneuz\PayUz\Controllers\Oson\OsonException; |
| 9 | +use Goodoneuz\PayUz\Controllers\Paycom\Format; |
|
| 10 | +use Goodoneuz\PayUz\Controllers\Paycom\Request; |
|
| 11 | +use Goodoneuz\PayUz\Http\Classes\BaseGateway; |
|
| 12 | +use Log; |
|
| 13 | 13 | |
| 14 | 14 | class Oson extends BaseGateway |
| 15 | 15 | { |
@@ -1,14 +1,12 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Goodoneuz\PayUz\Http\Classes\Payme; |
| 3 | 3 | |
| 4 | -use App; |
|
| 5 | -use Goodoneuz\PayUz\Models\Transaction; |
|
| 6 | -use Goodoneuz\PayUz\Models\PaymentSystem; |
|
| 7 | -use Goodoneuz\PayUz\Services\PaymentService; |
|
| 8 | 4 | use Goodoneuz\PayUz\Http\Classes\DataFormat; |
| 9 | -use Goodoneuz\PayUz\Http\Classes\BaseGateway; |
|
| 10 | -use Goodoneuz\PayUz\Models\PaymentSystemParam; |
|
| 11 | 5 | use Goodoneuz\PayUz\Http\Classes\PaymentException; |
| 6 | +use Goodoneuz\PayUz\Models\PaymentSystem; |
|
| 7 | +use Goodoneuz\PayUz\Models\PaymentSystemParam; |
|
| 8 | +use Goodoneuz\PayUz\Models\Transaction; |
|
| 9 | +use Goodoneuz\PayUz\Services\PaymentService; |
|
| 12 | 10 | use Goodoneuz\PayUz\Services\PaymentSystemService; |
| 13 | 11 | |
| 14 | 12 | class Payme { |
@@ -1,18 +1,14 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace Goodoneuz\PayUz\Http\Classes\Stripe; |
| 3 | 3 | |
| 4 | -use App; |
|
| 5 | -use Session; |
|
| 6 | -use Stripe as StripeGateway; |
|
| 7 | -use Illuminate\Http\Request; |
|
| 8 | -use Goodoneuz\PayUz\Models\Transaction; |
|
| 9 | -use Goodoneuz\PayUz\Models\PaymentSystem; |
|
| 4 | +use Goodoneuz\PayUz\Http\Classes\BaseGateway; |
|
| 10 | 5 | use Goodoneuz\PayUz\Http\Classes\DataFormat; |
| 6 | +use Goodoneuz\PayUz\Models\PaymentSystem; |
|
| 7 | +use Goodoneuz\PayUz\Models\Transaction; |
|
| 11 | 8 | use Goodoneuz\PayUz\Services\PaymentService; |
| 12 | -use Goodoneuz\PayUz\Http\Classes\BaseGateway; |
|
| 13 | -use Goodoneuz\PayUz\Models\PaymentSystemParam; |
|
| 14 | 9 | use Goodoneuz\PayUz\Services\PaymentSystemService; |
| 15 | -use Goodoneuz\PayUz\Http\Classes\PaymentException; |
|
| 10 | +use Session; |
|
| 11 | +use Stripe as StripeGateway; |
|
| 16 | 12 | |
| 17 | 13 | class Stripe extends BaseGateway |
| 18 | 14 | { |
@@ -2,13 +2,12 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace App\Http\Controllers; |
| 4 | 4 | |
| 5 | -use App\Order; |
|
| 6 | -use App\Transaction; |
|
| 7 | 5 | use App\Http\Controllers\Paycom\Format; |
| 8 | -use App\Http\Controllers\Paycom\Request; |
|
| 9 | 6 | use App\Http\Controllers\Woywo\Merchant; |
| 10 | -use Goodoneuz\PayUz\Http\Classes\BaseGateway; |
|
| 11 | 7 | use App\Http\Controllers\Woywo\WoywoException; |
| 8 | +use App\Order; |
|
| 9 | +use App\Transaction; |
|
| 10 | +use Goodoneuz\PayUz\Http\Classes\BaseGateway; |
|
| 12 | 11 | |
| 13 | 12 | |
| 14 | 13 | class WoywoController extends BaseGateway |
@@ -9,8 +9,8 @@ |
||
| 9 | 9 | namespace Goodoneuz\PayUz\Http\Controllers; |
| 10 | 10 | |
| 11 | 11 | |
| 12 | -use Illuminate\Http\Request; |
|
| 13 | 12 | use App\Http\Controllers\Controller; |
| 13 | +use Illuminate\Http\Request; |
|
| 14 | 14 | |
| 15 | 15 | class ApiController extends Controller |
| 16 | 16 | { |