From 38b8c24b8f45a9831d82cb614025822ecece9e19 Mon Sep 17 00:00:00 2001 From: gerchek Date: Fri, 18 Mar 2022 22:41:44 +0500 Subject: [PATCH] update payment class --- plugins/atash/contact/classes/Payment.php | 2 +- plugins/vdomah/jwtauth/routes.php | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/plugins/atash/contact/classes/Payment.php b/plugins/atash/contact/classes/Payment.php index d07d88a..ba6d86b 100644 --- a/plugins/atash/contact/classes/Payment.php +++ b/plugins/atash/contact/classes/Payment.php @@ -58,7 +58,7 @@ class Payment $http->timeout(3000); $data = [ 'orderNumber' => $id, - 'amount' => 0.01 * 100, + 'amount' => 1,//1tenne 'currency' => 934, 'description' => 'Täze plastik Kart almak üçin döwlet pajy.', 'userName' => Settings::get('bank_api_user'), diff --git a/plugins/vdomah/jwtauth/routes.php b/plugins/vdomah/jwtauth/routes.php index d01b0ca..b1e4390 100644 --- a/plugins/vdomah/jwtauth/routes.php +++ b/plugins/vdomah/jwtauth/routes.php @@ -271,7 +271,7 @@ Route::group(['prefix' => 'api'], function() { $message = $Contact->message =$data['message']; $date = $Contact->date =$data['date']; - dd($Contact); + // dd($Contact); $Contact->save(); @@ -281,12 +281,12 @@ Route::group(['prefix' => 'api'], function() { 'messsage' => $message ]; - Mail::send('vdomah.jwtauth::mail.message', $vars, function($message) { + // Mail::send('vdomah.jwtauth::mail.message', $vars, function($message) { - $message->to('gerchekgerchek1@gmail.com', 'Admin Person'); - $message->subject('This is a reminder'); + // $message->to('gerchekgerchek1@gmail.com', 'Admin Person'); + // $message->subject('This is a reminder'); - }); + // }); return Response::json(compact('data'));