add new package to composer
This commit is contained in:
@@ -51,7 +51,10 @@ class CheckOnlinePayment extends Action
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ($username == '') {
|
if ($username == '') {
|
||||||
return ActionResponse::danger('Ulanyjy ady bn acar sozuni gabat gelmedi');
|
return Action::modal('modal-response', [
|
||||||
|
'title' => 'HALKBANK API',
|
||||||
|
'body' => 'Ulanyjy ady bilen açar sözi gabat gelmedi',
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
$response = Http::asForm()->post('https://mpi.gov.tm/payment/rest/getOrderStatus.do', [
|
$response = Http::asForm()->post('https://mpi.gov.tm/payment/rest/getOrderStatus.do', [
|
||||||
@@ -61,11 +64,10 @@ class CheckOnlinePayment extends Action
|
|||||||
'password' => $password,
|
'password' => $password,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
info($response->body());
|
return Action::modal('modal-response', [
|
||||||
|
'title' => 'HALKBANK API',
|
||||||
return $response['ErrorCode'] == '0'
|
'code' => json_encode($response->json(), JSON_PRETTY_PRINT),
|
||||||
? ActionResponse::message('Tölenen')
|
]);
|
||||||
: ActionResponse::danger('Tölenmedik');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
"laravel/sanctum": "^3.3",
|
"laravel/sanctum": "^3.3",
|
||||||
"laravel/tinker": "^2.8",
|
"laravel/tinker": "^2.8",
|
||||||
"maantje/pulse-php-fpm": "^0.2.1",
|
"maantje/pulse-php-fpm": "^0.2.1",
|
||||||
|
"markwalet/nova-modal-response": "^0.3.0",
|
||||||
"morrislaptop/laravel-pulse-4xx": "^0.0.2",
|
"morrislaptop/laravel-pulse-4xx": "^0.0.2",
|
||||||
"nurmuhammet/nova-custom-html": "@dev",
|
"nurmuhammet/nova-custom-html": "@dev",
|
||||||
"nurmuhammet/nova-inputmask": "^1.0",
|
"nurmuhammet/nova-inputmask": "^1.0",
|
||||||
|
|||||||
51
composer.lock
generated
51
composer.lock
generated
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "92978792f496d9a5a5db5f2ff90ed86c",
|
"content-hash": "7227960bf9b7e89a6dfe54a0125149eb",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "adoy/fastcgi-client",
|
"name": "adoy/fastcgi-client",
|
||||||
@@ -3795,6 +3795,55 @@
|
|||||||
],
|
],
|
||||||
"time": "2024-10-10T12:33:01+00:00"
|
"time": "2024-10-10T12:33:01+00:00"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "markwalet/nova-modal-response",
|
||||||
|
"version": "v0.3.0",
|
||||||
|
"source": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/markwalet/nova-modal-response.git",
|
||||||
|
"reference": "c1810ac193a23b6db1ba2c7ebd655a7ea310302b"
|
||||||
|
},
|
||||||
|
"dist": {
|
||||||
|
"type": "zip",
|
||||||
|
"url": "https://api.github.com/repos/markwalet/nova-modal-response/zipball/c1810ac193a23b6db1ba2c7ebd655a7ea310302b",
|
||||||
|
"reference": "c1810ac193a23b6db1ba2c7ebd655a7ea310302b",
|
||||||
|
"shasum": ""
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"laravel/framework": "^9.0|^10.0|^11.0",
|
||||||
|
"laravel/nova": "^4.0",
|
||||||
|
"php": "^7.4||^8.0"
|
||||||
|
},
|
||||||
|
"type": "library",
|
||||||
|
"extra": {
|
||||||
|
"laravel": {
|
||||||
|
"providers": [
|
||||||
|
"Markwalet\\NovaModalResponse\\AssetServiceProvider"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Markwalet\\NovaModalResponse\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"notification-url": "https://packagist.org/downloads/",
|
||||||
|
"license": [
|
||||||
|
"MIT"
|
||||||
|
],
|
||||||
|
"description": "A Laravel Nova asset for Modal responses on an action.",
|
||||||
|
"keywords": [
|
||||||
|
"action",
|
||||||
|
"laravel",
|
||||||
|
"modal",
|
||||||
|
"nova"
|
||||||
|
],
|
||||||
|
"support": {
|
||||||
|
"issues": "https://github.com/markwalet/nova-modal-response/issues",
|
||||||
|
"source": "https://github.com/markwalet/nova-modal-response/tree/v0.3.0"
|
||||||
|
},
|
||||||
|
"time": "2024-03-13T09:12:55+00:00"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "maxmind-db/reader",
|
"name": "maxmind-db/reader",
|
||||||
"version": "v1.12.0",
|
"version": "v1.12.0",
|
||||||
|
|||||||
Reference in New Issue
Block a user