lets check online payment

This commit is contained in:
2024-11-23 11:01:17 +05:00
parent 61b6634fce
commit 134fb8507e
5 changed files with 131 additions and 62 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class OnlinePaymentStoreRequest extends FormRequest
{
/**
* Get the validation rules that apply to the request.
*
* @return array<string, \Illuminate\Contracts\Validation\ValidationRule|array<mixed>|string>
*/
public function rules(): array
{
return [
'orderId' => ['required', 'string', 'max:50', 'exists:online_payment_histories,orderId'],
];
}
}