* @return \Cake\Http\Response|null Redirects on successful add, renders view otherwise. |
|
*/ |
|
public function requestInvoice() |
|
{ |
|
$this->request->allowMethod(['ajax', 'post']); |
|
|
|
$invoice = new RequestInvoiceForm(); |
|
|
|
if ($this->request->is('post')) { |
[ (int) 0 => 'ajax', (int) 1 => 'post' ]
} |
|
/* @var callable $callable */ |
|
$callable = [$this, $request->getParam('action')]; |
|
|
|
return $callable(...array_values($request->getParam('pass'))); |
|
} |
|
|
|
/** |
|
* Merge components, helpers vars from |
'a543a839-c54d-49ff-aeeb-05c53c7b9775'
if ($result instanceof Response) { |
|
return $result; |
|
} |
|
|
|
$response = $controller->invokeAction(); |
|
if ($response !== null && !($response instanceof Response)) { |
|
throw new LogicException('Controller actions can only return Cake\Http\Response or null.'); |
|
} |
|
|
No arguments
} else { |
|
$controller = $this->factory->create($request, $response); |
|
} |
|
|
|
$response = $this->_invoke($controller); |
|
if ($request->getParam('return')) { |
|
return $response; |
|
} |
|
|
object(App\Controller\InvoicesController) { helpers => [] request => object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ [maximum depth reached] ] [protected] data => [[maximum depth reached]] [protected] query => [[maximum depth reached]] [protected] cookies => [[maximum depth reached]] [protected] _environment => [ [maximum depth reached] ] [protected] url => 'invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] base => '' [protected] webroot => '/' [protected] here => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] _input => null [protected] _detectors => [ [maximum depth reached] ] [protected] _detectorCache => [ [maximum depth reached] ] [protected] stream => object(Zend\Diactoros\PhpInputStream) {} [protected] uri => object(Zend\Diactoros\Uri) {} [protected] session => object(Cake\Http\Session) {} [protected] attributes => [[maximum depth reached]] [protected] emulatedAttributes => [ [maximum depth reached] ] [protected] uploadedFiles => [[maximum depth reached]] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ [maximum depth reached] ] } response => object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ [maximum depth reached] ], 'file' => null, 'fileRange' => [[maximum depth reached]], 'cookies' => object(Cake\Http\Cookie\CookieCollection) {}, 'cacheDirectives' => [[maximum depth reached]], 'body' => '' } paginate => [] components => [] View => null passedArgs => [ (int) 0 => 'a543a839-c54d-49ff-aeeb-05c53c7b9775' ] modelClass => 'Invoices' viewClass => null viewVars => [] RequestHandler => object(Cake\Controller\Component\RequestHandlerComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [ [maximum depth reached] ], '_config' => [ [maximum depth reached] ] } Flash => object(Cake\Controller\Component\FlashComponent) { 'components' => [[maximum depth reached]], 'implementedEvents' => [[maximum depth reached]], '_config' => [ [maximum depth reached] ] } [protected] name => 'Invoices' [protected] _responseClass => 'Cake\Http\Response' [protected] autoRender => true [protected] _components => object(Cake\Controller\ComponentRegistry) { '_Controller' => object(App\Controller\InvoicesController) {}, '_loaded' => [ [maximum depth reached] ], '_eventManager' => object(Cake\Event\EventManager) {}, '_eventClass' => 'Cake\Event\Event' } [protected] _validViewOptions => [ (int) 0 => 'passedArgs' ] [protected] plugin => null [protected] _eventManager => object(Cake\Event\EventManager) { '_listeners' => [ [maximum depth reached] ], '_isGlobal' => false, '_trackEvents' => false, '_generalManager' => '(object) EventManager', '_dispatchedEvents' => null } [protected] _eventClass => 'Cake\Event\Event' [protected] _tableLocator => object(Cake\ORM\Locator\TableLocator) { [protected] _config => [[maximum depth reached]] [protected] _instances => [ [maximum depth reached] ] [protected] _fallbacked => [[maximum depth reached]] [protected] _options => [ [maximum depth reached] ] } [protected] _modelFactories => [ 'Table' => [ (int) 0 => object(Cake\ORM\Locator\TableLocator) {}, (int) 1 => 'get' ] ] [protected] _modelType => 'Table' [protected] _viewBuilder => null }
* @return \Psr\Http\Message\ResponseInterface |
|
*/ |
|
public function __invoke(ServerRequestInterface $request, ResponseInterface $response, $next) |
|
{ |
|
return $this->getDispatcher()->dispatch($request, $response); |
|
} |
|
|
|
/** |
|
* Get the ActionDispatcher. |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Invoices', 'action' => 'requestInvoice', 'pass' => [ (int) 0 => 'a543a839-c54d-49ff-aeeb-05c53c7b9775' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, '_csrfToken' => 'ed26f102306e6e1fe5685673257db8f9e0a965e8a255ffb309776fcf18418cd65924e5e581948fbcb35e3ea5cbd28ec045f3c8dae8dd6e5aa83a04624611e764' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_S_DN_C' => 'MX', 'SSL_SERVER_S_DN_ST' => 'Jalisco', 'SSL_SERVER_S_DN_L' => 'Guadalajara', 'SSL_SERVER_S_DN_O' => 'Universidad de Guadalajara', 'SSL_SERVER_S_DN_CN' => '*.udg.mx', 'SSL_SERVER_I_DN_C' => 'US', 'SSL_SERVER_I_DN_O' => 'DigiCert Inc', 'SSL_SERVER_I_DN_CN' => 'DigiCert Global G2 TLS RSA SHA256 2020 CA1', 'SSL_SERVER_SAN_DNS_0' => '*.udg.mx', 'SSL_SERVER_SAN_DNS_1' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_SAN_DNS_2' => 'udg.mx', 'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.18', 'SSL_VERSION_LIBRARY' => 'OpenSSL/1.0.2g', 'SSL_PROTOCOL' => 'TLSv1.2', 'SSL_SECURE_RENEG' => 'true', 'SSL_COMPRESS_METHOD' => 'NULL', 'SSL_CIPHER' => 'ECDHE-RSA-AES256-GCM-SHA384', 'SSL_CIPHER_EXPORT' => 'false', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SSL_CLIENT_VERIFY' => 'NONE', 'SSL_SERVER_M_VERSION' => '3', 'SSL_SERVER_M_SERIAL' => '0EC28A4777B51495EBCD8643A54E2B06', 'SSL_SERVER_V_START' => 'Aug 23 00:00:00 2023 GMT', 'SSL_SERVER_V_END' => 'Aug 16 23:59:59 2024 GMT', 'SSL_SERVER_S_DN' => 'CN=*.udg.mx,O=Universidad de Guadalajara,L=Guadalajara,ST=Jalisco,C=MX', 'SSL_SERVER_I_DN' => 'CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US', 'SSL_SERVER_A_KEY' => 'rsaEncryption', 'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption', 'SSL_SESSION_RESUMED' => 'Initial', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'donativo-fundacion.udg.mx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.18 (Ubuntu) Server at donativo-fundacion.udg.mx Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)', 'SERVER_NAME' => 'donativo-fundacion.udg.mx', 'SERVER_ADDR' => '148.202.34.81', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.172.223.130', 'DOCUMENT_ROOT' => '/var/www/fundacion', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/fundacion', 'SERVER_ADMIN' => 'fundacion@redudg.udg.mx', 'SCRIPT_FILENAME' => '/var/www/fundacion/webroot/index.php', 'REMOTE_PORT' => '41880', 'REDIRECT_URL' => '/webroot/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711691218.259, 'REQUEST_TIME' => (int) 1711691218, 'APP_NAME' => 'PortalRecaudacion', 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'es_MX', 'APP_DEFAULT_TIMEZONE' => 'America/Mexico_City', 'SECURITY_SALT' => '5c1e922840a702d2b551b8d46dd5666dbc6564290d62ef113d109e354756abb7', 'APP_URL' => 'https://fundacion.udg.mx/', 'EMAIL_TRANSPORT_DEFAULT_URL' => 'smtp://148.202.3.50', 'EMAIL_DOMAIN' => 'correo.udg.mx', 'EMAIL_DELIVERY_ADDRESS' => 'NoReplay.Fundacion@redudg.udg.mx', 'EMAIL_DELIVERY_FROM_NAME' => 'Fundación UdeG', 'WS_URL' => 'wss://fundacion.udg.mx/wss2/', 'WS_PORT' => '8081', 'DATABASE_URL' => 'mysql://fundacion:Fund4c10n.*2018@127.0.0.1/fundacion?encoding=utf8&cacheMetadata=true"eIdentifiers=false&persistent=false', 'PAYPAL_ENDPOINT_URL' => 'https://www.paypal.com/cgi-bin/webscr', 'PAYPAL_BUSINESS_EMAIL' => 'fundacion@redudg.udg.mx', 'PAYPAL_IPN_VALIDATOR_URL' => 'https://ipnpb.paypal.com/cgi-bin/webscr', 'WEBPAY_DATA0' => '9265654992', 'WEBPAY_ID_COMPANY' => 'VQ8A', 'WEBPAY_ID_BRANCH' => '0006', 'WEBPAY_USER' => 'VQ8ASIUS4', 'WEBPAY_PASSWORD' => 'QRPM955KDC', 'WEBPAY_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'WEBPAY_ENDPOINT_URL' => 'https://bc.mitec.com.mx/p/gen', 'CAITOKEN_DATA0' => '9265654992', 'CAITOKEN_ID_COMPANY' => 'VQ8A', 'CAITOKEN_ID_BRANCH' => '0006', 'CAITOKEN_COUNTRY' => 'MEX', 'CAITOKEN_USER' => 'VQ8ASIUS4', 'CAITOKEN_PASSWORD' => 'QRPM955KDC', 'CAITOKEN_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'CAITOKEN_URL' => 'https://vip.e-pago.com.mx/pgs/CargoAutTokenXml', 'CAITOKEN_MERCHANT' => '248955', 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] base => '' [protected] webroot => '/' [protected] here => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'donativo-fundacion.udg.mx' [private] port => null [private] path => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '0' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Invoices', 'action' => 'requestInvoice', 'pass' => [ (int) 0 => 'a543a839-c54d-49ff-aeeb-05c53c7b9775' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, '_csrfToken' => 'ed26f102306e6e1fe5685673257db8f9e0a965e8a255ffb309776fcf18418cd65924e5e581948fbcb35e3ea5cbd28ec045f3c8dae8dd6e5aa83a04624611e764' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_S_DN_C' => 'MX', 'SSL_SERVER_S_DN_ST' => 'Jalisco', 'SSL_SERVER_S_DN_L' => 'Guadalajara', 'SSL_SERVER_S_DN_O' => 'Universidad de Guadalajara', 'SSL_SERVER_S_DN_CN' => '*.udg.mx', 'SSL_SERVER_I_DN_C' => 'US', 'SSL_SERVER_I_DN_O' => 'DigiCert Inc', 'SSL_SERVER_I_DN_CN' => 'DigiCert Global G2 TLS RSA SHA256 2020 CA1', 'SSL_SERVER_SAN_DNS_0' => '*.udg.mx', 'SSL_SERVER_SAN_DNS_1' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_SAN_DNS_2' => 'udg.mx', 'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.18', 'SSL_VERSION_LIBRARY' => 'OpenSSL/1.0.2g', 'SSL_PROTOCOL' => 'TLSv1.2', 'SSL_SECURE_RENEG' => 'true', 'SSL_COMPRESS_METHOD' => 'NULL', 'SSL_CIPHER' => 'ECDHE-RSA-AES256-GCM-SHA384', 'SSL_CIPHER_EXPORT' => 'false', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SSL_CLIENT_VERIFY' => 'NONE', 'SSL_SERVER_M_VERSION' => '3', 'SSL_SERVER_M_SERIAL' => '0EC28A4777B51495EBCD8643A54E2B06', 'SSL_SERVER_V_START' => 'Aug 23 00:00:00 2023 GMT', 'SSL_SERVER_V_END' => 'Aug 16 23:59:59 2024 GMT', 'SSL_SERVER_S_DN' => 'CN=*.udg.mx,O=Universidad de Guadalajara,L=Guadalajara,ST=Jalisco,C=MX', 'SSL_SERVER_I_DN' => 'CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US', 'SSL_SERVER_A_KEY' => 'rsaEncryption', 'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption', 'SSL_SESSION_RESUMED' => 'Initial', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'donativo-fundacion.udg.mx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.18 (Ubuntu) Server at donativo-fundacion.udg.mx Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)', 'SERVER_NAME' => 'donativo-fundacion.udg.mx', 'SERVER_ADDR' => '148.202.34.81', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.172.223.130', 'DOCUMENT_ROOT' => '/var/www/fundacion', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/fundacion', 'SERVER_ADMIN' => 'fundacion@redudg.udg.mx', 'SCRIPT_FILENAME' => '/var/www/fundacion/webroot/index.php', 'REMOTE_PORT' => '41880', 'REDIRECT_URL' => '/webroot/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711691218.259, 'REQUEST_TIME' => (int) 1711691218, 'APP_NAME' => 'PortalRecaudacion', 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'es_MX', 'APP_DEFAULT_TIMEZONE' => 'America/Mexico_City', 'SECURITY_SALT' => '5c1e922840a702d2b551b8d46dd5666dbc6564290d62ef113d109e354756abb7', 'APP_URL' => 'https://fundacion.udg.mx/', 'EMAIL_TRANSPORT_DEFAULT_URL' => 'smtp://148.202.3.50', 'EMAIL_DOMAIN' => 'correo.udg.mx', 'EMAIL_DELIVERY_ADDRESS' => 'NoReplay.Fundacion@redudg.udg.mx', 'EMAIL_DELIVERY_FROM_NAME' => 'Fundación UdeG', 'WS_URL' => 'wss://fundacion.udg.mx/wss2/', 'WS_PORT' => '8081', 'DATABASE_URL' => 'mysql://fundacion:Fund4c10n.*2018@127.0.0.1/fundacion?encoding=utf8&cacheMetadata=true"eIdentifiers=false&persistent=false', 'PAYPAL_ENDPOINT_URL' => 'https://www.paypal.com/cgi-bin/webscr', 'PAYPAL_BUSINESS_EMAIL' => 'fundacion@redudg.udg.mx', 'PAYPAL_IPN_VALIDATOR_URL' => 'https://ipnpb.paypal.com/cgi-bin/webscr', 'WEBPAY_DATA0' => '9265654992', 'WEBPAY_ID_COMPANY' => 'VQ8A', 'WEBPAY_ID_BRANCH' => '0006', 'WEBPAY_USER' => 'VQ8ASIUS4', 'WEBPAY_PASSWORD' => 'QRPM955KDC', 'WEBPAY_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'WEBPAY_ENDPOINT_URL' => 'https://bc.mitec.com.mx/p/gen', 'CAITOKEN_DATA0' => '9265654992', 'CAITOKEN_ID_COMPANY' => 'VQ8A', 'CAITOKEN_ID_BRANCH' => '0006', 'CAITOKEN_COUNTRY' => 'MEX', 'CAITOKEN_USER' => 'VQ8ASIUS4', 'CAITOKEN_PASSWORD' => 'QRPM955KDC', 'CAITOKEN_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'CAITOKEN_URL' => 'https://vip.e-pago.com.mx/pgs/CargoAutTokenXml', 'CAITOKEN_MERCHANT' => '248955', 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] base => '' [protected] webroot => '/' [protected] here => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'donativo-fundacion.udg.mx' [private] port => null [private] path => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '0' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$token = $this->_createToken(); |
|
$request = $this->_addTokenToRequest($token, $request); |
|
$response = $this->_addTokenCookie($token, $request, $response); |
|
|
|
return $next($request, $response); |
|
} |
|
$request = $this->_validateAndUnsetTokenField($request); |
|
|
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Invoices', 'action' => 'requestInvoice', 'pass' => [ (int) 0 => 'a543a839-c54d-49ff-aeeb-05c53c7b9775' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, '_csrfToken' => 'ed26f102306e6e1fe5685673257db8f9e0a965e8a255ffb309776fcf18418cd65924e5e581948fbcb35e3ea5cbd28ec045f3c8dae8dd6e5aa83a04624611e764' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_S_DN_C' => 'MX', 'SSL_SERVER_S_DN_ST' => 'Jalisco', 'SSL_SERVER_S_DN_L' => 'Guadalajara', 'SSL_SERVER_S_DN_O' => 'Universidad de Guadalajara', 'SSL_SERVER_S_DN_CN' => '*.udg.mx', 'SSL_SERVER_I_DN_C' => 'US', 'SSL_SERVER_I_DN_O' => 'DigiCert Inc', 'SSL_SERVER_I_DN_CN' => 'DigiCert Global G2 TLS RSA SHA256 2020 CA1', 'SSL_SERVER_SAN_DNS_0' => '*.udg.mx', 'SSL_SERVER_SAN_DNS_1' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_SAN_DNS_2' => 'udg.mx', 'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.18', 'SSL_VERSION_LIBRARY' => 'OpenSSL/1.0.2g', 'SSL_PROTOCOL' => 'TLSv1.2', 'SSL_SECURE_RENEG' => 'true', 'SSL_COMPRESS_METHOD' => 'NULL', 'SSL_CIPHER' => 'ECDHE-RSA-AES256-GCM-SHA384', 'SSL_CIPHER_EXPORT' => 'false', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SSL_CLIENT_VERIFY' => 'NONE', 'SSL_SERVER_M_VERSION' => '3', 'SSL_SERVER_M_SERIAL' => '0EC28A4777B51495EBCD8643A54E2B06', 'SSL_SERVER_V_START' => 'Aug 23 00:00:00 2023 GMT', 'SSL_SERVER_V_END' => 'Aug 16 23:59:59 2024 GMT', 'SSL_SERVER_S_DN' => 'CN=*.udg.mx,O=Universidad de Guadalajara,L=Guadalajara,ST=Jalisco,C=MX', 'SSL_SERVER_I_DN' => 'CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US', 'SSL_SERVER_A_KEY' => 'rsaEncryption', 'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption', 'SSL_SESSION_RESUMED' => 'Initial', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'donativo-fundacion.udg.mx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.18 (Ubuntu) Server at donativo-fundacion.udg.mx Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)', 'SERVER_NAME' => 'donativo-fundacion.udg.mx', 'SERVER_ADDR' => '148.202.34.81', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.172.223.130', 'DOCUMENT_ROOT' => '/var/www/fundacion', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/fundacion', 'SERVER_ADMIN' => 'fundacion@redudg.udg.mx', 'SCRIPT_FILENAME' => '/var/www/fundacion/webroot/index.php', 'REMOTE_PORT' => '41880', 'REDIRECT_URL' => '/webroot/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711691218.259, 'REQUEST_TIME' => (int) 1711691218, 'APP_NAME' => 'PortalRecaudacion', 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'es_MX', 'APP_DEFAULT_TIMEZONE' => 'America/Mexico_City', 'SECURITY_SALT' => '5c1e922840a702d2b551b8d46dd5666dbc6564290d62ef113d109e354756abb7', 'APP_URL' => 'https://fundacion.udg.mx/', 'EMAIL_TRANSPORT_DEFAULT_URL' => 'smtp://148.202.3.50', 'EMAIL_DOMAIN' => 'correo.udg.mx', 'EMAIL_DELIVERY_ADDRESS' => 'NoReplay.Fundacion@redudg.udg.mx', 'EMAIL_DELIVERY_FROM_NAME' => 'Fundación UdeG', 'WS_URL' => 'wss://fundacion.udg.mx/wss2/', 'WS_PORT' => '8081', 'DATABASE_URL' => 'mysql://fundacion:Fund4c10n.*2018@127.0.0.1/fundacion?encoding=utf8&cacheMetadata=true"eIdentifiers=false&persistent=false', 'PAYPAL_ENDPOINT_URL' => 'https://www.paypal.com/cgi-bin/webscr', 'PAYPAL_BUSINESS_EMAIL' => 'fundacion@redudg.udg.mx', 'PAYPAL_IPN_VALIDATOR_URL' => 'https://ipnpb.paypal.com/cgi-bin/webscr', 'WEBPAY_DATA0' => '9265654992', 'WEBPAY_ID_COMPANY' => 'VQ8A', 'WEBPAY_ID_BRANCH' => '0006', 'WEBPAY_USER' => 'VQ8ASIUS4', 'WEBPAY_PASSWORD' => 'QRPM955KDC', 'WEBPAY_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'WEBPAY_ENDPOINT_URL' => 'https://bc.mitec.com.mx/p/gen', 'CAITOKEN_DATA0' => '9265654992', 'CAITOKEN_ID_COMPANY' => 'VQ8A', 'CAITOKEN_ID_BRANCH' => '0006', 'CAITOKEN_COUNTRY' => 'MEX', 'CAITOKEN_USER' => 'VQ8ASIUS4', 'CAITOKEN_PASSWORD' => 'QRPM955KDC', 'CAITOKEN_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'CAITOKEN_URL' => 'https://vip.e-pago.com.mx/pgs/CargoAutTokenXml', 'CAITOKEN_MERCHANT' => '248955', 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] base => '' [protected] webroot => '/' [protected] here => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'donativo-fundacion.udg.mx' [private] port => null [private] path => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '0' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' }
$csrf = new CsrfProtectionMiddleware([ |
|
'httpOnly' => true |
|
]); |
|
|
|
return $csrf($request, $response, $next); |
|
} |
|
|
|
return $next($request, $response); |
|
}); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Invoices', 'action' => 'requestInvoice', 'pass' => [ (int) 0 => 'a543a839-c54d-49ff-aeeb-05c53c7b9775' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, '_csrfToken' => 'ed26f102306e6e1fe5685673257db8f9e0a965e8a255ffb309776fcf18418cd65924e5e581948fbcb35e3ea5cbd28ec045f3c8dae8dd6e5aa83a04624611e764' ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_S_DN_C' => 'MX', 'SSL_SERVER_S_DN_ST' => 'Jalisco', 'SSL_SERVER_S_DN_L' => 'Guadalajara', 'SSL_SERVER_S_DN_O' => 'Universidad de Guadalajara', 'SSL_SERVER_S_DN_CN' => '*.udg.mx', 'SSL_SERVER_I_DN_C' => 'US', 'SSL_SERVER_I_DN_O' => 'DigiCert Inc', 'SSL_SERVER_I_DN_CN' => 'DigiCert Global G2 TLS RSA SHA256 2020 CA1', 'SSL_SERVER_SAN_DNS_0' => '*.udg.mx', 'SSL_SERVER_SAN_DNS_1' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_SAN_DNS_2' => 'udg.mx', 'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.18', 'SSL_VERSION_LIBRARY' => 'OpenSSL/1.0.2g', 'SSL_PROTOCOL' => 'TLSv1.2', 'SSL_SECURE_RENEG' => 'true', 'SSL_COMPRESS_METHOD' => 'NULL', 'SSL_CIPHER' => 'ECDHE-RSA-AES256-GCM-SHA384', 'SSL_CIPHER_EXPORT' => 'false', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SSL_CLIENT_VERIFY' => 'NONE', 'SSL_SERVER_M_VERSION' => '3', 'SSL_SERVER_M_SERIAL' => '0EC28A4777B51495EBCD8643A54E2B06', 'SSL_SERVER_V_START' => 'Aug 23 00:00:00 2023 GMT', 'SSL_SERVER_V_END' => 'Aug 16 23:59:59 2024 GMT', 'SSL_SERVER_S_DN' => 'CN=*.udg.mx,O=Universidad de Guadalajara,L=Guadalajara,ST=Jalisco,C=MX', 'SSL_SERVER_I_DN' => 'CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US', 'SSL_SERVER_A_KEY' => 'rsaEncryption', 'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption', 'SSL_SESSION_RESUMED' => 'Initial', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'donativo-fundacion.udg.mx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.18 (Ubuntu) Server at donativo-fundacion.udg.mx Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)', 'SERVER_NAME' => 'donativo-fundacion.udg.mx', 'SERVER_ADDR' => '148.202.34.81', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.172.223.130', 'DOCUMENT_ROOT' => '/var/www/fundacion', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/fundacion', 'SERVER_ADMIN' => 'fundacion@redudg.udg.mx', 'SCRIPT_FILENAME' => '/var/www/fundacion/webroot/index.php', 'REMOTE_PORT' => '41880', 'REDIRECT_URL' => '/webroot/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711691218.259, 'REQUEST_TIME' => (int) 1711691218, 'APP_NAME' => 'PortalRecaudacion', 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'es_MX', 'APP_DEFAULT_TIMEZONE' => 'America/Mexico_City', 'SECURITY_SALT' => '5c1e922840a702d2b551b8d46dd5666dbc6564290d62ef113d109e354756abb7', 'APP_URL' => 'https://fundacion.udg.mx/', 'EMAIL_TRANSPORT_DEFAULT_URL' => 'smtp://148.202.3.50', 'EMAIL_DOMAIN' => 'correo.udg.mx', 'EMAIL_DELIVERY_ADDRESS' => 'NoReplay.Fundacion@redudg.udg.mx', 'EMAIL_DELIVERY_FROM_NAME' => 'Fundación UdeG', 'WS_URL' => 'wss://fundacion.udg.mx/wss2/', 'WS_PORT' => '8081', 'DATABASE_URL' => 'mysql://fundacion:Fund4c10n.*2018@127.0.0.1/fundacion?encoding=utf8&cacheMetadata=true"eIdentifiers=false&persistent=false', 'PAYPAL_ENDPOINT_URL' => 'https://www.paypal.com/cgi-bin/webscr', 'PAYPAL_BUSINESS_EMAIL' => 'fundacion@redudg.udg.mx', 'PAYPAL_IPN_VALIDATOR_URL' => 'https://ipnpb.paypal.com/cgi-bin/webscr', 'WEBPAY_DATA0' => '9265654992', 'WEBPAY_ID_COMPANY' => 'VQ8A', 'WEBPAY_ID_BRANCH' => '0006', 'WEBPAY_USER' => 'VQ8ASIUS4', 'WEBPAY_PASSWORD' => 'QRPM955KDC', 'WEBPAY_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'WEBPAY_ENDPOINT_URL' => 'https://bc.mitec.com.mx/p/gen', 'CAITOKEN_DATA0' => '9265654992', 'CAITOKEN_ID_COMPANY' => 'VQ8A', 'CAITOKEN_ID_BRANCH' => '0006', 'CAITOKEN_COUNTRY' => 'MEX', 'CAITOKEN_USER' => 'VQ8ASIUS4', 'CAITOKEN_PASSWORD' => 'QRPM955KDC', 'CAITOKEN_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'CAITOKEN_URL' => 'https://vip.e-pago.com.mx/pgs/CargoAutTokenXml', 'CAITOKEN_MERCHANT' => '248955', 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTP_X_REQUESTED_WITH' => null ] [protected] url => 'invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] base => '' [protected] webroot => '/' [protected] here => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'donativo-fundacion.udg.mx' [private] port => null [private] path => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '0' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [ [maximum depth reached] ] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Invoices', 'action' => 'requestInvoice', 'pass' => [ (int) 0 => 'a543a839-c54d-49ff-aeeb-05c53c7b9775' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_S_DN_C' => 'MX', 'SSL_SERVER_S_DN_ST' => 'Jalisco', 'SSL_SERVER_S_DN_L' => 'Guadalajara', 'SSL_SERVER_S_DN_O' => 'Universidad de Guadalajara', 'SSL_SERVER_S_DN_CN' => '*.udg.mx', 'SSL_SERVER_I_DN_C' => 'US', 'SSL_SERVER_I_DN_O' => 'DigiCert Inc', 'SSL_SERVER_I_DN_CN' => 'DigiCert Global G2 TLS RSA SHA256 2020 CA1', 'SSL_SERVER_SAN_DNS_0' => '*.udg.mx', 'SSL_SERVER_SAN_DNS_1' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_SAN_DNS_2' => 'udg.mx', 'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.18', 'SSL_VERSION_LIBRARY' => 'OpenSSL/1.0.2g', 'SSL_PROTOCOL' => 'TLSv1.2', 'SSL_SECURE_RENEG' => 'true', 'SSL_COMPRESS_METHOD' => 'NULL', 'SSL_CIPHER' => 'ECDHE-RSA-AES256-GCM-SHA384', 'SSL_CIPHER_EXPORT' => 'false', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SSL_CLIENT_VERIFY' => 'NONE', 'SSL_SERVER_M_VERSION' => '3', 'SSL_SERVER_M_SERIAL' => '0EC28A4777B51495EBCD8643A54E2B06', 'SSL_SERVER_V_START' => 'Aug 23 00:00:00 2023 GMT', 'SSL_SERVER_V_END' => 'Aug 16 23:59:59 2024 GMT', 'SSL_SERVER_S_DN' => 'CN=*.udg.mx,O=Universidad de Guadalajara,L=Guadalajara,ST=Jalisco,C=MX', 'SSL_SERVER_I_DN' => 'CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US', 'SSL_SERVER_A_KEY' => 'rsaEncryption', 'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption', 'SSL_SESSION_RESUMED' => 'Initial', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'donativo-fundacion.udg.mx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.18 (Ubuntu) Server at donativo-fundacion.udg.mx Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)', 'SERVER_NAME' => 'donativo-fundacion.udg.mx', 'SERVER_ADDR' => '148.202.34.81', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.172.223.130', 'DOCUMENT_ROOT' => '/var/www/fundacion', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/fundacion', 'SERVER_ADMIN' => 'fundacion@redudg.udg.mx', 'SCRIPT_FILENAME' => '/var/www/fundacion/webroot/index.php', 'REMOTE_PORT' => '41880', 'REDIRECT_URL' => '/webroot/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711691218.259, 'REQUEST_TIME' => (int) 1711691218, 'APP_NAME' => 'PortalRecaudacion', 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'es_MX', 'APP_DEFAULT_TIMEZONE' => 'America/Mexico_City', 'SECURITY_SALT' => '5c1e922840a702d2b551b8d46dd5666dbc6564290d62ef113d109e354756abb7', 'APP_URL' => 'https://fundacion.udg.mx/', 'EMAIL_TRANSPORT_DEFAULT_URL' => 'smtp://148.202.3.50', 'EMAIL_DOMAIN' => 'correo.udg.mx', 'EMAIL_DELIVERY_ADDRESS' => 'NoReplay.Fundacion@redudg.udg.mx', 'EMAIL_DELIVERY_FROM_NAME' => 'Fundación UdeG', 'WS_URL' => 'wss://fundacion.udg.mx/wss2/', 'WS_PORT' => '8081', 'DATABASE_URL' => 'mysql://fundacion:Fund4c10n.*2018@127.0.0.1/fundacion?encoding=utf8&cacheMetadata=true"eIdentifiers=false&persistent=false', 'PAYPAL_ENDPOINT_URL' => 'https://www.paypal.com/cgi-bin/webscr', 'PAYPAL_BUSINESS_EMAIL' => 'fundacion@redudg.udg.mx', 'PAYPAL_IPN_VALIDATOR_URL' => 'https://ipnpb.paypal.com/cgi-bin/webscr', 'WEBPAY_DATA0' => '9265654992', 'WEBPAY_ID_COMPANY' => 'VQ8A', 'WEBPAY_ID_BRANCH' => '0006', 'WEBPAY_USER' => 'VQ8ASIUS4', 'WEBPAY_PASSWORD' => 'QRPM955KDC', 'WEBPAY_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'WEBPAY_ENDPOINT_URL' => 'https://bc.mitec.com.mx/p/gen', 'CAITOKEN_DATA0' => '9265654992', 'CAITOKEN_ID_COMPANY' => 'VQ8A', 'CAITOKEN_ID_BRANCH' => '0006', 'CAITOKEN_COUNTRY' => 'MEX', 'CAITOKEN_USER' => 'VQ8ASIUS4', 'CAITOKEN_PASSWORD' => 'QRPM955KDC', 'CAITOKEN_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'CAITOKEN_URL' => 'https://vip.e-pago.com.mx/pgs/CargoAutTokenXml', 'CAITOKEN_MERCHANT' => '248955', 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] base => '' [protected] webroot => '/' [protected] here => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'donativo-fundacion.udg.mx' [private] port => null [private] path => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '0' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
); |
|
} |
|
$matching = Router::getRouteCollection()->getMiddleware($middleware); |
|
if (!$matching) { |
|
return $next($request, $response); |
|
} |
|
$matching[] = $next; |
|
$middleware = new MiddlewareQueue($matching); |
|
$runner = new Runner(); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Invoices', 'action' => 'requestInvoice', 'pass' => [ (int) 0 => 'a543a839-c54d-49ff-aeeb-05c53c7b9775' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_S_DN_C' => 'MX', 'SSL_SERVER_S_DN_ST' => 'Jalisco', 'SSL_SERVER_S_DN_L' => 'Guadalajara', 'SSL_SERVER_S_DN_O' => 'Universidad de Guadalajara', 'SSL_SERVER_S_DN_CN' => '*.udg.mx', 'SSL_SERVER_I_DN_C' => 'US', 'SSL_SERVER_I_DN_O' => 'DigiCert Inc', 'SSL_SERVER_I_DN_CN' => 'DigiCert Global G2 TLS RSA SHA256 2020 CA1', 'SSL_SERVER_SAN_DNS_0' => '*.udg.mx', 'SSL_SERVER_SAN_DNS_1' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_SAN_DNS_2' => 'udg.mx', 'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.18', 'SSL_VERSION_LIBRARY' => 'OpenSSL/1.0.2g', 'SSL_PROTOCOL' => 'TLSv1.2', 'SSL_SECURE_RENEG' => 'true', 'SSL_COMPRESS_METHOD' => 'NULL', 'SSL_CIPHER' => 'ECDHE-RSA-AES256-GCM-SHA384', 'SSL_CIPHER_EXPORT' => 'false', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SSL_CLIENT_VERIFY' => 'NONE', 'SSL_SERVER_M_VERSION' => '3', 'SSL_SERVER_M_SERIAL' => '0EC28A4777B51495EBCD8643A54E2B06', 'SSL_SERVER_V_START' => 'Aug 23 00:00:00 2023 GMT', 'SSL_SERVER_V_END' => 'Aug 16 23:59:59 2024 GMT', 'SSL_SERVER_S_DN' => 'CN=*.udg.mx,O=Universidad de Guadalajara,L=Guadalajara,ST=Jalisco,C=MX', 'SSL_SERVER_I_DN' => 'CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US', 'SSL_SERVER_A_KEY' => 'rsaEncryption', 'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption', 'SSL_SESSION_RESUMED' => 'Initial', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'donativo-fundacion.udg.mx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.18 (Ubuntu) Server at donativo-fundacion.udg.mx Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)', 'SERVER_NAME' => 'donativo-fundacion.udg.mx', 'SERVER_ADDR' => '148.202.34.81', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.172.223.130', 'DOCUMENT_ROOT' => '/var/www/fundacion', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/fundacion', 'SERVER_ADMIN' => 'fundacion@redudg.udg.mx', 'SCRIPT_FILENAME' => '/var/www/fundacion/webroot/index.php', 'REMOTE_PORT' => '41880', 'REDIRECT_URL' => '/webroot/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711691218.259, 'REQUEST_TIME' => (int) 1711691218, 'APP_NAME' => 'PortalRecaudacion', 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'es_MX', 'APP_DEFAULT_TIMEZONE' => 'America/Mexico_City', 'SECURITY_SALT' => '5c1e922840a702d2b551b8d46dd5666dbc6564290d62ef113d109e354756abb7', 'APP_URL' => 'https://fundacion.udg.mx/', 'EMAIL_TRANSPORT_DEFAULT_URL' => 'smtp://148.202.3.50', 'EMAIL_DOMAIN' => 'correo.udg.mx', 'EMAIL_DELIVERY_ADDRESS' => 'NoReplay.Fundacion@redudg.udg.mx', 'EMAIL_DELIVERY_FROM_NAME' => 'Fundación UdeG', 'WS_URL' => 'wss://fundacion.udg.mx/wss2/', 'WS_PORT' => '8081', 'DATABASE_URL' => 'mysql://fundacion:Fund4c10n.*2018@127.0.0.1/fundacion?encoding=utf8&cacheMetadata=true"eIdentifiers=false&persistent=false', 'PAYPAL_ENDPOINT_URL' => 'https://www.paypal.com/cgi-bin/webscr', 'PAYPAL_BUSINESS_EMAIL' => 'fundacion@redudg.udg.mx', 'PAYPAL_IPN_VALIDATOR_URL' => 'https://ipnpb.paypal.com/cgi-bin/webscr', 'WEBPAY_DATA0' => '9265654992', 'WEBPAY_ID_COMPANY' => 'VQ8A', 'WEBPAY_ID_BRANCH' => '0006', 'WEBPAY_USER' => 'VQ8ASIUS4', 'WEBPAY_PASSWORD' => 'QRPM955KDC', 'WEBPAY_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'WEBPAY_ENDPOINT_URL' => 'https://bc.mitec.com.mx/p/gen', 'CAITOKEN_DATA0' => '9265654992', 'CAITOKEN_ID_COMPANY' => 'VQ8A', 'CAITOKEN_ID_BRANCH' => '0006', 'CAITOKEN_COUNTRY' => 'MEX', 'CAITOKEN_USER' => 'VQ8ASIUS4', 'CAITOKEN_PASSWORD' => 'QRPM955KDC', 'CAITOKEN_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'CAITOKEN_URL' => 'https://vip.e-pago.com.mx/pgs/CargoAutTokenXml', 'CAITOKEN_MERCHANT' => '248955', 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] base => '' [protected] webroot => '/' [protected] here => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'donativo-fundacion.udg.mx' [private] port => null [private] path => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '0' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'controller' => 'Invoices', 'action' => 'requestInvoice', 'pass' => [ (int) 0 => 'a543a839-c54d-49ff-aeeb-05c53c7b9775' ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_S_DN_C' => 'MX', 'SSL_SERVER_S_DN_ST' => 'Jalisco', 'SSL_SERVER_S_DN_L' => 'Guadalajara', 'SSL_SERVER_S_DN_O' => 'Universidad de Guadalajara', 'SSL_SERVER_S_DN_CN' => '*.udg.mx', 'SSL_SERVER_I_DN_C' => 'US', 'SSL_SERVER_I_DN_O' => 'DigiCert Inc', 'SSL_SERVER_I_DN_CN' => 'DigiCert Global G2 TLS RSA SHA256 2020 CA1', 'SSL_SERVER_SAN_DNS_0' => '*.udg.mx', 'SSL_SERVER_SAN_DNS_1' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_SAN_DNS_2' => 'udg.mx', 'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.18', 'SSL_VERSION_LIBRARY' => 'OpenSSL/1.0.2g', 'SSL_PROTOCOL' => 'TLSv1.2', 'SSL_SECURE_RENEG' => 'true', 'SSL_COMPRESS_METHOD' => 'NULL', 'SSL_CIPHER' => 'ECDHE-RSA-AES256-GCM-SHA384', 'SSL_CIPHER_EXPORT' => 'false', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SSL_CLIENT_VERIFY' => 'NONE', 'SSL_SERVER_M_VERSION' => '3', 'SSL_SERVER_M_SERIAL' => '0EC28A4777B51495EBCD8643A54E2B06', 'SSL_SERVER_V_START' => 'Aug 23 00:00:00 2023 GMT', 'SSL_SERVER_V_END' => 'Aug 16 23:59:59 2024 GMT', 'SSL_SERVER_S_DN' => 'CN=*.udg.mx,O=Universidad de Guadalajara,L=Guadalajara,ST=Jalisco,C=MX', 'SSL_SERVER_I_DN' => 'CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US', 'SSL_SERVER_A_KEY' => 'rsaEncryption', 'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption', 'SSL_SESSION_RESUMED' => 'Initial', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'donativo-fundacion.udg.mx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.18 (Ubuntu) Server at donativo-fundacion.udg.mx Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)', 'SERVER_NAME' => 'donativo-fundacion.udg.mx', 'SERVER_ADDR' => '148.202.34.81', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.172.223.130', 'DOCUMENT_ROOT' => '/var/www/fundacion', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/fundacion', 'SERVER_ADMIN' => 'fundacion@redudg.udg.mx', 'SCRIPT_FILENAME' => '/var/www/fundacion/webroot/index.php', 'REMOTE_PORT' => '41880', 'REDIRECT_URL' => '/webroot/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711691218.259, 'REQUEST_TIME' => (int) 1711691218, 'APP_NAME' => 'PortalRecaudacion', 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'es_MX', 'APP_DEFAULT_TIMEZONE' => 'America/Mexico_City', 'SECURITY_SALT' => '5c1e922840a702d2b551b8d46dd5666dbc6564290d62ef113d109e354756abb7', 'APP_URL' => 'https://fundacion.udg.mx/', 'EMAIL_TRANSPORT_DEFAULT_URL' => 'smtp://148.202.3.50', 'EMAIL_DOMAIN' => 'correo.udg.mx', 'EMAIL_DELIVERY_ADDRESS' => 'NoReplay.Fundacion@redudg.udg.mx', 'EMAIL_DELIVERY_FROM_NAME' => 'Fundación UdeG', 'WS_URL' => 'wss://fundacion.udg.mx/wss2/', 'WS_PORT' => '8081', 'DATABASE_URL' => 'mysql://fundacion:Fund4c10n.*2018@127.0.0.1/fundacion?encoding=utf8&cacheMetadata=true"eIdentifiers=false&persistent=false', 'PAYPAL_ENDPOINT_URL' => 'https://www.paypal.com/cgi-bin/webscr', 'PAYPAL_BUSINESS_EMAIL' => 'fundacion@redudg.udg.mx', 'PAYPAL_IPN_VALIDATOR_URL' => 'https://ipnpb.paypal.com/cgi-bin/webscr', 'WEBPAY_DATA0' => '9265654992', 'WEBPAY_ID_COMPANY' => 'VQ8A', 'WEBPAY_ID_BRANCH' => '0006', 'WEBPAY_USER' => 'VQ8ASIUS4', 'WEBPAY_PASSWORD' => 'QRPM955KDC', 'WEBPAY_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'WEBPAY_ENDPOINT_URL' => 'https://bc.mitec.com.mx/p/gen', 'CAITOKEN_DATA0' => '9265654992', 'CAITOKEN_ID_COMPANY' => 'VQ8A', 'CAITOKEN_ID_BRANCH' => '0006', 'CAITOKEN_COUNTRY' => 'MEX', 'CAITOKEN_USER' => 'VQ8ASIUS4', 'CAITOKEN_PASSWORD' => 'QRPM955KDC', 'CAITOKEN_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'CAITOKEN_URL' => 'https://vip.e-pago.com.mx/pgs/CargoAutTokenXml', 'CAITOKEN_MERCHANT' => '248955', 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] base => '' [protected] webroot => '/' [protected] here => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'donativo-fundacion.udg.mx' [private] port => null [private] path => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '0' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
public function __invoke($request, $response, $next) |
|
{ |
|
$url = $request->getUri()->getPath(); |
|
if (strpos($url, '..') !== false || strpos($url, '.') === false) { |
|
return $next($request, $response); |
|
} |
|
|
|
if (strpos($url, '/.') !== false) { |
|
return $next($request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_S_DN_C' => 'MX', 'SSL_SERVER_S_DN_ST' => 'Jalisco', 'SSL_SERVER_S_DN_L' => 'Guadalajara', 'SSL_SERVER_S_DN_O' => 'Universidad de Guadalajara', 'SSL_SERVER_S_DN_CN' => '*.udg.mx', 'SSL_SERVER_I_DN_C' => 'US', 'SSL_SERVER_I_DN_O' => 'DigiCert Inc', 'SSL_SERVER_I_DN_CN' => 'DigiCert Global G2 TLS RSA SHA256 2020 CA1', 'SSL_SERVER_SAN_DNS_0' => '*.udg.mx', 'SSL_SERVER_SAN_DNS_1' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_SAN_DNS_2' => 'udg.mx', 'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.18', 'SSL_VERSION_LIBRARY' => 'OpenSSL/1.0.2g', 'SSL_PROTOCOL' => 'TLSv1.2', 'SSL_SECURE_RENEG' => 'true', 'SSL_COMPRESS_METHOD' => 'NULL', 'SSL_CIPHER' => 'ECDHE-RSA-AES256-GCM-SHA384', 'SSL_CIPHER_EXPORT' => 'false', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SSL_CLIENT_VERIFY' => 'NONE', 'SSL_SERVER_M_VERSION' => '3', 'SSL_SERVER_M_SERIAL' => '0EC28A4777B51495EBCD8643A54E2B06', 'SSL_SERVER_V_START' => 'Aug 23 00:00:00 2023 GMT', 'SSL_SERVER_V_END' => 'Aug 16 23:59:59 2024 GMT', 'SSL_SERVER_S_DN' => 'CN=*.udg.mx,O=Universidad de Guadalajara,L=Guadalajara,ST=Jalisco,C=MX', 'SSL_SERVER_I_DN' => 'CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US', 'SSL_SERVER_A_KEY' => 'rsaEncryption', 'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption', 'SSL_SESSION_RESUMED' => 'Initial', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'donativo-fundacion.udg.mx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.18 (Ubuntu) Server at donativo-fundacion.udg.mx Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)', 'SERVER_NAME' => 'donativo-fundacion.udg.mx', 'SERVER_ADDR' => '148.202.34.81', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.172.223.130', 'DOCUMENT_ROOT' => '/var/www/fundacion', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/fundacion', 'SERVER_ADMIN' => 'fundacion@redudg.udg.mx', 'SCRIPT_FILENAME' => '/var/www/fundacion/webroot/index.php', 'REMOTE_PORT' => '41880', 'REDIRECT_URL' => '/webroot/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711691218.259, 'REQUEST_TIME' => (int) 1711691218, 'APP_NAME' => 'PortalRecaudacion', 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'es_MX', 'APP_DEFAULT_TIMEZONE' => 'America/Mexico_City', 'SECURITY_SALT' => '5c1e922840a702d2b551b8d46dd5666dbc6564290d62ef113d109e354756abb7', 'APP_URL' => 'https://fundacion.udg.mx/', 'EMAIL_TRANSPORT_DEFAULT_URL' => 'smtp://148.202.3.50', 'EMAIL_DOMAIN' => 'correo.udg.mx', 'EMAIL_DELIVERY_ADDRESS' => 'NoReplay.Fundacion@redudg.udg.mx', 'EMAIL_DELIVERY_FROM_NAME' => 'Fundación UdeG', 'WS_URL' => 'wss://fundacion.udg.mx/wss2/', 'WS_PORT' => '8081', 'DATABASE_URL' => 'mysql://fundacion:Fund4c10n.*2018@127.0.0.1/fundacion?encoding=utf8&cacheMetadata=true"eIdentifiers=false&persistent=false', 'PAYPAL_ENDPOINT_URL' => 'https://www.paypal.com/cgi-bin/webscr', 'PAYPAL_BUSINESS_EMAIL' => 'fundacion@redudg.udg.mx', 'PAYPAL_IPN_VALIDATOR_URL' => 'https://ipnpb.paypal.com/cgi-bin/webscr', 'WEBPAY_DATA0' => '9265654992', 'WEBPAY_ID_COMPANY' => 'VQ8A', 'WEBPAY_ID_BRANCH' => '0006', 'WEBPAY_USER' => 'VQ8ASIUS4', 'WEBPAY_PASSWORD' => 'QRPM955KDC', 'WEBPAY_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'WEBPAY_ENDPOINT_URL' => 'https://bc.mitec.com.mx/p/gen', 'CAITOKEN_DATA0' => '9265654992', 'CAITOKEN_ID_COMPANY' => 'VQ8A', 'CAITOKEN_ID_BRANCH' => '0006', 'CAITOKEN_COUNTRY' => 'MEX', 'CAITOKEN_USER' => 'VQ8ASIUS4', 'CAITOKEN_PASSWORD' => 'QRPM955KDC', 'CAITOKEN_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'CAITOKEN_URL' => 'https://vip.e-pago.com.mx/pgs/CargoAutTokenXml', 'CAITOKEN_MERCHANT' => '248955', 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] base => '' [protected] webroot => '/' [protected] here => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'donativo-fundacion.udg.mx' [private] port => null [private] path => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '0' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_S_DN_C' => 'MX', 'SSL_SERVER_S_DN_ST' => 'Jalisco', 'SSL_SERVER_S_DN_L' => 'Guadalajara', 'SSL_SERVER_S_DN_O' => 'Universidad de Guadalajara', 'SSL_SERVER_S_DN_CN' => '*.udg.mx', 'SSL_SERVER_I_DN_C' => 'US', 'SSL_SERVER_I_DN_O' => 'DigiCert Inc', 'SSL_SERVER_I_DN_CN' => 'DigiCert Global G2 TLS RSA SHA256 2020 CA1', 'SSL_SERVER_SAN_DNS_0' => '*.udg.mx', 'SSL_SERVER_SAN_DNS_1' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_SAN_DNS_2' => 'udg.mx', 'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.18', 'SSL_VERSION_LIBRARY' => 'OpenSSL/1.0.2g', 'SSL_PROTOCOL' => 'TLSv1.2', 'SSL_SECURE_RENEG' => 'true', 'SSL_COMPRESS_METHOD' => 'NULL', 'SSL_CIPHER' => 'ECDHE-RSA-AES256-GCM-SHA384', 'SSL_CIPHER_EXPORT' => 'false', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SSL_CLIENT_VERIFY' => 'NONE', 'SSL_SERVER_M_VERSION' => '3', 'SSL_SERVER_M_SERIAL' => '0EC28A4777B51495EBCD8643A54E2B06', 'SSL_SERVER_V_START' => 'Aug 23 00:00:00 2023 GMT', 'SSL_SERVER_V_END' => 'Aug 16 23:59:59 2024 GMT', 'SSL_SERVER_S_DN' => 'CN=*.udg.mx,O=Universidad de Guadalajara,L=Guadalajara,ST=Jalisco,C=MX', 'SSL_SERVER_I_DN' => 'CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US', 'SSL_SERVER_A_KEY' => 'rsaEncryption', 'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption', 'SSL_SESSION_RESUMED' => 'Initial', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'donativo-fundacion.udg.mx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.18 (Ubuntu) Server at donativo-fundacion.udg.mx Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)', 'SERVER_NAME' => 'donativo-fundacion.udg.mx', 'SERVER_ADDR' => '148.202.34.81', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.172.223.130', 'DOCUMENT_ROOT' => '/var/www/fundacion', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/fundacion', 'SERVER_ADMIN' => 'fundacion@redudg.udg.mx', 'SCRIPT_FILENAME' => '/var/www/fundacion/webroot/index.php', 'REMOTE_PORT' => '41880', 'REDIRECT_URL' => '/webroot/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711691218.259, 'REQUEST_TIME' => (int) 1711691218, 'APP_NAME' => 'PortalRecaudacion', 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'es_MX', 'APP_DEFAULT_TIMEZONE' => 'America/Mexico_City', 'SECURITY_SALT' => '5c1e922840a702d2b551b8d46dd5666dbc6564290d62ef113d109e354756abb7', 'APP_URL' => 'https://fundacion.udg.mx/', 'EMAIL_TRANSPORT_DEFAULT_URL' => 'smtp://148.202.3.50', 'EMAIL_DOMAIN' => 'correo.udg.mx', 'EMAIL_DELIVERY_ADDRESS' => 'NoReplay.Fundacion@redudg.udg.mx', 'EMAIL_DELIVERY_FROM_NAME' => 'Fundación UdeG', 'WS_URL' => 'wss://fundacion.udg.mx/wss2/', 'WS_PORT' => '8081', 'DATABASE_URL' => 'mysql://fundacion:Fund4c10n.*2018@127.0.0.1/fundacion?encoding=utf8&cacheMetadata=true"eIdentifiers=false&persistent=false', 'PAYPAL_ENDPOINT_URL' => 'https://www.paypal.com/cgi-bin/webscr', 'PAYPAL_BUSINESS_EMAIL' => 'fundacion@redudg.udg.mx', 'PAYPAL_IPN_VALIDATOR_URL' => 'https://ipnpb.paypal.com/cgi-bin/webscr', 'WEBPAY_DATA0' => '9265654992', 'WEBPAY_ID_COMPANY' => 'VQ8A', 'WEBPAY_ID_BRANCH' => '0006', 'WEBPAY_USER' => 'VQ8ASIUS4', 'WEBPAY_PASSWORD' => 'QRPM955KDC', 'WEBPAY_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'WEBPAY_ENDPOINT_URL' => 'https://bc.mitec.com.mx/p/gen', 'CAITOKEN_DATA0' => '9265654992', 'CAITOKEN_ID_COMPANY' => 'VQ8A', 'CAITOKEN_ID_BRANCH' => '0006', 'CAITOKEN_COUNTRY' => 'MEX', 'CAITOKEN_USER' => 'VQ8ASIUS4', 'CAITOKEN_PASSWORD' => 'QRPM955KDC', 'CAITOKEN_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'CAITOKEN_URL' => 'https://vip.e-pago.com.mx/pgs/CargoAutTokenXml', 'CAITOKEN_MERCHANT' => '248955', 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] base => '' [protected] webroot => '/' [protected] here => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'donativo-fundacion.udg.mx' [private] port => null [private] path => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '0' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
*/ |
|
public function __invoke($request, $response, $next) |
|
{ |
|
try { |
|
return $next($request, $response); |
|
} catch (Throwable $exception) { |
|
return $this->handleException($exception, $request, $response); |
|
} catch (Exception $exception) { |
|
return $this->handleException($exception, $request, $response); |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_S_DN_C' => 'MX', 'SSL_SERVER_S_DN_ST' => 'Jalisco', 'SSL_SERVER_S_DN_L' => 'Guadalajara', 'SSL_SERVER_S_DN_O' => 'Universidad de Guadalajara', 'SSL_SERVER_S_DN_CN' => '*.udg.mx', 'SSL_SERVER_I_DN_C' => 'US', 'SSL_SERVER_I_DN_O' => 'DigiCert Inc', 'SSL_SERVER_I_DN_CN' => 'DigiCert Global G2 TLS RSA SHA256 2020 CA1', 'SSL_SERVER_SAN_DNS_0' => '*.udg.mx', 'SSL_SERVER_SAN_DNS_1' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_SAN_DNS_2' => 'udg.mx', 'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.18', 'SSL_VERSION_LIBRARY' => 'OpenSSL/1.0.2g', 'SSL_PROTOCOL' => 'TLSv1.2', 'SSL_SECURE_RENEG' => 'true', 'SSL_COMPRESS_METHOD' => 'NULL', 'SSL_CIPHER' => 'ECDHE-RSA-AES256-GCM-SHA384', 'SSL_CIPHER_EXPORT' => 'false', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SSL_CLIENT_VERIFY' => 'NONE', 'SSL_SERVER_M_VERSION' => '3', 'SSL_SERVER_M_SERIAL' => '0EC28A4777B51495EBCD8643A54E2B06', 'SSL_SERVER_V_START' => 'Aug 23 00:00:00 2023 GMT', 'SSL_SERVER_V_END' => 'Aug 16 23:59:59 2024 GMT', 'SSL_SERVER_S_DN' => 'CN=*.udg.mx,O=Universidad de Guadalajara,L=Guadalajara,ST=Jalisco,C=MX', 'SSL_SERVER_I_DN' => 'CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US', 'SSL_SERVER_A_KEY' => 'rsaEncryption', 'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption', 'SSL_SESSION_RESUMED' => 'Initial', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'donativo-fundacion.udg.mx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.18 (Ubuntu) Server at donativo-fundacion.udg.mx Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)', 'SERVER_NAME' => 'donativo-fundacion.udg.mx', 'SERVER_ADDR' => '148.202.34.81', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.172.223.130', 'DOCUMENT_ROOT' => '/var/www/fundacion', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/fundacion', 'SERVER_ADMIN' => 'fundacion@redudg.udg.mx', 'SCRIPT_FILENAME' => '/var/www/fundacion/webroot/index.php', 'REMOTE_PORT' => '41880', 'REDIRECT_URL' => '/webroot/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711691218.259, 'REQUEST_TIME' => (int) 1711691218, 'APP_NAME' => 'PortalRecaudacion', 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'es_MX', 'APP_DEFAULT_TIMEZONE' => 'America/Mexico_City', 'SECURITY_SALT' => '5c1e922840a702d2b551b8d46dd5666dbc6564290d62ef113d109e354756abb7', 'APP_URL' => 'https://fundacion.udg.mx/', 'EMAIL_TRANSPORT_DEFAULT_URL' => 'smtp://148.202.3.50', 'EMAIL_DOMAIN' => 'correo.udg.mx', 'EMAIL_DELIVERY_ADDRESS' => 'NoReplay.Fundacion@redudg.udg.mx', 'EMAIL_DELIVERY_FROM_NAME' => 'Fundación UdeG', 'WS_URL' => 'wss://fundacion.udg.mx/wss2/', 'WS_PORT' => '8081', 'DATABASE_URL' => 'mysql://fundacion:Fund4c10n.*2018@127.0.0.1/fundacion?encoding=utf8&cacheMetadata=true"eIdentifiers=false&persistent=false', 'PAYPAL_ENDPOINT_URL' => 'https://www.paypal.com/cgi-bin/webscr', 'PAYPAL_BUSINESS_EMAIL' => 'fundacion@redudg.udg.mx', 'PAYPAL_IPN_VALIDATOR_URL' => 'https://ipnpb.paypal.com/cgi-bin/webscr', 'WEBPAY_DATA0' => '9265654992', 'WEBPAY_ID_COMPANY' => 'VQ8A', 'WEBPAY_ID_BRANCH' => '0006', 'WEBPAY_USER' => 'VQ8ASIUS4', 'WEBPAY_PASSWORD' => 'QRPM955KDC', 'WEBPAY_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'WEBPAY_ENDPOINT_URL' => 'https://bc.mitec.com.mx/p/gen', 'CAITOKEN_DATA0' => '9265654992', 'CAITOKEN_ID_COMPANY' => 'VQ8A', 'CAITOKEN_ID_BRANCH' => '0006', 'CAITOKEN_COUNTRY' => 'MEX', 'CAITOKEN_USER' => 'VQ8ASIUS4', 'CAITOKEN_PASSWORD' => 'QRPM955KDC', 'CAITOKEN_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'CAITOKEN_URL' => 'https://vip.e-pago.com.mx/pgs/CargoAutTokenXml', 'CAITOKEN_MERCHANT' => '248955', 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] base => '' [protected] webroot => '/' [protected] here => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'donativo-fundacion.udg.mx' [private] port => null [private] path => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '0' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
$next = $this->middleware->get($this->index); |
|
if ($next) { |
|
$this->index++; |
|
|
|
return $next($request, $response, $this); |
|
} |
|
|
|
// End of the queue |
|
return $response; |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_S_DN_C' => 'MX', 'SSL_SERVER_S_DN_ST' => 'Jalisco', 'SSL_SERVER_S_DN_L' => 'Guadalajara', 'SSL_SERVER_S_DN_O' => 'Universidad de Guadalajara', 'SSL_SERVER_S_DN_CN' => '*.udg.mx', 'SSL_SERVER_I_DN_C' => 'US', 'SSL_SERVER_I_DN_O' => 'DigiCert Inc', 'SSL_SERVER_I_DN_CN' => 'DigiCert Global G2 TLS RSA SHA256 2020 CA1', 'SSL_SERVER_SAN_DNS_0' => '*.udg.mx', 'SSL_SERVER_SAN_DNS_1' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_SAN_DNS_2' => 'udg.mx', 'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.18', 'SSL_VERSION_LIBRARY' => 'OpenSSL/1.0.2g', 'SSL_PROTOCOL' => 'TLSv1.2', 'SSL_SECURE_RENEG' => 'true', 'SSL_COMPRESS_METHOD' => 'NULL', 'SSL_CIPHER' => 'ECDHE-RSA-AES256-GCM-SHA384', 'SSL_CIPHER_EXPORT' => 'false', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SSL_CLIENT_VERIFY' => 'NONE', 'SSL_SERVER_M_VERSION' => '3', 'SSL_SERVER_M_SERIAL' => '0EC28A4777B51495EBCD8643A54E2B06', 'SSL_SERVER_V_START' => 'Aug 23 00:00:00 2023 GMT', 'SSL_SERVER_V_END' => 'Aug 16 23:59:59 2024 GMT', 'SSL_SERVER_S_DN' => 'CN=*.udg.mx,O=Universidad de Guadalajara,L=Guadalajara,ST=Jalisco,C=MX', 'SSL_SERVER_I_DN' => 'CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US', 'SSL_SERVER_A_KEY' => 'rsaEncryption', 'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption', 'SSL_SESSION_RESUMED' => 'Initial', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'donativo-fundacion.udg.mx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.18 (Ubuntu) Server at donativo-fundacion.udg.mx Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)', 'SERVER_NAME' => 'donativo-fundacion.udg.mx', 'SERVER_ADDR' => '148.202.34.81', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.172.223.130', 'DOCUMENT_ROOT' => '/var/www/fundacion', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/fundacion', 'SERVER_ADMIN' => 'fundacion@redudg.udg.mx', 'SCRIPT_FILENAME' => '/var/www/fundacion/webroot/index.php', 'REMOTE_PORT' => '41880', 'REDIRECT_URL' => '/webroot/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711691218.259, 'REQUEST_TIME' => (int) 1711691218, 'APP_NAME' => 'PortalRecaudacion', 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'es_MX', 'APP_DEFAULT_TIMEZONE' => 'America/Mexico_City', 'SECURITY_SALT' => '5c1e922840a702d2b551b8d46dd5666dbc6564290d62ef113d109e354756abb7', 'APP_URL' => 'https://fundacion.udg.mx/', 'EMAIL_TRANSPORT_DEFAULT_URL' => 'smtp://148.202.3.50', 'EMAIL_DOMAIN' => 'correo.udg.mx', 'EMAIL_DELIVERY_ADDRESS' => 'NoReplay.Fundacion@redudg.udg.mx', 'EMAIL_DELIVERY_FROM_NAME' => 'Fundación UdeG', 'WS_URL' => 'wss://fundacion.udg.mx/wss2/', 'WS_PORT' => '8081', 'DATABASE_URL' => 'mysql://fundacion:Fund4c10n.*2018@127.0.0.1/fundacion?encoding=utf8&cacheMetadata=true"eIdentifiers=false&persistent=false', 'PAYPAL_ENDPOINT_URL' => 'https://www.paypal.com/cgi-bin/webscr', 'PAYPAL_BUSINESS_EMAIL' => 'fundacion@redudg.udg.mx', 'PAYPAL_IPN_VALIDATOR_URL' => 'https://ipnpb.paypal.com/cgi-bin/webscr', 'WEBPAY_DATA0' => '9265654992', 'WEBPAY_ID_COMPANY' => 'VQ8A', 'WEBPAY_ID_BRANCH' => '0006', 'WEBPAY_USER' => 'VQ8ASIUS4', 'WEBPAY_PASSWORD' => 'QRPM955KDC', 'WEBPAY_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'WEBPAY_ENDPOINT_URL' => 'https://bc.mitec.com.mx/p/gen', 'CAITOKEN_DATA0' => '9265654992', 'CAITOKEN_ID_COMPANY' => 'VQ8A', 'CAITOKEN_ID_BRANCH' => '0006', 'CAITOKEN_COUNTRY' => 'MEX', 'CAITOKEN_USER' => 'VQ8ASIUS4', 'CAITOKEN_PASSWORD' => 'QRPM955KDC', 'CAITOKEN_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'CAITOKEN_URL' => 'https://vip.e-pago.com.mx/pgs/CargoAutTokenXml', 'CAITOKEN_MERCHANT' => '248955', 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] base => '' [protected] webroot => '/' [protected] here => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'donativo-fundacion.udg.mx' [private] port => null [private] path => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '0' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' } object(Cake\Http\Runner) { [protected] index => (int) 5 [protected] middleware => object(Cake\Http\MiddlewareQueue) { [protected] queue => [ [maximum depth reached] ] [protected] callables => [ [maximum depth reached] ] } }
{ |
|
$this->middleware = $middleware; |
|
$this->index = 0; |
|
|
|
return $this->__invoke($request, $response); |
|
} |
|
|
|
/** |
|
* @param \Psr\Http\Message\ServerRequestInterface $request The server request |
object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_S_DN_C' => 'MX', 'SSL_SERVER_S_DN_ST' => 'Jalisco', 'SSL_SERVER_S_DN_L' => 'Guadalajara', 'SSL_SERVER_S_DN_O' => 'Universidad de Guadalajara', 'SSL_SERVER_S_DN_CN' => '*.udg.mx', 'SSL_SERVER_I_DN_C' => 'US', 'SSL_SERVER_I_DN_O' => 'DigiCert Inc', 'SSL_SERVER_I_DN_CN' => 'DigiCert Global G2 TLS RSA SHA256 2020 CA1', 'SSL_SERVER_SAN_DNS_0' => '*.udg.mx', 'SSL_SERVER_SAN_DNS_1' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_SAN_DNS_2' => 'udg.mx', 'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.18', 'SSL_VERSION_LIBRARY' => 'OpenSSL/1.0.2g', 'SSL_PROTOCOL' => 'TLSv1.2', 'SSL_SECURE_RENEG' => 'true', 'SSL_COMPRESS_METHOD' => 'NULL', 'SSL_CIPHER' => 'ECDHE-RSA-AES256-GCM-SHA384', 'SSL_CIPHER_EXPORT' => 'false', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SSL_CLIENT_VERIFY' => 'NONE', 'SSL_SERVER_M_VERSION' => '3', 'SSL_SERVER_M_SERIAL' => '0EC28A4777B51495EBCD8643A54E2B06', 'SSL_SERVER_V_START' => 'Aug 23 00:00:00 2023 GMT', 'SSL_SERVER_V_END' => 'Aug 16 23:59:59 2024 GMT', 'SSL_SERVER_S_DN' => 'CN=*.udg.mx,O=Universidad de Guadalajara,L=Guadalajara,ST=Jalisco,C=MX', 'SSL_SERVER_I_DN' => 'CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US', 'SSL_SERVER_A_KEY' => 'rsaEncryption', 'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption', 'SSL_SESSION_RESUMED' => 'Initial', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'donativo-fundacion.udg.mx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.18 (Ubuntu) Server at donativo-fundacion.udg.mx Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)', 'SERVER_NAME' => 'donativo-fundacion.udg.mx', 'SERVER_ADDR' => '148.202.34.81', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.172.223.130', 'DOCUMENT_ROOT' => '/var/www/fundacion', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/fundacion', 'SERVER_ADMIN' => 'fundacion@redudg.udg.mx', 'SCRIPT_FILENAME' => '/var/www/fundacion/webroot/index.php', 'REMOTE_PORT' => '41880', 'REDIRECT_URL' => '/webroot/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711691218.259, 'REQUEST_TIME' => (int) 1711691218, 'APP_NAME' => 'PortalRecaudacion', 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'es_MX', 'APP_DEFAULT_TIMEZONE' => 'America/Mexico_City', 'SECURITY_SALT' => '5c1e922840a702d2b551b8d46dd5666dbc6564290d62ef113d109e354756abb7', 'APP_URL' => 'https://fundacion.udg.mx/', 'EMAIL_TRANSPORT_DEFAULT_URL' => 'smtp://148.202.3.50', 'EMAIL_DOMAIN' => 'correo.udg.mx', 'EMAIL_DELIVERY_ADDRESS' => 'NoReplay.Fundacion@redudg.udg.mx', 'EMAIL_DELIVERY_FROM_NAME' => 'Fundación UdeG', 'WS_URL' => 'wss://fundacion.udg.mx/wss2/', 'WS_PORT' => '8081', 'DATABASE_URL' => 'mysql://fundacion:Fund4c10n.*2018@127.0.0.1/fundacion?encoding=utf8&cacheMetadata=true"eIdentifiers=false&persistent=false', 'PAYPAL_ENDPOINT_URL' => 'https://www.paypal.com/cgi-bin/webscr', 'PAYPAL_BUSINESS_EMAIL' => 'fundacion@redudg.udg.mx', 'PAYPAL_IPN_VALIDATOR_URL' => 'https://ipnpb.paypal.com/cgi-bin/webscr', 'WEBPAY_DATA0' => '9265654992', 'WEBPAY_ID_COMPANY' => 'VQ8A', 'WEBPAY_ID_BRANCH' => '0006', 'WEBPAY_USER' => 'VQ8ASIUS4', 'WEBPAY_PASSWORD' => 'QRPM955KDC', 'WEBPAY_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'WEBPAY_ENDPOINT_URL' => 'https://bc.mitec.com.mx/p/gen', 'CAITOKEN_DATA0' => '9265654992', 'CAITOKEN_ID_COMPANY' => 'VQ8A', 'CAITOKEN_ID_BRANCH' => '0006', 'CAITOKEN_COUNTRY' => 'MEX', 'CAITOKEN_USER' => 'VQ8ASIUS4', 'CAITOKEN_PASSWORD' => 'QRPM955KDC', 'CAITOKEN_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'CAITOKEN_URL' => 'https://vip.e-pago.com.mx/pgs/CargoAutTokenXml', 'CAITOKEN_MERCHANT' => '248955', 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] base => '' [protected] webroot => '/' [protected] here => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'donativo-fundacion.udg.mx' [private] port => null [private] path => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '0' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
} |
|
$this->dispatchEvent('Server.buildMiddleware', ['middleware' => $middleware]); |
|
$middleware->add($this->app); |
|
|
|
$response = $this->runner->run($middleware, $request, $response); |
|
|
|
if (!($response instanceof ResponseInterface)) { |
|
throw new RuntimeException(sprintf( |
|
'Application did not create a response. Got "%s" instead.', |
object(Cake\Http\MiddlewareQueue) { [protected] queue => [ (int) 0 => 'Cake\Error\Middleware\ErrorHandlerMiddleware', (int) 1 => 'Cake\Routing\Middleware\AssetMiddleware', (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(Closure) {}, (int) 4 => object(App\Application) {} ] [protected] callables => [ (int) 0 => object(Cake\Error\Middleware\ErrorHandlerMiddleware) {}, (int) 1 => object(Cake\Routing\Middleware\AssetMiddleware) {}, (int) 2 => object(Cake\Routing\Middleware\RoutingMiddleware) {}, (int) 3 => object(Closure) {}, (int) 4 => object(App\Application) {} ] } object(Cake\Http\ServerRequest) { trustProxy => false [protected] params => [ 'plugin' => null, 'controller' => null, 'action' => null, '_ext' => null, 'pass' => [] ] [protected] data => [] [protected] query => [] [protected] cookies => [] [protected] _environment => [ 'REDIRECT_REDIRECT_HTTPS' => 'on', 'REDIRECT_REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_HTTPS' => 'on', 'REDIRECT_SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'REDIRECT_STATUS' => '200', 'HTTPS' => 'on', 'SSL_TLS_SNI' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_S_DN_C' => 'MX', 'SSL_SERVER_S_DN_ST' => 'Jalisco', 'SSL_SERVER_S_DN_L' => 'Guadalajara', 'SSL_SERVER_S_DN_O' => 'Universidad de Guadalajara', 'SSL_SERVER_S_DN_CN' => '*.udg.mx', 'SSL_SERVER_I_DN_C' => 'US', 'SSL_SERVER_I_DN_O' => 'DigiCert Inc', 'SSL_SERVER_I_DN_CN' => 'DigiCert Global G2 TLS RSA SHA256 2020 CA1', 'SSL_SERVER_SAN_DNS_0' => '*.udg.mx', 'SSL_SERVER_SAN_DNS_1' => 'donativo-fundacion.udg.mx', 'SSL_SERVER_SAN_DNS_2' => 'udg.mx', 'SSL_VERSION_INTERFACE' => 'mod_ssl/2.4.18', 'SSL_VERSION_LIBRARY' => 'OpenSSL/1.0.2g', 'SSL_PROTOCOL' => 'TLSv1.2', 'SSL_SECURE_RENEG' => 'true', 'SSL_COMPRESS_METHOD' => 'NULL', 'SSL_CIPHER' => 'ECDHE-RSA-AES256-GCM-SHA384', 'SSL_CIPHER_EXPORT' => 'false', 'SSL_CIPHER_USEKEYSIZE' => '256', 'SSL_CIPHER_ALGKEYSIZE' => '256', 'SSL_CLIENT_VERIFY' => 'NONE', 'SSL_SERVER_M_VERSION' => '3', 'SSL_SERVER_M_SERIAL' => '0EC28A4777B51495EBCD8643A54E2B06', 'SSL_SERVER_V_START' => 'Aug 23 00:00:00 2023 GMT', 'SSL_SERVER_V_END' => 'Aug 16 23:59:59 2024 GMT', 'SSL_SERVER_S_DN' => 'CN=*.udg.mx,O=Universidad de Guadalajara,L=Guadalajara,ST=Jalisco,C=MX', 'SSL_SERVER_I_DN' => 'CN=DigiCert Global G2 TLS RSA SHA256 2020 CA1,O=DigiCert Inc,C=US', 'SSL_SERVER_A_KEY' => 'rsaEncryption', 'SSL_SERVER_A_SIG' => 'sha256WithRSAEncryption', 'SSL_SESSION_RESUMED' => 'Initial', 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'donativo-fundacion.udg.mx', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.18 (Ubuntu) Server at donativo-fundacion.udg.mx Port 443</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.18 (Ubuntu)', 'SERVER_NAME' => 'donativo-fundacion.udg.mx', 'SERVER_ADDR' => '148.202.34.81', 'SERVER_PORT' => '443', 'REMOTE_ADDR' => '35.172.223.130', 'DOCUMENT_ROOT' => '/var/www/fundacion', 'REQUEST_SCHEME' => 'https', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/fundacion', 'SERVER_ADMIN' => 'fundacion@redudg.udg.mx', 'SCRIPT_FILENAME' => '/var/www/fundacion/webroot/index.php', 'REMOTE_PORT' => '41880', 'REDIRECT_URL' => '/webroot/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711691218.259, 'REQUEST_TIME' => (int) 1711691218, 'APP_NAME' => 'PortalRecaudacion', 'DEBUG' => 'true', 'APP_ENCODING' => 'UTF-8', 'APP_DEFAULT_LOCALE' => 'es_MX', 'APP_DEFAULT_TIMEZONE' => 'America/Mexico_City', 'SECURITY_SALT' => '5c1e922840a702d2b551b8d46dd5666dbc6564290d62ef113d109e354756abb7', 'APP_URL' => 'https://fundacion.udg.mx/', 'EMAIL_TRANSPORT_DEFAULT_URL' => 'smtp://148.202.3.50', 'EMAIL_DOMAIN' => 'correo.udg.mx', 'EMAIL_DELIVERY_ADDRESS' => 'NoReplay.Fundacion@redudg.udg.mx', 'EMAIL_DELIVERY_FROM_NAME' => 'Fundación UdeG', 'WS_URL' => 'wss://fundacion.udg.mx/wss2/', 'WS_PORT' => '8081', 'DATABASE_URL' => 'mysql://fundacion:Fund4c10n.*2018@127.0.0.1/fundacion?encoding=utf8&cacheMetadata=true"eIdentifiers=false&persistent=false', 'PAYPAL_ENDPOINT_URL' => 'https://www.paypal.com/cgi-bin/webscr', 'PAYPAL_BUSINESS_EMAIL' => 'fundacion@redudg.udg.mx', 'PAYPAL_IPN_VALIDATOR_URL' => 'https://ipnpb.paypal.com/cgi-bin/webscr', 'WEBPAY_DATA0' => '9265654992', 'WEBPAY_ID_COMPANY' => 'VQ8A', 'WEBPAY_ID_BRANCH' => '0006', 'WEBPAY_USER' => 'VQ8ASIUS4', 'WEBPAY_PASSWORD' => 'QRPM955KDC', 'WEBPAY_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'WEBPAY_ENDPOINT_URL' => 'https://bc.mitec.com.mx/p/gen', 'CAITOKEN_DATA0' => '9265654992', 'CAITOKEN_ID_COMPANY' => 'VQ8A', 'CAITOKEN_ID_BRANCH' => '0006', 'CAITOKEN_COUNTRY' => 'MEX', 'CAITOKEN_USER' => 'VQ8ASIUS4', 'CAITOKEN_PASSWORD' => 'QRPM955KDC', 'CAITOKEN_ENCRYPTION_KEY' => '828E3BA4E010833CB1CD1B6D3C8EF5FF', 'CAITOKEN_URL' => 'https://vip.e-pago.com.mx/pgs/CargoAutTokenXml', 'CAITOKEN_MERCHANT' => '248955', 'ORIGINAL_REQUEST_METHOD' => 'GET' ] [protected] url => 'invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] base => '' [protected] webroot => '/' [protected] here => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [protected] _input => null [protected] _detectors => [ 'get' => [ 'env' => 'REQUEST_METHOD', 'value' => 'GET' ], 'post' => [ 'env' => 'REQUEST_METHOD', 'value' => 'POST' ], 'put' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ], 'patch' => [ 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ], 'delete' => [ 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ], 'head' => [ 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ], 'options' => [ 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ], 'ssl' => [ 'env' => 'HTTPS', 'options' => [ [maximum depth reached] ] ], 'ajax' => [ 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ], 'flash' => [ 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ], 'requested' => [ 'param' => 'requested', 'value' => (int) 1 ], 'json' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'json' ], 'xml' => [ 'accept' => [ [maximum depth reached] ], 'param' => '_ext', 'value' => 'xml' ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [] [protected] stream => object(Zend\Diactoros\PhpInputStream) { [protected] resource => resource [protected] stream => 'php://input' [private] cache => '' [private] reachedEof => false } [protected] uri => object(Zend\Diactoros\Uri) { base => '' webroot => '/' [protected] allowedSchemes => [ [maximum depth reached] ] [private] scheme => 'https' [private] userInfo => '' [private] host => 'donativo-fundacion.udg.mx' [private] port => null [private] path => '/invoices/requestInvoice/a543a839-c54d-49ff-aeeb-05c53c7b9775' [private] query => '' [private] fragment => '' [private] uriString => null } [protected] session => object(Cake\Http\Session) { [protected] _engine => null [protected] _started => null [protected] _lifetime => '0' [protected] _isCLI => false } [protected] attributes => [] [protected] emulatedAttributes => [ (int) 0 => 'session', (int) 1 => 'webroot', (int) 2 => 'base', (int) 3 => 'params', (int) 4 => 'here' ] [protected] uploadedFiles => [] [protected] protocol => null [protected] requestTarget => null [private] deprecatedProperties => [ 'data' => [ 'get' => 'getData()', 'set' => 'withData()' ], 'query' => [ 'get' => 'getQuery()', 'set' => 'withQueryParams()' ], 'params' => [ 'get' => 'getParam()', 'set' => 'withParam()' ], 'cookies' => [ 'get' => 'getCookie()', 'set' => 'withCookieParams()' ], 'url' => [ 'get' => 'getPath()', 'set' => 'withRequestTarget()' ], 'base' => [ 'get' => 'getAttribute("base")', 'set' => 'withAttribute("base")' ], 'webroot' => [ 'get' => 'getAttribute("webroot")', 'set' => 'withAttribute("webroot")' ], 'here' => [ 'get' => 'getAttribute("here")', 'set' => 'withAttribute("here")' ] ] } object(Cake\Http\Response) { 'status' => (int) 200, 'contentType' => 'text/html', 'headers' => [ 'Content-Type' => [ (int) 0 => 'text/html; charset=UTF-8' ] ], 'file' => null, 'fileRange' => [], 'cookies' => object(Cake\Http\Cookie\CookieCollection) { [protected] cookies => [[maximum depth reached]] }, 'cacheDirectives' => [], 'body' => '' }
// Bind your application to the server. |
|
$server = new Server(new Application(dirname(__DIR__) . '/config')); |
|
|
|
// Run the request/response through the application and emit the response. |
|
$server->emit($server->run()); |
|
|
No arguments
If you want to customize this error message, create src/Template/Error/error400.ctp