Blog / Tech / ios development

How to Integrate Facial ID for Payment into Your App & Web Store

  • Rating — 5 (4 votes)
  • by Tony
  • Updated on October 16, 2019
  • Read —
    4-5 minutes
Face Id for payments

You’ve probably already heard of a new case study from China. The country has successfully deployed facial recognition technology for a number of different purposes, including service that lets KFC customers pay for orders with their faces.

Unsurprisingly food giant took advantage of all media coverage, but what’s more interesting is a facial recognition system supported by Alibaba payment service that has steadily accumulated all customer data including their faces.

Alibaba proved that making purchases can be as easy as making selfies and you too can get use of such brilliant technology by using Face ID system. The system was recently introduced with new iPhone and it promises even bigger advantages.

smile-to-pay

Face ID is a face authentication system for unlocking iPhone and protection of data within it. In its core Face ID is based on true depth system, specialized neural network, and mechanisms that adapt over time to changes on user’s face. The system acquires information through the mix of sensors: an infrared sensor, flood illuminator, and dot projector.

All these exquisite technologies effectively raised the bar of biometric security standards. The chance that a random person can look at your iPhone and unlock it is 1 in 1,000,000. For comparison, Touch ID has 20 times higher chances (1 in 20,000) that a random person can unlock your device.

Of course, such system can be successfully applied to one of the most sensitive activities of our everyday lives – payments. Face ID works with Apple Pay. In order to pay for things, the user should just double-tap the button on the side of iPhone (fast access face recognition activation key) and look at the screen to authenticate and hold the device near the payment terminal. It’s that easy!

Face ID can be used to make purchases:

  • In a store, using NFC module in the payment terminal.
  • Online, within an app or on e-commerce store in Safari.

What’s better, Face ID works with third-party apps like Mint, 1Password, E-Trade, etc. Thus, your app can be the next one that supports Face ID payments, just like it supports Touch ID.

First Steps: Integration of Facial Payments in Web Store or Mobile App

Face Id setupCurrently, users can enable Face ID for payment only through the Apple Pay service. Therefore, if you want to include facial recognition for online payment in your app, first you need to integrate with Apple Pay.

Apple Pay Advantages and Disadvantages

Few good things about Apple Pay:

  • Apple Pay works across all Apple devices: iPhones, iPads, MacBooks, iWatches.
  • The service works with Visa, Mastercard, American Express, Discover, Interac, eftpos, China Union Pay, Suica, the iD and QUICPay networks, and most card issuers and payment providers.
  • By processing transactions via Apple Pay, you don’t handle credit card numbers of your customers. Thus, you get rid of all the headaches associated with the processing of personal information. Which is great, because you don’t need to deal with extra encryptions and compliances. Plus, Liability for transactions might shift to the issuer.
  • A small bonus: Apple Pay transactions might be treated more favorably than standard transactions with a plastic card if they are processed in the web.
There are NO additional fees to accept Apple Pay!

There is, however, some geographical and financial limitation:

Here’s a list of countries and regions that support Apple Pay. You can add your credit, debit, or prepaid cards from participating banks and card issuers in these countries and regions.

In addition, there is also can be a limit on purchases made through Apple Pay depending on the country you operate or your users might need to enter a PIN for purchases over a certain sum. Hopeful, if your product doesn’t cost more than $25 (and most of apps don’t cost more than that) you won’t hit this cup.

Integration

apple-pay wallet face id

  • First, in order to integrate with Apple Pay you need to register and configure your developer account for Apple Pay. We usually configure one while developing a mobile app.
  • Secondly, it is absolutely required to configure the sandbox environment to test you Apple Pay account without actually transferring money back and forth. This stem is usually done by our QA team.
  • Then you either integrate Apple Pay into your mobile app or web store.

Mobile App Face ID Integration

In order to turn on Face ID and all other authorization payment methods in your app you’ll need to enable the PassKit framework and Apple Pay capabilities in Xcode.

The PassKit framework lets you add Apple Pay to your app or manage passes in the Wallet app, so users could manage their payment cards for Apple Pay. You would also need to register a merchant ID and create a Payment Processing certificate, which is a cryptographic key that is used to securely send payment data to your server.

Facial Recognition for E-commerce

On the other hand, if you want to turn on facial recognition across your web store you will need to set up the Apple Pay JS API. It is a universal script that lets your web store accept Apple Pay payments on the web via Safari browser. Of course, you’ll still need to enter your personal token and keys out there, but this is another story.

Bottom Line

Sadly, but our iOS developer has run out of time and can’t give more hints on how to integrate Apple Pay and Face Id payments. But here’s a link to official development guide, and if you possess skills required to walk it through by your own, that is absolutely awesome and we wish you good luck.

For those of you who want to enable full Face ID capabilities, identify customers, and let them pay with a glimpse – Contact us! We know how to make it right!

Tony Tony Sol is the business development manager of GBKSOFT, overseeing the production of all writings for both internal blog and external platforms. He is technical-driven person always looking for new benefits of merging business and software.

Leave a comment
Close

Leave a Reply

Related services

Categories

All articles Business Company News Marketing Tips StartUp App Ideas Tech UI and Design

People are talking about

You've got
a project in mind

What's next?

Send us a message with a brief description of your project.
Our expert team will review it and get back to you within one business day with free consultation and next steps.

Testimonials

Nothing can be better than getting a review from our happy clients
who recommend us and trust us their business.

Gireesh, USA
One word...EXCELLENT.
Very well thought out and articulate communication. Clear milestones, deadlines and fast work.Patience. Infinite patience. No shortcuts. Even if the client is being careless (me). The best part...always solving problems with great original ideas, especially with this strange project where we are making up new words every day!
Excellent
Dave
GBKSOFT’s performance has been very strong. We've referred them twice, which says all anyone needs to know about them. A referral is the ultimate signal we can give that these guys are great. Strong
Andy
I think they do great work. I haven’t yet given them something that they were unable to do. Great
Tao
GBKSOFT did a good job to manage the project. They put in a good effort to communicate with us and make it easier for us to communicate with developers. Good Job
Devan
They write clean code, adhere to deadlines, and communicate extremely well. I strongly recommend anyone from the GBKSOFT agency and hope to work with them again myself. Clean Code
Aaron
I’ve been using GBK Soft for the past 3 years and they have been great. Communication is unparalleled to other app development companies. I’ve continued to return to them to improve my iOS app countless times and I will continue to do so in the future. I highly recommend this company! Improve
Jonathan
More good work from team GBKSOFT. All well executed. The support within GBKSOFT is excellent. Communication is good too, spoken English as well as written. Support
Raphael
My Project with GBKSOFT gave me the ability to develop my software while keeping a busy schedule. Ana, who was my project manager, was very professional and was always understanding of my vision and what I wanted. I would recommend GBKSOFT again to any other company or person who has a vision for their web application. Thank you GBKSOFT! Recommend
Garrett
They proved to be very good and they’re very reliable as well. They are quite conscientious. They will go the extra yard to make sure we're happy. Reliable
19
spinner