You need to supply a telephone number to help authentication and verification.

Created on 5 February 2024, 12 months ago
Updated 26 March 2024, 10 months ago

When checking out as a guest and the My billing information is the same as my shipping information. when clicking Continue to review you get the error:

You need to supply a telephone number to help authentication and verification.

📌 Task
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom c_archer Cumbria

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @c_archer
  • 🇬🇧United Kingdom c_archer Cumbria
  • 🇬🇧United Kingdom c_archer Cumbria

    So in validateTelephoneNumber we're checking for billing address but at the time the user clicks submit and we try and find the phone number the profile info has not been copied.

  • Assigned to mwjansen
  • 🇬🇧United Kingdom mwjansen Bristol
  • 🇬🇧United Kingdom mwjansen Bristol

    I'm going to introduce some options to sidestep the issue.

    it will be possible to have a telephone field with the payment details fields, configurable:

    * As a plain text field (default): easy to set up but customer will need to type in international format '+44.....' themselves
    * Using a 'Phone International' type field, looks nice with the flag and should normally reformat the input to 'international' format but needs site admin to properly configure 'Phone International'

    Anybody who would rather have the current approach of putting a telephone field with the 'Customer' profile type can still have that, with some provisos:
    * If you make the field required then it kind of interferes with the auto-recalculation of the shipping rates. This is just how that bit of commerce shipping logic is done at the moment outside of my remit.
    * If you don't make the field required then the customer could leave it empty. If they tried to submit it would then show a notice that the field should be filled in.

  • Status changed to Needs review 11 months ago
  • 🇬🇧United Kingdom mwjansen Bristol

    Beta4 release: you can now have a 'Telephone Number' field generated under the card details on the checkout and take the phone number off the 'Customer' profile type (you can leave it on but un-check required if you want)

  • 🇬🇧United Kingdom mwjansen Bristol
  • 🇬🇧United Kingdom c_archer Cumbria

    I can't see any reference in the API docs to us needing to send a phone number? https://developer.elavon.com/products/opayo/v1/submit-transactions-from-...

  • 🇬🇧United Kingdom mwjansen Bristol

    It's in the api reference, look for 'Create a Transaction'

    One of its request payload parameters is:

    customerPhone
    required
    string (customerPhone) <= 19 characters
    Customer's home phone number (this could also be the same as their mobile phone number if they do not have a home phone). The customerPhone must be in the format of + and country code and phone number. Example: For a UK phone number of 03069 990210, you will submit the following: +443069990210. This must be provided for 3D Secure checking and fraud screening purposes.

  • 🇬🇧United Kingdom mwjansen Bristol
  • Status changed to Closed: works as designed 10 months ago
Production build 0.71.5 2024