Do not display payment and shipping in the checkout process

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!
User avatar
aimeos
Administrator
Posts: 7892
Joined: 01 Jan 1970, 00:00

Re: Do not display payment and shipping in the checkout process

Post by aimeos » 26 May 2022, 08:08

Payment status "authorized" is OK and expected in your case but don't mix up payment status of the order itself and the payment status of the ordered product items displayed in the order detail view of the admin backend.

Can you check if the mshop_order_status table already contains status entries that the e-mails have been sent?

You can also check here in the code if the orders are processed at all:
https://github.com/aimeos/ai-client-htm ... #L116-L124
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

maco01
Posts: 21
Joined: 16 Mar 2022, 10:37

Re: Do not display payment and shipping in the checkout process

Post by maco01 » 01 Jun 2022, 06:42

There is only an entry for stock-update and coupon-update for each order in the table mshop_order_status. Nothing else.

maco01
Posts: 21
Joined: 16 Mar 2022, 10:37

Re: Do not display payment and shipping in the checkout process

Post by maco01 » 01 Jun 2022, 08:04

I suspect that the request process is still stuck at the payment verification. At the end of the request, 'You will now be forwarded to our payment provider' still appears. No payment method is active in the shop configuration and delivery and payment are set to no in the "Checks for required services" plugin. If I click continue I get to the confirmation page and the order appears in the Typo3 backend. However, I suspect that the request was not carried out correctly, since the shopping cart is not emptied either.

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

Re: Do not display payment and shipping in the checkout process

Post by aimeos » 01 Jun 2022, 09:42

As long as the payment status is set to "pending", "authorized" or "received", the e-mails should be sent even if there's no payment and delivery service item in the order:
https://github.com/aimeos/ai-client-htm ... andard.php

Are there any errors in the Log panel of the admin backend after you've executed the scheduler task for sending the order confirmation emails?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

maco01
Posts: 21
Joined: 16 Mar 2022, 10:37

Re: Do not display payment and shipping in the checkout process

Post by maco01 » 09 Jun 2022, 14:38

Yes, there are entrys:
Error while trying to send payment e-mail for order ID "34" and status "5": Parameter "ai__d_name" for route "ai_0" must match "[^/]++" ("<p>product name</p>

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

Re: Do not display payment and shipping in the checkout process

Post by aimeos » 11 Jun 2022, 17:05

Where does the additional "<p>" tags come from? They are causing the problem because I guess.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

maco01
Posts: 21
Joined: 16 Mar 2022, 10:37

Re: Do not display payment and shipping in the checkout process

Post by maco01 » 12 Jun 2022, 15:27

The p-tag is automatically generated in the text editor (aimeos -> catalog -> products -> sample product -> texts -> name).
Even if I delete the p-tag with the source button in the editor and click on save the p-tag ist generated again.

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

Re: Do not display payment and shipping in the checkout process

Post by aimeos » 16 Jun 2022, 09:21

The <p> tags are inserted by CKEditor 5 but automatically removed before saving:
https://github.com/aimeos/ai-admin-jqad ... #L290-L294

Can you check if you use the latest version and if there's a problem in your setup?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply