Vinai / customer-activation

Magento extension which makes it impossible for a customer to log in until the account has been activated by the administrator.
120 stars 59 forks source link

Customer Activation and VAT group assignment issue #16

Closed Vinai closed 10 years ago

Vinai commented 11 years ago

Quote from email:

I have installed your Customer Activation extension together with your Login Only Catalog extension installed on magento CE v1.7.0.2 running a multi-store configuration. I am using your extensions to implement wholesaler functionality to one of my stores.

First of all compliments on 2 very nice extensions.

I have an issue with the Customer Activation extension which you may be able to help with. When a customer visits the store in question they are correctly required to first register before they can view the catalog - perfect! However, I have enabled System -> Customer Configuration -> Enable Automatic Assignment to Customer Group and System -> Configuration -> Show VAT Number on Frontend in my magento admin. The purpose here is that when an EU VAT registered entity attempts to register as a wholesale customer they can enter their EU VAT ID, my store will validate the VAT ID and then the customer will be automatically assigned to the EU VAT ID Validated Customer Group.

Normally, without your extensions installed and having these two magento admin options enabled, then when a new customer registers for an account the behaviour is that the visitor enters their First Name, Last Name, Email Address and Password and clicks on Submit. The new registration is accepted and the user is prompted in the messages area to enter their EU VAT ID if they have one (see attached screenshot1.jpg).

With your extensions installed and enabled, then when a new customer registers for an account the behaviour is that the visitor enters their First Name, Last Name, Email Adddress and Password and then clicks on Submit. Their request to register keeps them on the login screen and a message is displayed in the messages area stating "Please await for your account to be activated" which is perfect but, in addition to this message, the message "If you are a registered VAT customer, please click here to enter you shipping address for proper VAT calculation" also appears (see attached screenshot2.jpg) which is a problem. When the customer clicks on the "click here" link the login page just reloads. The option to "enter a shipping address for proper VAT calculation" should not appear at this point and should instead appear only on the customer's account dashboard after their customer account has been activated by admin.

Can you let me know if this issue has already been reported to you and what changes I need to apply to resolve this issue?

image

ianfrancisryan commented 11 years ago

Hi Vinai

Thanks for your reply on Magento Connect. I will direct any further comment to this GitHub thread.

Do you know when you might get a chance to take a look at this issue?

Ian

Vinai commented 11 years ago

Hope to get it done sometime next week.

ianfrancisryan commented 11 years ago

Hi Vinai

Thanks for the reply. I would have a go at the customisation myself but it is a little outside my comfort zone :-)

Ian

ianfrancisryan commented 11 years ago

Hi Vinai

Have you had a chance to take a look at and resolve this issue with the Customer Activation extension?

Ian

Vinai commented 11 years ago

No. If I had, I would have updated the issue.

ianfrancisryan commented 11 years ago

Ok. Understood

ianfrancisryan commented 11 years ago

Hi Vinai

Do you have any indication as to when you might be in a position to take a look at this issue?

Thanks

Ian

Vinai commented 11 years ago

At the moment no ETA, sorry.

Vinai commented 10 years ago

I'm very sorry for the delay, I'm looking into this issue at the moment and hope to be able to give a proper reply quite soon.