wip
This commit is contained in:
@@ -62,15 +62,6 @@ class HalkbankOnlinePaymentRepository implements PaymentProviderContract
|
|||||||
],
|
],
|
||||||
]);
|
]);
|
||||||
|
|
||||||
Log::channel('single')
|
|
||||||
->error('Payment error', [
|
|
||||||
'response' => [
|
|
||||||
'title' => 'REGISTER',
|
|
||||||
'error' => $e->getMessage(),
|
|
||||||
'file_line' => $e->getFile().':'.$e->getLine(),
|
|
||||||
],
|
|
||||||
]);
|
|
||||||
|
|
||||||
return new Response(new GuzzleResponse(
|
return new Response(new GuzzleResponse(
|
||||||
503,
|
503,
|
||||||
['Content-Type' => 'application/json'],
|
['Content-Type' => 'application/json'],
|
||||||
|
|||||||
@@ -154,6 +154,11 @@ class OnlinePaymentRepository
|
|||||||
{
|
{
|
||||||
$this->response = $this->provider->sendRequest();
|
$this->response = $this->provider->sendRequest();
|
||||||
|
|
||||||
|
info([
|
||||||
|
'response' => $this->response,
|
||||||
|
'body' => $this->response->body(),
|
||||||
|
]);
|
||||||
|
|
||||||
$this->failed = $this->response->failed();
|
$this->failed = $this->response->failed();
|
||||||
$this->successful = $this->response->successful();
|
$this->successful = $this->response->successful();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user