Search found 3 matches

by Mikepo
Thu Jan 14, 2021 10:25 am
Forum: Advanced
Topic: customer_id create account
Replies: 5
Views: 748

Re: customer_id create account

Thank you Matt, changing the file/class name as suggested worked. I'm not totally understanding why?
Prior to the file name change the hook wasn't being called, checked by using an alert box in script.
Any way, thanks again!
by Mikepo
Wed Jan 13, 2021 2:50 pm
Forum: Advanced
Topic: customer_id create account
Replies: 5
Views: 748

Re: customer_id create account

ok, using the postAccountCreation hook call defined in create_account.php in 1.0.7.11, I could use code to create an entry in the action_recorder table. Now, in 1.0.7.12, postRegistration hook is added to replace postAccountCreation. I adjusted my hook accordlingly, but it does not seem to call the ...
by Mikepo
Thu Dec 31, 2020 2:52 pm
Forum: Advanced
Topic: customer_id create account
Replies: 5
Views: 748

customer_id create account

Hi,
I'm wanting to use the postAccountCreation hook in create_account.php, and utilise the customer_id. However the customer_id is part of the object class which is private.
How you I obtain the value for customer_id?