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?
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
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, give us a star
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
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
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, give us a star
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.
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
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, give us a star
Re: Payment email exception for payed orders
Then I think that is the possible solution?
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
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, give us a star
Re: Payment email exception for payed orders
It works!
Should I create a pull request?
Should I create a pull request?
Ubuntu 22.04.01
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
PHP 7.4.30
Typo3 v11.5.21 LTS
Aimeos web shop 22.10.4-pre3
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, give us a star