@@ -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 |
@@ -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 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Goodoneuz\PayUz\Models; |
| 4 | 4 | |
| 5 | -use Illuminate\Database\Eloquent\Model; |
|
| 6 | 5 | use Goodoneuz\PayUz\Http\Classes\DataFormat; |
| 6 | +use Illuminate\Database\Eloquent\Model; |
|
| 7 | 7 | use Illuminate\Database\Eloquent\SoftDeletes; |
| 8 | 8 | |
| 9 | 9 | class Transaction extends Model |
@@ -2,14 +2,13 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Goodoneuz\PayUz; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Facades\View; |
|
| 6 | -use Goodoneuz\PayUz\Models\Transaction; |
|
| 7 | -use Goodoneuz\PayUz\Models\PaymentSystem; |
|
| 8 | -use Goodoneuz\PayUz\Http\Classes\Payme\Payme; |
|
| 9 | 5 | use Goodoneuz\PayUz\Http\Classes\Click\Click; |
| 6 | +use Goodoneuz\PayUz\Http\Classes\Payme\Payme; |
|
| 7 | +use Goodoneuz\PayUz\Http\Classes\PaymentException; |
|
| 10 | 8 | use Goodoneuz\PayUz\Http\Classes\Paynet\Paynet; |
| 11 | 9 | use Goodoneuz\PayUz\Http\Classes\Stripe\Stripe; |
| 12 | -use Goodoneuz\PayUz\Http\Classes\PaymentException; |
|
| 10 | +use Goodoneuz\PayUz\Models\PaymentSystem; |
|
| 11 | +use Goodoneuz\PayUz\Models\Transaction; |
|
| 13 | 12 | |
| 14 | 13 | class PayUz |
| 15 | 14 | { |
@@ -9,9 +9,9 @@ |
||
| 9 | 9 | namespace Goodoneuz\PayUz\Services; |
| 10 | 10 | |
| 11 | 11 | |
| 12 | -use Illuminate\Support\Facades\DB; |
|
| 13 | 12 | use Goodoneuz\PayUz\Models\PaymentSystem; |
| 14 | 13 | use Goodoneuz\PayUz\Models\PaymentSystemParam; |
| 14 | +use Illuminate\Support\Facades\DB; |
|
| 15 | 15 | |
| 16 | 16 | class PaymentSystemService |
| 17 | 17 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Goodoneuz\PayUz\Http\Classes\Click; |
| 4 | 4 | |
| 5 | 5 | use Goodoneuz\PayUz\Models\PaymentSystem; |
| 6 | -use Goodoneuz\PayUz\Http\Classes\PaymentException; |
|
| 7 | 6 | use Goodoneuz\PayUz\Services\PaymentSystemService; |
| 8 | 7 | |
| 9 | 8 | class Merchant{ |
@@ -2,9 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Goodoneuz\PayUz\Http\Classes\Click; |
| 4 | 4 | |
| 5 | -use Goodoneuz\PayUz\Models\PaymentSystem; |
|
| 6 | -use Goodoneuz\PayUz\Services\PaymentService; |
|
| 7 | 5 | use Goodoneuz\PayUz\Http\Classes\PaymentException; |
| 6 | +use Goodoneuz\PayUz\Models\PaymentSystem; |
|
| 8 | 7 | use Goodoneuz\PayUz\Services\PaymentSystemService; |
| 9 | 8 | |
| 10 | 9 | class Response{ |
@@ -6,9 +6,9 @@ |
||
| 6 | 6 | use App\Transaction; |
| 7 | 7 | use Goodoneuz\PayUz\Classes\DataFormat; |
| 8 | 8 | use Goodoneuz\PayUz\Classes\Oson\Merchant; |
| 9 | +use Goodoneuz\PayUz\Classes\Oson\OsonException; |
|
| 9 | 10 | use Goodoneuz\PayUz\Classes\Paycom\Request; |
| 10 | 11 | use Goodoneuz\PayUz\Http\Classes\BaseGateway; |
| 11 | -use Goodoneuz\PayUz\Classes\Oson\OsonException; |
|
| 12 | 12 | |
| 13 | 13 | class Oson extends BaseGateway |
| 14 | 14 | { |