&cHash empty

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
RetDen
Posts: 4
Joined: 05 May 2023, 18:56

&cHash empty

Post by RetDen » 05 May 2023, 22:39

I installed aimeos dist typo 11.

In the Checkout i get the message:
The page did not exist or was inaccessible. Reason: Request parameters could not be validated (&cHash empty)

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: &cHash empty

Post by aimeos » 09 May 2023, 12:36

Where exactly do you get that error?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

RetDen
Posts: 4
Joined: 05 May 2023, 18:56

Re: &cHash empty

Post by RetDen » 09 May 2023, 19:05

After Payment in "https://localhost/confirm?action=confir ... r=Checkout"

404
Page Not Found
The page did not exist or was inaccessible. Reason: Request parameters could not be validated (&cHash empty)


Header
Anfrage-URL:
https://localhost/confirm?action=confir ... r=Checkout
Anfragemethode:
POST
Statuscode:
404 Not Found
Remote-Adresse:
[::1]:443
Richtlinien Für Verweis-URL:
strict-origin-when-cross-origin
Cache-Control:
no-cache, must-revalidate
Connection:
Keep-Alive
Content-Length:
4492
Content-Type:
text/html; charset=utf-8
Date:
Thu, 11 May 2023 12:14:27 GMT
Expires:
0
Keep-Alive:
timeout=5, max=88
Last-Modified:
Thu, 11 May 2023 12:14:27 GMT
Pragma:
no-cache
Server:
Apache/2.4.56 (Win64) OpenSSL/1.1.1t PHP/8.2.4
X-Content-Type-Options:
nosniff
X-Powered-By:
PHP/8.2.4
X-Ua-Compatible:
IE=edge
Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding:
gzip, deflate, br
Accept-Language:
de-DE,de;q=0.9,en-US;q=0.8,en;q=0.7
Cache-Control:
max-age=0
Connection:
keep-alive
Content-Length:
12
Content-Type:
application/x-www-form-urlencoded
Cookie:
cookieconsent_status=dismiss; be_typo_user=b7e6cf591e20bf02a059712c797acd6a; Typo3InstallTool=1re3413panulft84d6sf1dd5t7; fe_typo_user=9927eb58ecc814a19f72f78ddf972ed6
Host:
localhost
Origin:
https://localhost
Referer:
https://localhost/checkout?ai%5Baction% ... 5D=process
Sec-Ch-Ua:
"Google Chrome";v="113", "Chromium";v="113", "Not-A.Brand";v="24"
Sec-Ch-Ua-Mobile:
?0
Sec-Ch-Ua-Platform:
"Windows"
Sec-Fetch-Dest:
document
Sec-Fetch-Mode:
navigate
Sec-Fetch-Site:
same-origin
Upgrade-Insecure-Requests:
1
User-Agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36



Nutzlast:
action: confirm
code: demo-sepa
controller: Checkout
cp_payment: 1
Last edited by RetDen on 09 May 2023, 20:42, edited 2 times in total.

RetDen
Posts: 4
Joined: 05 May 2023, 18:56

Re: &cHash empty

Post by RetDen » 11 May 2023, 12:16

i updated question

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: &cHash empty

Post by aimeos » 12 May 2023, 07:30

Can you add that line to the ext_localconf.php of the Aimeos extension in your installation, flush all caches and try again?
https://github.com/aimeos/aimeos-typo3/ ... f.php#L291

It's already there for TYPO3 12 and it may be required for TYPO3 11 too due to a change in a TYPO3 minor release.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

RetDen
Posts: 4
Joined: 05 May 2023, 18:56

Re: &cHash empty

Post by RetDen » 16 May 2023, 08:10

I added it in the LocalConfiguration.php and it worked, thank you very much!

Code: Select all

    'FE' => [
        'cacheHash' => [
            'enforceValidation' => true,
            'excludedParameters' => ['controller', 'action', 'code']
        ],

Post Reply