Phone number without full login?

  • Posts: 16
  • Thank you received: 2
3 years 5 months ago #332869

-- HikaShop version -- : HikaShop Essential: 4.4.2
-- Joomla version -- : Joomla version, 3.9.26

Hi!
I have managed to get a guest registration with only email address for my downloadabel products. It works very well with bank transfer payment.
Now I am implementing Vipps payment plugin from Hikashop. Vipps requires a phone number before checkout.
I have searched the Forum and it seems that you have to ad back the full login view.
1. Can this be done in a simpler way less intimidating for customers?
2 Could we at least get rid of the blockages in “Fields marked with an asterix (x) are required”.
Then we could say: just fill in the phone number and email address. Leave the rest open. (still scary, but more simple)
Regards

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 5 months ago #332870

Hi,

There are several ways to go about it.
One solution is to create a custom field of the table "order" to ask the phone number during the checkout (business edition only) and then modify the vipps plugin to use that custom order field instead of the address phone custom field. It should be just one line of code and if you contact Tsukidev ( This email address is being protected from spambots. You need JavaScript enabled to view it. ), the developer of the plugin, they should be able to tell you what to do.

Besides that solution, you will need to have the "login" view back in your checkout workflow.
Now regarding the required fields on that registration / guest form, there are two types of fields:
- the address fields can be disabled if you turn off the "ask address during registration" setting of the HikaShop configuration. And if you want to keep them, you can disable some of them and not have them required via the settings in the System>Custom fields menu.
- the name/username/email/password fields. While you don't have as much control on them as you have for custom address fields, if you want to keep only the email field, you can either set the "registration" setting to "guest" in the HikaShop configuration (that's the simplest since the customer won't get a user account), or to "simplified registration" to still have a registration, but with only the email field ( in that second case, the email will become the username, and the password will be generated automatically and provided to the customer in the email he will receive after the registration).

Last edit: 3 years 5 months ago by nicolas.

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 2
3 years 5 months ago #332923

Thank you so much for a comprehensive answer. I will get back to you as soon as I can. I will now first try a third solution.

To my great surprise, the plugin played right out of the box. That is, in Vipp's test environment. Vipps delivers test api's, a test merchant, and a fake phone number, a fallback url and even some money to try out the payment before going live.
Everything worked, the payment triggered mails with download links. And best of all, not Hikashop, not Joomla, but Vipps asked the customer for the phone number. Brilliant. I changed the fallback to my own, and still everything worked, so I put the production keys in the plugin and went live.

Result: nothing worked. No email, just an error message that Vipps required phone number before checkout.

But I can not forget that Vipps asked the customer for the phone number in the test environment. Is it possible to achieve the same live?
I have sent requests to the plugin creator and to the Vipps crew, but they are not as fast as you in answering. Let's wait a little longer.

Regards
Svein-Erik

Please Log in or Create an account to join the conversation.

  • Posts: 137
  • Thank you received: 33
  • MODERATOR
3 years 5 months ago #332932

Hello Svein-Erik,

Thank you for your feedback ! We correctly received and answered your email, so let's continue via email.

Kind regards,
Mohamed.
Tsuki Dev
tsukidev.contact[at]gmail[dot]com


Kind regards,
Mohamed.
Tsuki Dev
tsukidev.contact[at]gmail[dot]com

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum