Enabling wallet payment by face recognition
This article, the second of a series based on DSP project and focused on face recognition, shows step by step how to implement a way to process wallet payment authorization.
Windows Phone 8
A new interesting feature of Windows Phone 8 is certainly the Wallet and Deals APIs which allows users to do the following:
- Collect coupons, credit cards, memberships, loyalty cards, and more in one place.
- Manage the payment instruments that they use in the app and music store.
- Link items in the Wallet to apps on their phone.
- Make contactless transactions, using Near-Field Communication (NFC), in some markets.
The Wallet API offers full programmatic access to the Wallet. It allows you to create, read, update, and delete Wallet items to implement Deals or Payments.
Deals are useful to manage coupons, loyalty cards, Payment instrument manage a balance on an account maintained by your backend.
In order to use Wallet API in Windows Phone 8 you need to specify in the WMAppManifest.xml the following reqiored capabilities otherwise your app might not work correctly or it might fail the process of submission to the Store.
|Capability||API that requires this capability|
|ID_CAP_WALLET||Required for all Wallet API, which is anything in Microsoft.Phone.Wallet or Microsoft.Phone.SecureElement.|
|ID_CAP_WALLET_PAYMENTINSTRUMENTS||Required for PaymentInstrument and OnlinePaymentInstrument.|
|ID_CAP_WALLET_SECUREELEMENT||Required for SecureElementSession, SecureElementChannel and SecureElementReader.|