Giter VIP home page Giter VIP logo

williankeller / magento2-sign-in-with-phone-number Goto Github PK

View Code? Open in Web Editor NEW
50.0 8.0 22.0 89 KB

This extension allow your customers to login to your Magento store using their phone number.

License: Open Software License 3.0

PHP 51.36% HTML 48.64%
magento2 magento2-module magento2-extension magento2-login magento2-customer-login login-phone-number magento2-extension-free phone-number

magento2-sign-in-with-phone-number's Introduction

Sign in With Phone Number for Magento 2

This extension allow your customers to login to your Magento store using their phone number. Also it is possible to login using both (email or phone number) at the same field, this extension is capable to handle the field value and access the store with the provided data - Mobile login extention for Magento 2.

  • Login with mobile phone number or email.
  • Possibility to create account using mobile phone number.
  • Change phone number under customer dashboard.

Codacy Badge Build Status Packagist Downloads

Installation

Install via composer (recommended)

Run the following command in Magento 2 root folder:

composer require magestat/module-sign-in-with-phone-number
composer install

Using GIT clone

Run the following command in Magento 2 root folder:

git clone [email protected]:magestat/magento2-sign-in-with-phone-number.git app/code/Magestat/SigninPhoneNumber

Activation

Run the following command in Magento 2 root folder:

php bin/magento module:enable Magestat_SigninPhoneNumber
php bin/magento setup:upgrade

Clear the caches:

php bin/magento cache:clean

Configuration

  1. Go to STORES > Configuration > MAGESTAT > Sign in With Phone Number.
  2. Select Enabled option to enable the module.
  3. Under Settings tab, change the Sign in Mode to fit to your login process.

Uninstall

php bin/magento module:uninstall -r Magestat_SigninPhoneNumber

Contribution

Want to contribute to this extension? The quickest way is to open a pull request on GitHub.

Support

If you encounter any problems or bugs, please open an issue on GitHub.

Need help setting up or want to customize this extension to meet your business needs? Please open an issue and I'll add this feature if it's a good one.

magento2-sign-in-with-phone-number's People

Contributors

amadeco avatar viniciusfabri avatar williankeller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

magento2-sign-in-with-phone-number's Issues

[FEATURE] Default telephone number

Good morning,

First at all, thank you for your contribution to the community.

I would like to discuss with you about my first try and thought about your extension.
Indeed, do you think it will be a better implementation to integrate field telephone from billing address of our customers ?

By adding a new field in database, we add a new field in create account form so that is not the best to improve conversion action as you may know as we adding fields to a form it complicated registration process.
Moreover, by adding a new field "Phone" I think we would confuse customers, as they would think about their numbers in billing address or shipping address. My first guess as a customer would be to try either phone number entered in checkout process... don't you think ?

In pure implementation, always in my idea, I think it would be better to implement a default support of telephone field but only for mobile phone so we have no confusion anymore if we had a default phone or mobile phone in account.

In purely coding, it would be harder to detect mobile phone by country but so much easier for our customers.

Tell me what you think,

Ilan Parmentier

sigin in with phone number

screenshot
We have installed this extension and enabled it. But when trying to log in with a mobile number it doesn't work. And it is not worked In Magento login API also. Can you help with this please?

Fatal error: Uncaught Error: Call to a member function getField()

Module Install Successfully with magento 2.3.x version and registration is working
but sign in through Fatal Error

Fatal error: Uncaught Error: Call to a member function getField() on boolean in /home/partsppd/public_html/vendor/magento/module-eav/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor.php:66 Stack trace: #0 /home/partsppd/public_html/vendor/magento/module-eav/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor.php(48): Magento\Eav\Model\Api\SearchCriteria\CollectionProcessor\FilterProcessor->addFilterGroupToCollection(Object(Magento\Framework\Api\Search\FilterGroup), Object(Magento\Customer\Model\ResourceModel\Customer\Collection\Interceptor)) #1 /home/partsppd/public_html/vendor/magento/framework/Api/SearchCriteria/CollectionProcessor.php(38): Magento\Eav\Model\Api\SearchCriteria\CollectionProcessor\FilterProcessor->process(Object(Magento\Framework\Api\SearchCriteria), Object(Magento\Customer\Model\ResourceModel\Customer\Collection\Interceptor)) #2 /home/partsppd/public_html/vendor/magento/module-customer/Model/ResourceModel/CustomerRepository.php(351): Magento\Framework\Api\SearchCriteria\CollectionPr in /home/partsppd/public_html/vendor/magento/module-eav/Model/Api/SearchCriteria/CollectionProcessor/FilterProcessor.php on line 66

OTP login is Not available

Expectation:

When any customer registers or wants to log in with a mobile number, it's cool but when the customer wants to get OTP to get a sign in. Then it will make an issue

Steps to produce the issue:

  1. Open website https://example.com
  2. try to sign in
  3. There exist to sign in via email and password.
  4. Login with OTP is not exist.

Add Travis CI

Implement integration with Travis CI to:

  • Install via composer
  • Validate Magento code standards

Make telephone number unique

Preconditions (*)
magento 2.3.2
Steps to reproduce (*)
I created 2 accounts with the same phone number
a:
Email: [email protected]
PhoneNumber: 47367898740
Pass: 123456A@amb
b:
Email: [email protected]
PhoneNumber: 47367898740
Pass: abcd@amb

Expected result (*)
=> The account sign-in was incorrect or your account is disabled temporarily. Please wait and try again later.

[not working with register throw REST api]

Message: Property "PhoneNumber" does not have accessor method "getPhoneNumber" in class 
"Magento\Customer\Api\Data\CustomerInterface". {"exception":"[object] (Exception(code: 0): 
Report ID: webapi-5e3297c69da7c; Message: Property \"PhoneNumber\" does not have accessor 
method \"getPhoneNumber\" in class \"Magento\\Customer\\Api\\Data\\CustomerInterface\". 
at /var/www/html/vendor/magento/framework/Webapi/ErrorProcessor.php:208, 
LogicException(code: 0): Property \"PhoneNumber\" does not have accessor method 
\"getPhoneNumber\" in class \"Magento\\Customer\\Api\\Data\\CustomerInterface\". at 
/var/www/html/vendor/magento/framework/Reflection/NameFinder.php:100)"} []
var/log/debug.log:[2020-01-30 08:45:58] main.CRITICAL: Report ID: webapi-5e3297c69da7c; 
Message: Property "PhoneNumber" does not have accessor method "getPhoneNumber" in class 
"Magento\Customer\Api\Data\CustomerInterface". {"exception":"[object] (Exception(code: 0): 
Report ID: webapi-5e3297c69da7; Message: Property \"PhoneNumber\" does not have accessor 
method \"getPhoneNumber\" in class \"Magento\\Customer\\Api\\Data\\CustomerInterface\". at 
/var/www/html/vendor/magento/framework/Webapi/ErrorProcessor.php:208, LogicException(code: 0):
 Property \"PhoneNumber\" does not have accessor method \"getPhoneNumber\" in class 
\"Magento\\Customer\\Api\\Data\\CustomerInterface\". at 
/var/www/html/vendor/magento/framework/Reflection/NameFinder.php:100)"} []

Customer Phone Number

How can i get the customer phone number in my observer class when he clicks on register button. I need to send him a welcome SMS.

[FEATURE] if sign in from checkout it is login throuhg email it should also phone number

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.