Payment email exception for payed orders
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!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Re: Payment email exception for payed orders
I found it.
In the execute function you call self::context($tsconf, $pid) before $context->config()->apply($conf).
But in self::context($tsconf, $pid) the view is already created with the old config of the context.
Maybe it's enough to swap the two lines or does that affect the rest of the code?
In the execute function you call self::context($tsconf, $pid) before $context->config()->apply($conf).
But in self::context($tsconf, $pid) the view is already created with the old config of the context.
Maybe it's enough to swap the two lines or does that affect the rest of the code?
PHP 8.2.24
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Re: Payment email exception for payed orders
You can't swap the two lines but maybe it's enough to swap $conf and $tsconf variables.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Payment email exception for payed orders
You're right, I've written faster than thinking 
Inside the context function you use i18n from $tsconf.
https://github.com/aimeos/aimeos-typo3/ ... se.php#L97
I don't know if that works.You can't swap the two lines but maybe it's enough to swap $conf and $tsconf variables.
Inside the context function you use i18n from $tsconf.
https://github.com/aimeos/aimeos-typo3/ ... se.php#L97
PHP 8.2.24
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Re: Payment email exception for payed orders
Maybe using apply for both config arrays works better:
Code: Select all
$context->config()->apply($conf)->apply($tsconfig);
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Payment email exception for payed orders
You mean here after creating the $context https://github.com/aimeos/aimeos-typo3/ ... se.php#L79 ?
Because the context() function requires the config as parameter.
Because the context() function requires the config as parameter.
PHP 8.2.24
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Re: Payment email exception for payed orders
Yes, because you can pass the $tsconf variable to the context() method nevertheless.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Payment email exception for payed orders
Then I think that is the possible solution?
PHP 8.2.24
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Re: Payment email exception for payed orders
Yes, if it works?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: Payment email exception for payed orders
It works!
Should I create a pull request?
Should I create a pull request?
PHP 8.2.24
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Typo3 v12.4.23 LTS
Aimeos web shop 24.10.2
Re: Payment email exception for payed orders
Yes, please!
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
