https://emmaconnect.fr/paytweak/payment

PaytweakController :: index

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\PaytweakController::index"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"paytweak"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"91a531"

Request Headers

Header Value
accept
"*/*"
content-length
"385"
content-type
"application/json"
host
"emmaconnect.fr"
x-php-ob-level
"1"

Request Content

Pretty

{
    "notice": "PAYMENT",
    "order_id": "XUOBFD1MGRO",
    "index": 1,
    "link_id": "Ko2BF",
    "status": 5,
    "reason": "AUTHORIZED - Transaction successful",
    "date_payment": "23\/11\/2024|12:41:51",
    "transaction_id": "972337202432",
    "amount": 0,
    "currency": "EUR",
    "cardno": "XXXXXXXXXXXXXXXX",
    "brand": "Cartes Bancaires",
    "card_validity": "202509",
    "card_holder": "NC",
    "card_alias": "Ko2BF",
    "IP": "213.155.65.68",
    "freetext": ""
}

Raw

{"notice":"PAYMENT","order_id":"XUOBFD1MGRO","index":1,"link_id":"Ko2BF","status":5,"reason":"AUTHORIZED - Transaction successful","date_payment":"23\/11\/2024|12:41:51","transaction_id":"972337202432","amount":0,"currency":"EUR","cardno":"XXXXXXXXXXXXXXXX","brand":"Cartes Bancaires","card_validity":"202509","card_holder":"NC","card_alias":"Ko2BF","IP":"213.155.65.68","freetext":""}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sat, 23 Nov 2024 11:41:51 GMT"
vary
"Accept"
x-debug-exception
"Call%20to%20a%20member%20function%20getStatus%28%29%20on%20null"
x-debug-exception-file
"%2Fvar%2Fwww%2Femmaconnect.fr%2Fsrc%2FController%2FPaytweakController.php:198"
x-debug-token
"f3f6d5"
x-debug-token-link
"https://emmaconnect.fr/_profiler/3e270c"
x-previous-debug-token
"3e270c"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session 1

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[
  [
    "file" => "/var/www/emmaconnect.fr/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 44
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/emmaconnect.fr/vendor/symfony/security-http/Firewall/AccessListener.php"
    "line" => 87
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/emmaconnect.fr/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 49
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/emmaconnect.fr/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 26
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/emmaconnect.fr/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 73
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/emmaconnect.fr/vendor/symfony/security-http/Firewall.php"
    "line" => 92
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/emmaconnect.fr/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 118
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/var/www/emmaconnect.fr/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/emmaconnect.fr/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/emmaconnect.fr/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/emmaconnect.fr/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/emmaconnect.fr/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/emmaconnect.fr/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/emmaconnect.fr/public/index.php"
    "line" => 25
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
API_KEY_PAYTWEAK
"#118c628195a47aae14d582cd9baa48caf858c9ceccf95b600b80c07518fccd3c#"
API_KEY_PAYTWEAK_FRESSIA
"#2dc03aac4a8d8049e69ba977be6c05e312aa91d0b629a1861abe76a1183479fa#"
API_KEY_PAYTWEAK_SILVER
"#67c808e0ba49b28d0ccdecf6f0c953197858fe8f3dc817cb25d9eedb1b784409#"
API_PAYTWEAK_URL
"https://api.paytweak.cloud/v1/"
API_PAYTWEAK_URL_DEV
"https://api.silver-beaute.paytweak.com/v1/"
API_PAYTWEAK_URL_SILVER
"https://api.silver-beaute.paytweak.com/v1/"
APP_ENV
"dev"
APP_SECRET
"f95f398af69c884a89b4e1d9ffe5f7a6"
DATABASE_URL
"mysql://emmaconnect:FLLYs9HMZKCBmHfS@127.0.0.1:3306/emmaconnect"
GOOGLE_RECAPTCHA_SECRET_KEY
"6LeAeA8jAAAAAAM2iorjDozP6Kx7Pqv97NDvluAq"
GOOGLE_RECAPTCHA_SITE_KEY
"6LeAeA8jAAAAANVv8FtcP0aFVXgkK34Bt71NLkrv"
MAILER_DSN
"mailgun+api://a98569d339249a29db90e1a987d84320-0677517f-85879b86:mg.emmaconnect.fr@default?region=eu"
MAILER_URL
"null://localhost"
MESSENGER_TRANSPORT_DSN
"doctrine://default"
PRIVATE_PAYTWEAK
"90ce82bee3d5376a"
PRIVATE_PAYTWEAK_FRESSIA
"5024dfee54f7b966"
PRIVATE_PAYTWEAK_SILVER
"e79831d0dd7a194d"
REDIS_HOST
"127.0.0.1"
REDIS_PORT
"6379"
WKHTMLTOPDF_PATH
"/usr/local/bin/wkhtmltopdf"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"385"
CONTENT_TYPE
"application/json"
DOCUMENT_ROOT
"/var/www/emmaconnect.fr/public"
DOCUMENT_URI
"/index.php"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/var/www"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_CONTENT_LENGTH
"385"
HTTP_CONTENT_TYPE
"application/json"
HTTP_HOST
"emmaconnect.fr"
PATH_INFO
""
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REMOTE_ADDR
"87.106.127.227"
REMOTE_PORT
"39226"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"https"
REQUEST_TIME
1732362111
REQUEST_TIME_FLOAT
1732362111.4011
REQUEST_URI
"/paytweak/payment"
SCRIPT_FILENAME
"/var/www/emmaconnect.fr/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"188.165.241.88"
SERVER_NAME
"emmaconnect.fr"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/2.0"
SERVER_SOFTWARE
"nginx/1.18.0"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MAILER_URL,MAILER_DSN,WKHTMLTOPDF_PATH,REDIS_HOST,REDIS_PORT,MESSENGER_TRANSPORT_DSN,PRIVATE_PAYTWEAK_SILVER,PRIVATE_PAYTWEAK_FRESSIA,API_KEY_PAYTWEAK_FRESSIA,API_KEY_PAYTWEAK_SILVER,API_PAYTWEAK_URL,API_PAYTWEAK_URL_SILVER,GOOGLE_RECAPTCHA_SITE_KEY,GOOGLE_RECAPTCHA_SECRET_KEY,API_KEY_PAYTWEAK,PRIVATE_PAYTWEAK,API_PAYTWEAK_URL_DEV"
USER
"www-data"

Sub Requests 1

ErrorController (token = 3e270c)

Key Value
_controller
"error_controller"
_stopwatch_token
"e3c0ec"
exception
Error {#1371
  #message: "Call to a member function getStatus() on null"
  #code: 0
  #file: "/var/www/emmaconnect.fr/src/Controller/PaytweakController.php"
  #line: 198
  trace: {
    /var/www/emmaconnect.fr/src/Controller/PaytweakController.php:198 {
      App\Controller\PaytweakController->index(Request $request, EntityManagerInterface $entityManager, BillingRepository $billingRepository, LoggerInterface $logger) …
      › 
      ›     if($billingObj->getStatus() === Billing::STATUS_REGLEE){\t    return new JsonResponse('OK', 200);
    }
    /var/www/emmaconnect.fr/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/emmaconnect.fr/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/emmaconnect.fr/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/emmaconnect.fr/public/index.php:25 {$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#215 …9}