Topic-icon Empty Address in HikaShop on JFBConnect registration

Active Subscriptions:

None
Hi, I am experiencing the following issue:

when registerin with JFBConnect, an empty address record is added to HikaShop user address table. This is important, because it allows the user to finnish his order without providing real address information.

This happens on Automatic registration enabled only.
I've attached screenshot of the JFBConnect general settings tab and I may provide admin access if needed

there is the site: madein-bg.com

Regards!
File Attachment:
The topic has been locked.
Support Specialist
11 years 3 months ago #51190 by mel
If you switch Automatic Registration off, and set JFBConnect > Profile settings for 'Show Profile Fields' to All and 'Show Imported Fields' to 'Yes', is the location information shown/imported when JFBConnect's user registration form is displayed?
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #51193 by filiar
If location information means Address information, then yes. It is displayed.
The topic has been locked.
Support Specialist
11 years 3 months ago #51195 by mel
Could you PM me superadmin credentials then so I can take a look?

[Edited to add] If possible, could you also give FTP credentials; I think I will have to add some debugging statements to see what's going wrong.

-Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #51206 by filiar
Hi, Melissa.

I was thinking a lot and found that we could switch off Automatic registration. That way an empty address would no longer be generated. But another issue appears:

On required field validation messages no field names are displayed. Messages just say Invalid field:
The topic has been locked.
Support Specialist
11 years 3 months ago #51228 by mel

On required field validation messages no field names are displayed. Messages just say Invalid field:

There was a bug in our HikaShop social profiles plugin which prevented the field name from being shown correctly. I've updated this on your site.

I was thinking a lot and found that we could switch off Automatic registration. That way an empty address would no longer be generated.

If that's what you want to do, that's fine. I fixed the other issue. By the way, it seems like you haven't put your Facebook application through review, so I cannot test automatic registration. The address is not getting pulled in for me now at all, because your app has not been approved to use the user_location permission. Once it goes through review, I can help you again if you'd like to change it back to Automatic Registration enabled.

-Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago - 11 years 3 months ago #51264 by filiar
Thank You for the fast support, Melissa.

mel wrote: There was a bug in our HikaShop social profiles plugin which prevented the field name from being shown correctly. I've updated this on your site.


Could you tell me which files did you modify, so that we could use the editions later (in case they are affected by the future updates).

mel wrote:

I was thinking a lot and found that we could switch off Automatic registration. That way an empty address would no longer be generated.

If that's what you want to do, that's fine. I fixed the other issue. By the way, it seems like you haven't put your Facebook application through review, so I cannot test automatic registration. The address is not getting pulled in for me now at all, because your app has not been approved to use the user_location permission. Once it goes through review, I can help you again if you'd like to change it back to Automatic Registration enabled.

-Melissa


Yes, finally we decided to switch auto reg off. This means that each of the required address fields should be filled in at this stage. But there is one more issue - some of the required fields in HS address don't seem to apear in JFB reg form. Find 'address_address' and 'address_state' in HS->Display->Custom.

Please could you check that.
Thank You!
Last edit: 11 years 3 months ago by filiar.
The topic has been locked.
Support Specialist
11 years 3 months ago #51272 by mel

Could you tell me which files did you modify, so that we could use the editions later (in case they are affected by the future updates).

I have already checked in the change so it will be included in the next JFBConnect release, but the file that I modified was /plugins/socialprofiles/hikashop/hikashop.php

Yes, finally we decided to switch auto reg off. This means that each of the required address fields should be filled in at this stage. But there is one more issue - some of the required fields in HS address don't seem to apear in JFB reg form. Find 'address_address' and 'address_state' in HS->Display->Custom

Please ensure that the Social profiles setting for 'Show Profile Fields' is set to All, since those fields will probably not be mapped since Facebook doesn't break out those fields anymore. Also, 'Show Imported Fields' should be Yes. Let me know if this helps.

-Melissa
The topic has been locked.
Active Subscriptions:

None
11 years 3 months ago #51289 by filiar

mel wrote:

Yes, finally we decided to switch auto reg off. This means that each of the required address fields should be filled in at this stage. But there is one more issue - some of the required fields in HS address don't seem to apear in JFB reg form. Find 'address_address' and 'address_state' in HS->Display->Custom

Please ensure that the Social profiles setting for 'Show Profile Fields' is set to All, since those fields will probably not be mapped since Facebook doesn't break out those fields anymore. Also, 'Show Imported Fields' should be Yes. Let me know if this helps.

-Melissa


Hi, Melissa. I checked it.
Both 'Show Profile Fields' is set to All and 'Show Imported Fields' is set to 'Yes', but still some of the required fields, as those mentioned above do not appear.
Regards, Iliya
The topic has been locked.
Support Specialist
11 years 3 months ago #51294 by mel
Would you mind sending me a PM with super admin credentials to your backend? I would like to compare the configurations of HikaShop and JFBConnect with my test site that is working for this.
The topic has been locked.