Trigger for User creation

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!
cyrotek
Posts: 58
Joined: 27 Jun 2019, 16:43

Trigger for User creation

Post by cyrotek » 20 Feb 2020, 09:17

Hello,

right now the user is being created once the user hits buy now, wether its paid or not. Is it possible to have the user created once the payment is done or the status is not open at least?

A hint in the right - file - direction, would be appreciated.

Regards

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

Re: Trigger for User creation

Post by aimeos » 21 Feb 2020, 07:46

The customer account is created immediately to assign the customer ID to the order:
https://github.com/aimeos/ai-client-htm ... d.php#L229

You could remove the subpart by configuration and add the code to the checkout confirm component.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

cyrotek
Posts: 58
Joined: 27 Jun 2019, 16:43

Re: Trigger for User creation

Post by cyrotek » 04 Mar 2020, 10:51

Thanks for the feedback on that.
Do you have a hint on how I would remove the subpart by configuration and add it to the confirm page? I am a bit clueless.

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

Re: Trigger for User creation

Post by aimeos » 05 Mar 2020, 14:45

Remove "account" from that configuration:
https://aimeos.org/docs/Configuration/C ... d/subparts

Then create a new subpart for the checkout confirm component:
https://aimeos.org/docs/Developers/Html ... w_subparts

Finally, add it to that configuration:
https://aimeos.org/docs/Configuration/C ... d/subparts
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply