SYSTEMS, METHODS, AND COMPUTER PROGRAM PRODUCTS FOR PROVIDING A CONTACTLESS PROTOCOL
Systems, methods, and computer program products are provided for managing contactless transactions. An activation request is received. A first tap from a mobile device is identified. The first tap occurs when the mobile device is placed within a predetermined proximity to the system. A first select command including an AID corresponding to a first application is transmitted to the mobile device. A first response based on the first select command is received from the mobile device. A data request including information indicating supported data types is transmitted to the mobile device. A second response based on the data request and including transaction data is received from the mobile device.
This application claims priority to U.S. Provisional Application Nos. 61/651,276, filed May 24, 2012; 61/772,260, filed Mar. 4, 2013; and 61/794,545, filed Mar. 15, 2013. The contents of these applications are hereby incorporated by reference herein.
BACKGROUND1. Field
Example aspects described herein relate generally to contactless protocols and more particularly to systems, methods, and computer program products for providing a contactless protocol allowing interoperation between mobile devices, near field communication (NFC) readers, and point of sale (POS) systems.
2. Related Art
NFC technology is a standards-based wireless communication technology that allows data to be exchanged between devices that are positioned within a certain proximity, generally less than ten centimeters apart. One use of such NFC technology is for making contactless transactions, including those for payment, access and ticketing. For example, an NFC-enabled mobile device can be provisioned with a payment application and payment account information (i.e., credentials associated with a financial instrument such as credit or debit card) issued by a consumer's financial institution. Each payment application can store and manage multiple sets of commerce data associated with multiple merchants, manufacturers or brands on a secure element. The application and payment account information are typically encrypted and stored in a secure area in the mobile device. The mobile device can, in turn, use the NFC technology to communicate with NFC-enabled point of sale (POS) systems at attended locations such as stores and unattended locations such as vending machines. To pay, the consumer simply brings the mobile device to within approximately ten centimeters of a contactless payment-capable POS system and the transaction occurs. The process is typically the same as that used by the contactless credit and debit cards.
Placing the mobile device or contactless credit or debit card near an NFC-enabled reader so that they can be communicatively coupled is sometimes referred to as a “wave” or “tap”. An application for a mobile device that allows consumers to “tap to pay” at a NFC-enabled POS systems is generally referred to as a “wallet application” or “mobile wallet client application.” An application related to payments is generally referred to as a “payment” application. Common contactless payment applications are facilitated using any of the following technologies: American Express® “ExpressPay,” Discover® “ZIP,” Mastercard® “PayPass” or Visa® “PayWave”.
NFC can also be used to read information about products or receive special offers, loyalty or rewards information from, for example, NFC tags, smart posters or smart billboards. An application related to offers, loyalty and rewards is generally referred to herein as a “commerce” application.
One technical challenge associated with utilizing payment and commerce technologies cooperatively involves the ability to allow the same tap event that sends payment information to include additional information associated with merchant loyalty cards, offers, rewards, and the like. To this end, messaging technologies in existing NFC readers or NFC-enabled payment POS terminals stand to be upgraded to effectively support a messaging technology that retrieves and/or receives both payment credentials (using the aforementioned payment protocols) and additional commerce data (loyalty, offers, rewards, etc.) from mobile devices used to perform the transactions. Yet another technical challenge involves publishing commerce elements (e.g., offers, loyalty card credentials, rewards, and the like) into a mobile device such that those commerce elements may, in turn, be presented as part of a typical POS transaction (e.g., a purchase).
BRIEF DESCRIPTIONThe example embodiments presented herein meet the above-identified needs by providing systems, methods, and computer program products for providing a contactless protocol.
In one embodiment, a system for managing contactless transactions includes at least one processor. An activation request is received. A first tap from a mobile device is identified. The first tap occurs when the mobile device is placed within a predetermined proximity to the system. A first select command including an AID corresponding to a first application is transmitted to the mobile device. A first response based on the first select command is received from the mobile device. A data request including information indicating supported data types is transmitted to the mobile device. A second response based on the data request and including transaction data is received from the mobile device.
In another embodiment, a method for managing contactless transactions includes receiving an activation request; identifying a first tap from a mobile device, the first tap occurring when the mobile device is placed within a predetermined proximity to the a terminal; transmitting to the mobile device a first select command including an AID corresponding to a first application; receiving from the mobile device a first response based on the first select command; transmitting to the mobile device a data request including information indicating supported data types; and receiving from the mobile device a second response based on the data request, the second response including transaction data.
In another embodiment, a non-transitory computer-readable medium has sequences of instructions stored thereon for causing one or more processors to: receive an activation request;
identify a first tap from a mobile device, the first tap occurring when the mobile device is placed within a predetermined proximity to the terminal; transmit to the mobile device a first select command including an AID corresponding to a first application; receive from the mobile device a first response based on the first select command; transmit to the mobile device a data request including information indicating supported data types; and receive from the mobile device a second response based on the data request, the second response including transaction data.
The features and advantages of the example embodiments of the invention presented herein will become more apparent from the detailed description set forth below when taken in conjunction with the following drawings.
The example embodiments presented herein are directed to systems, methods and computer program products for providing a contactless protocol, which are now described herein in terms of an example merchant transaction. This description is not intended to limit the application of the example embodiments presented herein. In fact, after reading the following description, it will be apparent to one skilled in the relevant art(s) how to implement the following example embodiments in alternative embodiments (e.g., involving mass transit transactions requiring a wireless communications connection between a mass transit terminal and a mobile device).
The terms “application,” “applet,” “widget,” and/or the plural form of these terms are used interchangeably herein to refer to an application (functioning independently or in conjunction with other applications) or set or subset of instructions or code, which when executed by one or more processors (e.g., in a mobile device, card reader, terminal, point of sale (POS) system, or server) causes the processor(s) to perform specific tasks. For example, a wallet application can be used to conduct transaction- or interface-related functions such as storing, processing, accessing or transmitting financial, loyalty, offer, membership, or account data. A wallet application may also incorporate or interact with one or more payment applications, such as ExpressPay from American Express®, Discover® Network ZipSM, MasterCard® PayPass™ and Visa payWave™ payment applets.
Generally, commerce-related services are made available through a suite of applications available on several different platforms. The first application (or suite of applications) exists onboard a server within a mobile commerce (MoCom) platform. The MoCom platform is responsible for the management of consumer data, including loyalty accounts and offers. In addition, the MoCom platform serves as a campaign manager for offers, providing a remote data store for offers made available to the consumer via the available merchant portals within a wallet application.
A second application exist onboard a mobile device in the form of a wallet application. The wallet application provides the consumer's primary user interface (UI) and additional commerce application services through which the wallet application may access additional resources onboard a secure element (SE) of a mobile device.
A third application exists onboard a secure element of a mobile device in the form of JavaCard applet. This applet stores commerce-related data such as loyalty and offer data and provides an interface through which the data may be managed. The applet is accessible through the use of Application Protocol Data Unit (APDU) commands as defined in International Standards Organization (ISO) 7816-4.
The fourth application exists onboard an NFC-enabled reader (referred to herein simply as a “reader”). The reader can be either a stand-alone device or attached to (and managed by) a point of sale (POS) terminal. This application facilitates or provides access to the interface with a secure element on a mobile device, performing specific tasks that optimize the APDU command/data exchange tasks. For example, it includes the reading of loyalty or offer information following the placement of a mobile device in proximity of a reader (i.e., a “tap”).
A fifth application (or suite of applications) exists onboard a merchant POS system, including a POS terminal and any additional merchant-specific hardware/software. These applications manage the data related to payment/loyalty/offers/rewards received from a secure element on a mobile device via a reader. In most cases, this data will then be forwarded to a corresponding MoCom or merchant specific platform(s).
Mobile device 110 may be, for example, a cellular phone or the like, and includes a processor 111a, memory 111b, a contactless frontend (CLF) 111c, a baseband modem 111d, and a user interface such as a display (not shown). Baseband modem 111d is a digital modem that is used for mobile network communications. CLF 111c is circuitry which handles the analog aspect of contactless or NFC communications and the communication protocol layers of a contactless transmission link. CLF 111c also is used to exchange data between reader 120 and a secure element (or SE) 112 contained in mobile device 110, for example, to execute contactless transactions.
Secure element 112 may be implemented as a Universal Integrated Circuit Card (UICC), embedded SE card, secure micro secure digital (microSD) card, and the like. Secure element 112 is generally considered secure because it is a self-contained system, including dedicated memory, and is protected by hardware and software hardening techniques that are verified by independent testing.
Secure element 112 includes (e.g., stored thereon) one or more commerce applets 113. Each commerce applet 113 is associated with a commerce service and an account issued by a commerce service provider (SP). A service provider is a company, organization, entity, or the like, that provides services to customers or consumers. Examples of service providers include account-issuing entities such as banks, merchants, card associations, marketing companies, and transit authorities. A service may be an activity, capability, functionality, work, or use that is permitted or provided by a service provider, such as a payment service, credit, debit, checking, gift, offer or loyalty service, transit pass service, and the like.
A commerce service provider can provision (or have provisioned) onto secure element 112 one or more separate commerce applets 113. In addition, other independent service providers can provision (or have provisioned) onto secure element 112 their own commerce applet(s) 113. Generally, a commerce applet 113 stores both loyalty and offers related data, providing an APDU interface through which this data can be managed. Commerce applet 113 operates as a generic storage container, allowing multiple loyalty/offers services to share mechanisms (e.g., secure element, mobile device) for loyalty/offer data management. If memory restrictions and performance requirements limit the amount of loyalty/offers data that can be stored on secure element 112, additional data can be stored in mobile device memory 111b and managed by the consumer via commerce widget 115. For example, any graphic images related to an offer can be stored in memory 111b in order to optimize secure element memory allocation. Loyalty/offers data management can be handled by the corresponding offer platform 131, loyalty platform 132, or rewards platform 133.
Commerce applet 113 includes a cached merchant data table enabling the storage/management of all data related to a given merchant. This allows the commerce data for a given merchant to be pre-loaded in secure element 112 or mobile device 110 by a wallet application. Exemplary commerce elements (and their corresponding tag values used during Tag Length Value (TLV) encoding) that are included in the cached merchant data table are defined below. This data is stored in a record oriented data buffer. In an exemplary embodiment, a merchant identifier (Merchant Identifier) is used as the key field for search/retrieval tasks. Optionally, an index (or hash table) may be created to improve performance.
One or more commerce applets 113 can be loaded onto the secure element 112, for example, during manufacture and/or configuration of the secure element 112 and may be personalized to enable its use to conduct commerce transactions. A commerce applet 113 interfaces with reader 120 via a commerce application programming interface (API) 123. In an exemplary embodiment, a commerce applet 113 is in the form of a JavaCard applet and is accessible through the use of APDU commands as defined in ISO 7816-4. Particularly, commerce applet 113 communicates commerce elements to reader 120 via secure element 112 using ISO 7816 commands over the NFC ISO 14443 protocol.
Secure element 112 can also include one or more payment applets 117 where each payment applet 117 is associated with a payment service and an account issued by a payment service provider. One or more payment applets 117 also can be loaded onto the secure element 112, for example, during manufacture and/or configuration of the secure element 112 and may be personalized to enable its use to conduct payment transactions. A payment applet 117 interfaces with reader 120 via API 124. In an exemplary embodiment, payment applet 117 is in the form of a JavaCard applet and is accessible through the use of APDU commands as defined in ISO 7816-4. Payment applet 113 also communicates payment elements to reader 120 via secure element 112 using ISO 7816 commands over the NFC ISO 14443 protocol.
It should be understood that other communications between the aforementioned devices may include communications with or through other intervening systems, hardware, and/or software, and such communications may include receiving, transferring, and/or managing data.
A wallet application 114 stored on mobile device 110 includes instructions which, when executed by the processor of the mobile device 110, cause the mobile device 110 to act as an instrument, for example, for processing transactions such as contactless commerce and/or payment transactions. Wallet application 114 communicates, through the use of APDU commands as defined in ISO 7816-4, with the commerce applet 113 via commerce API 116 and to payment applet 117 via payment API 118.
Commerce widget 115 is a component of the wallet application 114 that provides an interface for consumers to manage commerce elements (e.g., loyalty card credentials, offers and rewards), for example, through interactions with the display or user interface of a mobile device. Commerce widget 115 maintains, for example, a master list of commerce elements present on the handset in a memory of the mobile device (e.g., 111b). A subset of offers that have been identified as ready to be used are, in turn, moved to secure element 112 to be communicated to contactless reader 120 and POS terminal 140. Sensitive information, such as loyalty account identifiers can be stored on secure element 112.
Payment widget 119 is a component of the wallet application 114 that provides an interface for consumers to manage payment elements (e.g., credit or debit card credentials), for example, through interactions with the display or user interface of a mobile device.
Reader 120 includes a reader commerce application 121 (referred to herein simply as a “reader application”) and a POS interface 122. Reader 120 manages two interfaces: one interface is with the secure element 112 in the mobile device 110 and the other interface is with POS terminal 140 which includes a reader interface 141 and a commerce application data handler 142. The functionality of reader 120 is the same whether reader 120 is standalone and connected to a payments terminal or merchant POS, or is integrated therein. Contactless payment functionality is also contained in reader 120 but is not shown.
Mobile device 110 is further communicatively coupled to a mobile wallet platform 130, which in turn is communicatively coupled to offers platform 131, loyalty platform 132 and rewards platform 133. Collectively, offers platform 131, loyalty platform 132 and rewards platform 133 can be referred to as a mobile commerce (MoCom) platform 134 and are implemented on one or more servers, referred to herein individually and collectively as a MoCom server (now shown).
In one embodiment, a customer may use mobile device 110 to conduct a contactless transaction at a POS equipped with reader 120. The customer places the mobile device 110 within a predetermined required proximity of the contactless reader 120 (i.e., taps) causing CLF 111c of the mobile device 110 to communicate with reader 120 using, for example, NFC ISO 14443 protocols. Reader 120 also communicates with wallet application 114, commerce applet 113, and/or payment applications on the mobile device 110 to execute contactless transactions.
A secure element employs a Proximity Payment System Environment (PPSE) that serves as a directory of available credentials currently stored in secure element 112. Each credential is assigned a corresponding application identifier (AID) associated with a payment application and stored in the PPSE. When an NFC enabled-mobile device containing secure element 112 is placed in the vicinity of an NFC-enabled contactless reader, the contactless reader reads the credential and completes the transaction. Before doing so, however, the reader is initialized.
On mobile device 110, PPSE is an application used to maintain a list of payment applications stored on secure element 112, and provides accessibility to each payment application stored on the mobile device 112 by making them visible or not visible (i.e., accessible) to systems or devices.
Reader InitializationInitialization of the reader 120 will now be described in more detail. In one embodiment, reader 120 implements a function referred to as an Entry Point Manager (EPM) to control which application in a mobile device is selected. In this embodiment, EPM controls whether reader 120 sends a command to mobile device 110 to select an application that performs a commerce transaction or a command that performs a payment transaction. A command to select a commerce application is referred to herein as “Select Commerce.” A command to select a payment application is referred to herein as “PPSE Select.”
EPM also controls the start mode for the reader 120 and subsequent application switching during a checkout process. EPM thus facilitates switching (at reader 120) between the Select Commerce command for a commerce transaction and the PPSE Select command for payment transactions.
Commencing a Commerce Transaction on a ReaderA reader can be configured to initiate a commerce transaction on a reader according to several modes, which are described below in further detail. In one mode, referred to as “auto start”, reader application 121 is the default application on the reader 120. Being the default application allows reader application 121 to be available to the consumer as a first tap option (i.e., upon an initial coupling communication between the mobile device 110 and contactless reader 120).
Another mode, referred to as “manual start,” allows manual intervention to be used to initiate reader commerce application 121. Manual intervention can be in the form of a command from POS terminal 130 (e.g., initiated by using a POS terminal interface) or from a consumer selecting a commerce application on a mobile device by using commerce widget 115.
Another mode, referred to as “payment with post transaction data,” involves controlling how payments are handled in an activity stream. If a merchant supports the provisioning of post transaction data, for example, then payment and receipt of merchant data can be accomplished by the same tap event, such as after the final total for a transaction has been calculated.
Another mode is referred to as “payment first,” The payment first option works in conjunction with the auto start mode and/or the manual start mode to initiate a PPSE Select command for payment and then a Select Commerce command to obtain commerce data (e.g., loyalty data, offer data, reward data, and the like). Commerce data is interchangeably referred to herein as “commerce elements.”
Auto Start ModeReferring to
Referring still to
Once reader commerce application 121 has been started on reader 120, the commerce application will function as described in the auto start mode above.
Payment with Post Transaction Data
In payment with post transaction data mode, a payment transaction can be made such that post transaction data is communicated between POS terminal 140, reader 120, and secure element 112. This option allows the commerce protocol to start at the beginning of the consumer checkout, but payment is not requested by the reader 120 until the final transaction total has been calculated.
POS terminal 140 sends a “Post Transaction” command to reader 120 with, for example, a transaction identifier (ID) and redeemed coupon IDs. Reader 120 then transmits a request for a tap for payment. The tap allows reader 120 to first request payment credentials from secure element 112 and then cause the reader application 121 to send commerce data (e.g., coupon data) to secure element 112. Both functions are performed in a single tap by the mobile device 110 at reader 120.
Payment FirstIn payment first mode, a payment can be made first, prior to a commerce transaction. This option accommodates a situation where the payment/PPSE process must precede any commerce processing. Payment first mode works in conjunction with both auto and the manual start modes discussed above. Payment and commerce processing is accomplished in a single tap.
Exemplary Commerce Process Flows Normal Commerce Process Flow (Single Tap)A merchant POS system 202 can be a merchant server operated by a merchant which controls the operation of payment terminal 201. In an exemplary embodiment, merchant POS system 202 commands payment terminal 201 to activate the reader (“Activate Reader”) before items are being scanned, as items are being scanned, or after the items are scanned. In each case, reader 120 requests a user (or consumer) to place a mobile device 110 in proximity of reader 120, as shown in step 250 (“Request ‘tap’”). In response to a request for the user to place a mobile device 110 in proximity of reader 120 (step 250), a consumer taps mobile device 110 onto reader 120, as shown in step 251.
Once a NFC connection has been established between mobile device 110 and reader 120, the following command exchanges are initiated for service initialization and processing of both a payment transaction and a commerce transaction. Payment transaction initialization and processing exchanges between secure element 112 and reader 120 include steps 260 and commerce transaction initialization and processing exchanges between secure element 112 and reader 120 include steps 262. Steps 260 may be performed before steps 262, afterward, or substantially simultaneously.
Referring first to steps 262, after a mobile device has tapped reader 120, reader 120 sends to secure element 112 a Select Commerce command along with a particular commerce AID (“Select Commerce AID”) indicating which commerce applet within secure element 112 it seeks to cooperate with (e.g., commerce applet 113). In response, secure element 112 sends a positive or negative response. A negative response (not shown) results in reader 120 terminating reader application 121 (
Secure element 112 returns corresponding commerce elements (e.g., loyalty data, offer data, reward data) to reader 120 (“Loyalty & Offers Data”) based on the fields in the Get Commerce Data command received from reader 120. In one embodiment, commerce applet 113 builds a package containing the commerce data (e.g., a buffer or set of buffers including loyalty data, offer data, or rewards data). In another embodiment, the buffer is pre-built using memory space in the secure element 112.
Referring to steps 260, in one embodiment, reader 120 begins payment processing by sending a PPSE request (“PPSE Select”) to secure element 112.
If the Select Commerce AID and PPSE Select requests are successful, as shown in step 264 (“Read Success Indication”), payment terminal 201 forwards the commerce application data and payment credentials it has received to the merchant POS system 202 for processing (“Payment & Commerce Data”). Merchant POS system 202, in turn, records the loyalty identifier and offers (not shown) and applies any applicable discounts as product scanning continues as shown in step 266. This concludes the commerce application process and the payment processing proceeds.
Once scanning has completed and a transaction amount has been approved for payment, a payment authorization request to a payment platform 203 is made (“Payment Auth Request”). In turn, payment platform 203 returns an authorization result (“Authorization Result”) indicating whether or not the payment has been authorized.
Referring again to steps 260, in one embodiment, a PPSE Select request by reader 120 to secure element 112 causes secure element 112 to return a PPSE payment AID indicating which payment applet (and hence which corresponding payment network) should be used to perform the payment transaction (“PPSE Payment AID”). In response, reader 120 sends a Select AID indicating that it supports the particular applet (“Select AID”). File control information (FCI) associated with the payment applet (e.g.,
A merchant POS system 302 can be a merchant server operated by a merchant which controls the operation of payment terminal 301. In an exemplary embodiment, merchant POS system 302 commands payment terminal 301 to activate reader 120 (“Activate Reader”) before items are being scanned, as items are being scanned, or after the items are scanned. In each case, reader 120 requests a user to place a mobile device 110 in proximity of reader 120, as shown in step 350 (“Request ‘tap’”). In response to a request for the user to place a mobile device 110 in proximity of reader 120 (step 350), a consumer taps mobile device 110 onto reader 120, as shown in step 351.
Once a NFC connection has been established between mobile device 110 and reader 120, the following command exchanges are initiated for service initialization and processing of both a payment transaction and a commerce transaction. Payment transaction initialization and processing exchanges between secure element 112 and reader 120 include steps 360 and commerce transaction initialization and processing exchanges between secure element 112 and reader 120 include steps 362. Steps 360 may be performed before steps 362, afterward, or substantially simultaneously.
Referring first to steps 362, after mobile device 110 has tapped reader 120, reader 120 sends to secure element 112 a Select Commerce command along with a particular commerce AID (“Select Commerce AID”) indicating which commerce applet within secure element 112 it seeks to cooperate with (e.g., commerce applet 113). In response, secure element 112 sends a positive or negative response. A negative response (not shown) results in reader 120 terminating reader application 121 (
Referring next to steps 360, in one embodiment, a PPSE Select request by reader 120 to secure element 112 causes secure element 112 to return a PPSE payment AID indicating which payment applet (and hence payment network) should be used to perform the payment transaction (“PPSE Payment AID”). In response, reader 120 sends a Select AID indicating that it supports the particular applet (“Select AID”). FCI associated with the payment applet (e.g., 117) is sent by secure element 112 to reader 120. Similarly, other payment and card information is sent by secure element 112 to reader 120 (“Payment/Card Data”),If the Select Commerce AID and PPSE Select requests are successful, as shown in step 364, payment terminal 301 forwards the commerce application data and payment credentials it has received to the merchant POS system 302 for processing (“Payment & Commerce Data”). Merchant POS system 302, in turn, records the loyalty identifier and offers (not shown) and applies any applicable discounts as product scanning continues as shown in step 366.
Once scanning has completed and a transaction amount has been approved for payment, a payment authorization request to a payment platform 303 is made (“Payment Auth Request”). In turn, payment platform 303 returns an authorization result (“Authorization Result”) indicating whether or not the payment has been made.
If there is data to send back to payment terminal 301, merchant POS system creates a command, “Post Transaction Data”, with correctly formatted TLVs and forwards the data to reader 120. Upon receipt of a Post Transaction command payment terminal 301 will request a second tap from the consumer, as shown in step 368 (“Request 2nd ‘tap’”).
Referring to step 369 and steps 370, when the mobile device 110 is placed within proximity of reader 120 for the second time as shown in step 369, reader 120 sends a secure element 112 a Select Commerce command along with a particular commerce AID (“Select Commerce AID”) indicating which commerce applet within secure element 112 it seeks to cooperate with (e.g., commerce applet 113).
If a negative response is received reader 120 terminates the reader commerce application 121. If a positive response is received, then reader 120 forwards to secure element 112 the data received in the Post Transaction Data command from the POS terminal 140 (“Post Transaction Data”). This concludes commerce processing for this transaction.
For convenience, reader 120 (
A merchant POS system 402 can be a merchant server operated by a merchant which controls the operation of payment terminal 401. In an exemplary embodiment, merchant POS system 402 commands payment terminal 401 to activate the reader (“Activate Reader”) before items are being scanned, as items are being scanned, or after the items are scanned. In each case, reader 120 requests a user to place a mobile device 110 in proximity of reader 120, as shown in step 450 (“Request ‘tap’”). In response to a request for the user to place a mobile device 110 in proximity of reader 120 (step 450), a consumer taps mobile device 110 onto reader 120, as shown in step 451.
Once a NFC connection has been established between mobile device 110 and reader 120, the following command exchanges are initiated. The command exchanges are performed for service initialization and processing of both a payment transaction and a commerce transaction. Payment transaction initialization and processing exchanges between secure element 112 and reader 120 include steps 472, and commerce transaction initialization and processing exchanges between secure element 112 and reader 120 include steps 462 and 474.
Referring first to steps 462, after a mobile device has tapped reader 120, reader 120 sends to secure element 112 a Select Commerce command along with a particular commerce AID (“Select Commerce AID”) indicating which commerce applet within secure element 112 to cooperate with (e.g., commerce applet 113). In response, secure element 112 sends a positive or negative response. A negative response (not shown) results in reader 120 terminating reader application 121 (
At step 464, reader 120 indicates to the consumer that the transaction is complete and that the handset can be removed from payment terminal 401, which causes reader 120 to forward the commerce application data to the POS terminal 140 and, in turn, merchant POS system for processing (“Loyalty & Offers Data”). A clerk may continue to process the shopping basket.
Merchant POS system 402, records the loyalty identifier and offers (not shown) and applies any applicable discounts as product scanning continues as shown in step 466. After the basket total has been calculated, merchant POS system 402 sends a request for payment to payment terminal 401 and sends post transaction data to payment terminal 401 (if data is available to send) (“Send Post Transaction Data and Payment Req”).
At step 468, payment terminal 140 requests a tap for payment. Reader 120, in turn, activates the reader field. When mobile device 110 is detected in the field of reader 120, payment processing is performed as shown in steps 472. Particularly, a PPSE Select request is made by reader 120 to secure element 112 to cause secure element 112 to return a PPSE payment AID indicating which payment applet (and hence payment network) should be used to perform the payment transaction (“PPSE Payment AID”). In response, reader 120 sends a Select AID command indicating that it supports the particular applet (“Select AID”). FCI associated with the payment applet (e.g.,
Referring to steps 474, if payment terminal 401 has received post transaction data from merchant POS system 402, reader 120 starts the commerce application 121 (
If the Select Commerce AID and PPSE Select requests are successful, payment terminal 401 forwards the payment application data and payment credentials it has received to the merchant POS system 402 for processing (“Payment/Card Data”). In turn, merchant POS system sends a payment authorization request to a payment platform 403 (“Payment Auth Request”). In turn, payment platform 403 returns an authorization result (Authorization Result) indicating whether or not the payment has been authorized.
If the commerce and payment credentials and information have been successfully read, reader 120 can provide a notification either through an interface on payment terminal 140, commerce widget 115 (
In one embodiment, all command/response data is encoded using BER-TLV (ISO 7816-4 Annex D) format. In some cases, the TLV (Tag, Length, Value) may be nested (embedded TLV). Due to the flexible nature of the TLV encoding format, the tagged data may be placed in any order. This is true when formatting the data for both incoming and outgoing payloads. In addition, this data is stored in record oriented tables. The order of the TLV encoded data elements stored therein is not critical; however, some data may be placed at the beginning of the record to enhance index/search performance. Thus, the record data tables provided in this document are supplied as samples for reference purposes.
A tag is encoded using a “private” tag class and a tag type representing a primitive data object encoded on one or more subsequent bytes. Therefore, the first byte (tag class) is set to 0xDF. In all cases, the data element tag is defined on a single byte. Therefore, the second tag byte has the most significant bit (b8) set to 0. This allows up to 128 valid tag values (0x00-0x7F).
Length encoding supports both the short or long forms. When the length is less that (<) 128 bytes, the most significant bit (b8) is set to 0 and the actual length is specified in the remaining bits (b7-b1). When the length is greater than (>) 128 bytes, the most significant bit (b8) is set to 1 (length mask=0x80) and the remaining bits (b7-b1) define the number of subsequent bytes in the length field. Those subsequent bytes encode an integer equal to the number of bytes in the value field.
BER-TLV ExampleAssuming the incoming data uses a tag value of 0x21 (Consumer ID) with a length of 8 bytes and a value of (0x1122334455667788), the data is encoded as shown in Table 1:
TLV encoding allows for the length indicator to be expressed in multiple bytes. Preferably multi-byte length is supported. In short form, the length field consists of a single byte where bit 8 is set to 0 and bits 7 to 1 encode the number of bytes in the value field. One byte can thus encode any number from zero to 127. Any number from one to 127 is encoded in the same way in BER-TLV length field as in Lc and Le fields. The encoding differs for zero, 128 and more. See, for example, the coding of data objects in the Get Commerce Data command described below.
In long form, the length field consists of two or more bytes. Bit 8 of the first byte is set to 1 and bits 7 to 1 are not all equal, thus encoding the number of subsequent bytes in the length field. Those subsequent bytes encode the number of bytes in the value field. ISO/IEC 7816 does not use the “indefinite length” specified by the basic encoding rules of ASNI ISO/IEC 7816, which supports length fields of one, two, . . . up to five bytes (Table 2). In ISO/IEC 7816, the values ‘80’ and ‘85’ to ‘FF’ are invalid for the first byte of length fields.
In one embodiment, the processing starts when reader 120 detects a mobile device 110 in the field of reader 120 and NFC communications have commenced. At that time, reader 120 sends a command to secure element 112 to select a commerce applet, particularly a “Select Commerce” command. The Select Commerce command (also referred to as a “Select Commerce Applet” command) is standardized as defined in the ISO 78016-3 specification. An example Select Commerce command structure is shown in Table 3:
Secure element 112 in mobile device 110 validates the “Select Commerce” command and sends back an appropriate response. Example responses (also referred to as “Status Codes”) are shown in Table 4:
All responses other than ‘90 00’ (“Successful execution of command”) cause commerce application 121 (
Upon commencement of the reader application 121 and communications between reader 120 and secure element 112 initiating, reader 120 sends a command to mobile device 110 to obtain commerce data, “Get Commerce Data.” An exemplary Get Commerce Data command is defined below in Tables 5 and 6. In this example, specific loyalty and offers data is being requested. The “Merchant Capability” field is utilized by reader 120 to determine which fields need to be present in the request and response data.
Date and time stamp information are optional. In one embodiment, the date time is in synchronization with the POS. In the event that this information is not available from the POS, the date/time from the POS terminal 140 can be used. If date and time is not available, reader 120 will not send the date time stamp data element.
In an exemplary embodiment, the data elements contained in the Get Commerce Data request are preconfigured in the reader 120 or POS terminal 140 at setup time. The data may be modified after the reader 120 has been installed and configured.
Table 7 defines the possible Status Word values that may be returned by the Get Commerce Data command.
Any response other than ‘61 xx’ or ‘90 00’ will result in reader 120 terminating commerce application 121 and passing control to the EPM, after recording the error and storing the data for forwarding to commerce widget 115.
If the Get Commerce Data request is correctly formatted, commerce applet 113 on secure element 112 filters the data based on the merchant identifier (“Merchant_ID”), loyalty identifier (“Loyalty_ID”) and offer type code (“Offer_Type_Code”) to format a response data for reader 120 based on the version number in the request. Commerce applet 113 may return more than one Loyalty ID and multiple Offers messages based on the configuration in the wallet. Table 8 lists exemplary response data:
The following is an exemplary response data parsing sample. The NFC reader (or POS terminal) delivers this commerce data to a POS system in a string of data that may contain consumer, loyalty and/or offer data. The merchant POS system can then parse the data to obtain the loyalty and offer data, and process the data per the merchant's specifications.
As explained above, a Post Transaction Data command provides a mechanism to receive data back from a merchant POS system (MPOS). This command is initiated by the merchant POS terminal 140 and preferably is supported in the merchant capability field. In an exemplary embodiment, this command consists of a single frame of data with a maximum data size of 255 bytes. The contents of the data use standard TLV formatting but may also be variable. This command enables dynamic reconciliation or post transaction data consolidation. Additional data tags may be defined for the transmission of additional data from the POS terminal/MPOS to the secure element 112 in mobile device 110. An exemplary post transaction data command (“Post Transaction Data”) is illustrated in tables 9 and 10:
Referring to
A Get Response command is triggered when the SW1 flag in the Get Commerce Data response is set to ‘61’. In this example, the SW2 flag is set to ‘00’ because commerce applet 113 on mobile device 110 may not know how much data is left to send. The subsequent response to the Get Response command also contains an SW1 flag set to ‘61’, causing a second Get Response command to be sent by reader 120 to mobile device 110.
This sequence will terminate when the SW1 flag of the Get Commerce Data response is set to any value other than ‘61’. For example, an SW1 value of ‘90’ in response to a Get Response command as shown in
Table 11 defines exemplary settings for the Get Response Data APDU command:
The actual length of the remaining data is variable. Therefore, the Le data length can be 0x00; allowing the commerce applet 113 to manage a variable length response.
Table 12 defines possible status word values (“Status Codes”) that may be returned by the Get Response Data APDU command.
In one embodiment, during the installation and configuration of reader 120 certain merchant and commerce specific data are loaded and saved in reader 120. This data is used by reader 120 to fill in the Get Commerce Data command from reader 120. These data elements can be updated as new features and functions become available.
Commerce AIDAs explained above, a commerce AID is sent in the Select Commerce command. If the command is accepted by mobile device 110, commerce applet 113 is started and APDU command/response flows will start between reader 120 and secure element 112. In an exemplary embodiment, the commerce AID value is A00000048510010101. This value can be hardcoded on reader 120. In one embodiment, reader 120 is not required to support partial selection.
Merchant_IDA merchant identifier (Merchant_ID (DF31)) can be loaded onto reader 120. Merchant ID is a value assigned by a service provider. In one embodiment, this value is assigned by the MoCom platform operator. This is required to allow commerce applet 113 to filter the loyalty and coupon data, and send the appropriate items to the reader 120.
Merchant_Store_IDA merchant store identifier value (Merchant_store_ID (DF32)) is loaded to the reader 120 and is a value assigned by a service provider. This value can be used, for example, for reporting purposes.
Loyalty_IDA loyalty identifier value (Loyalty_ID (DF41)) is used when multiple Loyalty IDs are being requested during a tap. This is accomplished by setting the Secondary Loyalty in Merchant Capabilities (DF33). This allows commerce applet 113 to return additional loyalty numbers in the response to a Get Commerce Data command. Multiple (e.g., 5) additional Loyalty_IDs may be coded in the Get Commerce Data request.
Offer_Type_CodesOffer type codes (Offer Type Codes (DF54)) are loaded onto reader 120. Values assigned to Offer Type Codes are assigned by a service provider. This value is used by the commerce applet 113 to filter offers and send only the appropriate items to reader 120. Multiple Offer_Type_Codes can be defined and sent to the secure element 112 in the Get Commerce Data command.
Commerce_Application_VersionA commerce application version number (Commerce_Application_Version) can be loaded onto reader 120 to represent the version of the commerce reader specification that the application on reader 120 is coded to and certified for.
Merchant_CapabilitiesThe Merchant Capabilities value represents the Commerce features supported by a particular merchant. This data element can also be used by reader 120 to format the Get Commerce Data command.
Terminal_Startup_ModeA terminal start mode command (Terminal Start Mode (DF34)) commands reader 120 to provide the mechanism used to start commerce application 121. This data element is not sent to the secure element 112. This data element will also be used to define processing flows between reader 120 and secure element 112 on the handset.
Get Commerce Data FieldsTable 13 provides an exemplary definition of data required by reader 120 to format the Select Commerce and Get Commerce Services commands:
A Commerce Applet Version value is a two-byte hex field the first byte containing the major version (xx) and the second byte contains the minor version (xx). These fields are updated in accordance to the specific version of the reader commerce technical specification that is implemented on reader 120. In an exemplary embodiment, the first official release of the commerce application 121 is 0x0100.
Merchant CapabilitiesA merchant capabilities field (Merchant Capabilities Field (DF33)) determines which commerce functions are being implemented by the merchant. Reader 120 can pass this field to mobile device 110, and mobile device 110 uses the information to build a response frame, referred to as Commerce Data Response frame. Table 14 illustrates exemplary merchant capabilities:
A commerce start mode format value (Commerce Start Mode (DF34)) indicates to reader 120 what mechanism is to be used to start commerce application 121 on reader 120. In one embodiment, this data element is not sent to the mobile device 110 in the Get Commerce Data command. In another embodiment, this data element is optional. Table 15 illustrates exemplary start modes can be used to commence commerce application 121. In an exemplary embodiment, bits 7 and 8 are exclusive and only one bit is turned on at a time:
While reading commerce application data from the mobile device 110, reader 120 forwards the data to a merchant POS system or POS application resident on a POS terminal 140. Reader 120 strips off the APDU headers and un-blocks the data from the mobile device 110. The Tagged TLV frames are then wrapped in the appropriate protocol and forwarded to the merchant POS system or POS application running on the POS terminal for processing.
Commerce Response Data DescriptionDuring a successful interaction with a reader 120, data will be returned to the POS merchant system (or POS terminal). This information will typically be composed of a consumer loyalty number and/or some number of offers that the merchant defined and loaded to the consumer's wallet.
Consumer IDA consumer identifier (Consumer ID) is a unique identifier that is assigned to a consumer during the wallet activation process. Typically, Consumer ID will stay with a consumer even if the consumer moves her wallet to a new mobile device or different mobile network. In a preferred embodiment, Consumer ID is sent from the mobile device to the reader on every commerce-related interaction, even if the handset has no loyalty or offers data to send. The presentation of Consumer ID can be used by the merchant POS system to trigger specific actions related to a payment-only tap.
Loyalty IDA loyalty identifier (Loyalty ID) is sent along with each consumer loyalty number requested during a tap event. Loyalty ID is a unique value assigned to each merchant loyalty program assigned by the MoCom platform. In most cases the Loyalty ID received by the reader will match the Merchant ID that was configured by the Get Commerce data command. Use of this information by a merchant system is optional.
Consumer Loyalty CodeA consumer loyalty code (Consumer Loyalty Code) matches the loyalty number assigned to the consumer for a specific merchant loyalty program. Wallet application 114 allows for multiple loyalty numbers to be presented at the tap. If the system is set up for multiple consumer loyalty codes, each consumer loyalty code will be preceded by its unique loyalty ID.
Offer IDA mobile commerce offer identifier (Offer ID) is sent along with each consumer offer number sent during a commerce-related session. The Offer ID is a unique value assigned to each offer delivered to a consumer wallet. In one embodiment, no two Offer IDs generated by the MoCom platform will have the same value.
Merchant Offer CodeA merchant offer code (“Merchant Offer Code” or “Offer Number”) is generated by the merchant and loaded to the consumer's wallet application through various means. This number matches the same offer that is defined on the merchant POS system for processing. There can be multiple merchant offers (e.g., 10) presented during a single commerce transaction. The merchant system parses the incoming data to extract the individual merchant offers.
Commerce Response Data FieldsTable 16 defines exemplary data elements that may be returned to the merchant POS system after a successful commerce transaction:
In one embodiment, a data element “Terminal Start Mode” is passed to reader 120 but will not be passed to the secure element 112. Reader 120 uses this information to control when Select Commerce and Select PPSE commands are sent to the secure element 112.
Reader Commerce Application FunctionalityThe following section provides a list of functions that the Commerce application within reader 120 performs. Some of these functions are automated, while others are triggered via an API call from the POS terminal or merchant POS.
Select Commerce AID CommandAfter the Commerce application is started on reader 120 and a device is detected in the field of reader 120, the first command sent is Select Commerce AID. The command will contain the RID value assigned by ISO and a PIX value generated by a commerce service provider. The Commerce AID value is A00000048510010101. This value should be hard coded on reader 120.
Get Commerce Data CommandThe Get Commerce Services Data command is a general data request to the secure element 112. The Get Commerce Data has a number of required and optional fields that communicate information to commerce applet 113. Commerce applet 113 uses this information to build the data elements that need to be sent to reader 120. Reader 120 uses the fields in the Merchant Capability records to determine which optional fields need to be included in the request to the handset.
Post Transaction DataThe Post Transaction Data command was created to provide a mechanism to receive data back from the MPOS. This command consists of a single frame of data with a maximum data size of 255 bytes. The contents of the data use standard TLV formatting, but the contents may be variable. Additional data tags may be defined for the transmission of additional data from the POS Terminal/MPOS to secure element 112 in mobile device 110.
NFC Error RecoveryIn a preferred embodiment, reader 120 is able to recover from a reader error generated when the handset is prematurely removed from the NFC field. Reader 120 signals the read error to the consumer via a failure interface such as a speaker that outputs a “beep” or display that provides an optical indication such as via lights. The consumer is asked to tap again and the transaction that was in progress during the error is restarted. In the case where multiple transactions are being processed, such as a commerce transaction and a PPSE transaction, reader 120 will try to recover the last process being executed.
Large Data Block SupportIn an exemplary embodiment, reader 120 reads and writes multiple 255-byte blocks of data to and from mobile device 112 in a single tap process.
Date and Time Stamp SupportWhen reader 120 has connectivity to the merchant POS system, the date and time can be retrieved from the POS terminal at the start of the transaction.
TLV Master Tag ListTable 17 defines the data elements and corresponding tag values and target/max byte sizes used by commerce based applications. Additional values have been provided for those elements with a limited/fixed value range.
Table 18 provides a master list of exemplary APDU commands supported by the Commerce Applet 113.
Data elements included in the commerce data payload may include a format byte that identifies the data encoding used for that element. The data encoding is specified by the merchant to ensure compatibility at the point of sale. The formatted data value is supplied by the commerce platform to the wallet application 114. Thus, no additional interpreting/formatting is necessary between the platform 130, wallet 114, secure element 112, and reader 120/POS terminal 140 (collectively referred to as “payment terminal”). It is the role of the payment terminal (or merchant POS system) to properly interpret the data and supply it to the merchant system for processing.
In an exemplary embodiment, the following data elements include the following format value:
-
- Loyalty Account Code (DF43)
- Offer Code (DF53)
Table 19 defines possible format byte values and their corresponding encoding rule:
A BCD encoded data value that includes the hexadecimal value ‘F’ in the first nibble shall identify a data stream containing an odd number of digits. Thus, the BCD data stream 12345 is encoded in 3 byte buffer as follows: 0xF12345.
Exemplary ImplementationsThe wallet home screen 601 features a strip of merchant tiles 604. A tile is present for every merchant that has a redeemable object (e.g., a redeemable offer or loyalty card) present in the mobile wallet. The user may, for example, swipe through the tiles, left and right, to find a particular merchant. Once the particular merchant is found, the tile is selected to open a merchant offer view 602. This can be done prior to making a transaction or immediately prior to making the transaction, such as while waiting in line, or earlier (e.g., while browsing through a store.).
The merchant offer view 602 presents a list of redeemable offers 603 available in the wallet. Non-redeemable promotions may be presented as well. If present, a loyalty card 605 is also presented and made accessible from the merchant offer view 602.
If the selected merchant is not a commerce-enabled merchant, there is no option presented to load offers for a commerce transaction. If the merchant is a commerce-enabled merchant, however, one or more buttons or icons 606a, 606b are presented allowing offers to be loaded for a commerce transaction.
The user may select an offer (e.g., 606a), and then select the “Done” bar at the bottom of the screen.
In an exemplary embodiment, a limit as to the number of offers can be enforced by secure element 112 (e.g., 10 offers), and the user interface of commerce widget 115 enforces this limit while the user is activating offers. The “Done” bar is the trigger to load the selected offers into secure element 112. If there are offers from another merchant in the secure element 112, they can be removed at the same time as the new offers are loaded—this ensures that there are only offers from one merchant present in the 112 at any given time.
When the secure element load is complete, the user taps the mobile device 110 to reader 120. What happens next depends on a few factors. If the reader that is tapped is not capable of processing commerce elements, the selected payment card is sent, but no commerce elements (e.g., offers or loyalty credentials) are sent. A post-tap message is presented through the reader interface indicating that payment credentials were sent, with no other information.
If the reader that is tapped is capable of processing commerce elements, but the merchant-ID does not match the selected merchant, offers will not be sent. Commerce applet 113 in secure element 112 can search for a loyalty card for this merchant-ID and transmit loyalty credentials, if present. A post-tap message is presented through an interface indicating that an event took place, identifying the merchant and reporting that loyalty credentials were sent (if they were available) as well as the payment credentials.
If the reader that is tapped is a commerce-enabled reader and the merchant-ID matches the selected merchant, selected offers and (if present) the loyalty card credentials for the merchant are sent. Mobile device 110 can present a post-tap message through the commerce widget 115 user interface confirming that offers and loyalty (if present) were sent, along with payments.
Following the tap, offers that were loaded into the secure element 112 are left in secure element 112 until the user removes them or selects offers from another merchant. Alternatively, if the offers expire, it is removed from the secure element 112 when wallet maintenance is performed. In an exemplary embodiment, the selected merchant will remain the “active” merchant on the wallet home page until the user selects a different merchant.
Instant Offer ImplementationA wallet application running on a mobile device can be used to allow consumers to pay for purchases and present loyalty and offers via a payment terminal. One way a consumer can redeem an offer is by selecting the offer via the wallet application to be presented at checkout.
Consumers can also be provided with offers that can be instantly redeemed through the wallet application. Such offers are referred to herein as “instant offers”. This feature allows merchants to reward consumers who use a mobile device running the wallet application to make purchases. Consumers benefit from the instant offer because, among other reasons, they do not need to specifically select an offer via the wallet application. Depending on the implementation, an instant offer can be used along with an offer explicitly selected by the consumer from the wallet application. Whether an offer is selected by the consumer or provided “instantly,” a consumer identifier (“Consumer ID”) value retrieved from the mobile device (e.g., from secure element 112) is used as the key for retrieving and redeeming an instant offer.
Referring to
In response, the mobile device is tapped to the reader. During the tap event, a number of data elements can be passed between the reader and a secure element on the mobile device as described above. In one embodiment, the payment card data, Consumer ID, loyalty number, and offer codes are passed to the reader during the tap of the reader. In this embodiment, Consumer ID is sent to the reader even if the tap is for a payment only transaction with no offers selected.
If at block 708 it is determined that a MoCom Consumer ID is not present, then at block 706 the payment process is completed and the checkout process is completed by processing the payment.
If it is determined at block 708 that a MoCom Consumer ID is present, then at block 710 a determination is made as to whether a MoCom offer is present (e.g., an offer selected by the user via a wallet application). If at block 710 a determination is made that a MoCom offer is present, then a determination is made at block 712 as to whether a MoCom instant offer has been defined as well. If at block 712 it is determined that a MoCom instant offer has been defined, both the MoCom offer (i.e., an offer selected by a user via a wallet application interface) and MoCom instant offer are processed, as shown in block 714. Once the MoCom offer and/or MoCom instant offer are processed, the payment associated with those offers is processed as shown at step 706.
If at block 710 a determination is made that a MoCom Offer is not present, then at block 716 a determination is made as to whether a MoCom instant offer has been defined. If not, the payment is completed as shown at step 706. If a determination is made at block 716 that the MoCom instant offer is present, the MoCom instant offer is processed as shown at block 718 and the payment associated with the MoCom instant offer processed as shown at block 706.
If a determination is made at block 712 that a MoCom instant offer has not been defined, then a standard MoCom offer is processed, as shown at block 720 and at block 706 the payment processed is completed.
The merchant POS system can use the presence of the ConsumerID to trigger the use of an instant offer. The offer could be, for example, a cents off or percentage off type offer that a merchant using the MoCom system defines. This can be, for example, applied for the purchase of a specific item. In an exemplary implementation, the merchant is provided an option of turning instant offer functionality off or on when a wallet offer is presented during the tap.
The instant offer can be defined by a merchant and then distributed to its retail locations. The offer can also have an associated specific start and end date. The ability to distribute instant offers to different geographical areas can be taken into account as well.
Commerce Applet Package/Applet/Instance ManagementThe following section defines the AID values and application specific parameters used during download/installation of commerce applet 113 (
The commerce applet's initial commerce services data characteristics may be provisioned via applet-specific installation parameters. This data follows the standard JavaCard AID and installation parameters.
These parameters must be coded as shown in Table 21:
Exemplary memory specifications are listed in Table 22 below. The first memory specification, “Package Download,” indicates the approximate amount of non-volatile (EEPROM) memory space required to download the commerce applet package. The second memory specification, “Instantiation,” indicates the amount of memory required to instantiate a new instance of the commerce applet. The final memory requirement, “Transient Data Space,” indicates the amount of volatile (RAM) memory that is used by each instance of the commerce applet.
The available commerce (e.g., loyalty, offers, rewards, etc.) data is stored within the commerce applet 113 onboard the secure element 112. All of the relevant commerce data is stored in three separate data tables. These data tables are managed by the commerce applet 113. Additional commerce data may be stored/managed within a corresponding commerce widget 115 onboard the handset.
In one embodiment, the data elements defined herein have a variable length. Therefore, all elements (included those with a fixed length) will be assigned a maximum length. As a result, all lengths and byte size references should be interpreted as maximum values.
Commerce DataCommerce applet 113 manages a few data fields that are shared by all commerce service applications. These data fields are stored in persistent data variables. An exemplary data element, Consumer ID, is defined in Table 23. Additional elements may be stored as well, such as consumer/platform keys and certificates.
Commerce applet 113 also includes loyalty data tables enabling the storage/management of all consumer loyalty data.
Table 24 defines the data elements (and their corresponding tag values used during TLV encoding) that are included in the loyalty data table.
The data is stored in a record oriented data buffer, where the loyalty identifier (“Loyalty ID”) is utilized as the key field for search/retrieval tasks.
In an exemplary embodiment, TLV Data Overhead includes a (maximum) of five bytes per element data overhead (2-byte tag and 3-byte length) as required by the BER-TLV encoding format.
In an alternative embodiment, an index (or hash table) may be created internally to speed up the Loyalty ID search task.
Cached Merchant Data TableCommerce applet 113 also includes a merchant cached data table enabling the storage/management of all data related to a given merchant. This feature allows the commerce data for a given merchant to be pre-loaded by the wallet application 114 in order to improve performance.
Table 25 defines the data elements (and their corresponding tag values used during TLV encoding) that are included in the cached merchant data table.
The data is stored in a record oriented data buffer, where the merchant identifier (“Merchant ID”) is utilized as the key field for search/retrieval tasks. An index (or hash table) may be created internally to speed up the Merchant ID search task.
In an exemplary embodiment, TLV Data Overhead includes a (maximum) of five bytes per element data overhead (2-byte tag and 3-byte length) as required by the BER-TLV encoding format.
Transaction LogCommerce applet 113 includes a transaction log that is used to track usage within the MoCom platform at the merchant point-of-sale. During commerce widget 115 and secure element 112 synchronization tasks, this transaction log is transmitted up to the commerce widget 115 for later over-the-air (“OTA”) synchronization with the MoCom platform.
The actual content of the transaction log depends upon the Get Commerce Data command data/parameters provided by reader 120 during the transaction process at the merchant point-of-sale. An exact copy of the data payload sent to the commerce applet 113 by reader 120 via the Get Commerce Data APDU command is stored within that commerce transaction's record.
The transaction status is determined based on the logical result of the commerce data processing. If a data/processing error is detected within the commerce applet 113, the corresponding internal error code can be appended to the transaction log.
The following table defines the data elements (and their corresponding tag values used during TLV encoding) that are included in the transaction log.
The data is stored in a record oriented data buffer. A variable Get Commerce Data command data size is supported.
TLV Data Overhead includes a (maximum) of five bytes per element data overhead (2-byte tag and 3-byte length) as required by the BER-TLV encoding format.
Error ManagementIn an exemplary embodiment, error detection and management is handled at two levels. First, the response of the APDU command includes a two-byte Status Word result value. These responses are standardized and dictated by ISO 7816-4. However, a second level of error handling is managed internally by the Commerce Services applet. The second level of management includes the issuance of a standard 0x6909 status word in the response to the APDU command. Following this response, the client may issue a second command (“Get Internal Error Code”) to obtain a two-byte internal error code. This code may be cross-referenced to Table 27. Table 27 provides details on where and why the error occurred within the applet.
Particularly, Table 27 provides a master list of all possible internal error codes returned by the Get Internal Error Code APDU command supported by the commerce applet.
The following section provides a detailed description of the APDU commands available via the commerce applet 113.
APDU CommandsAll communications/data exchanges with the commerce applet 113 will be performed via APDU commands as defined in the ISO 7816 standards. Additional restrictions and data handling are described below.
Command Usage RestrictionsFor security reasons, a subset of the available commerce service commands can be restricted to specific connection modes. In one embodiment, referred to as “contact (wallet) mode,” all of the APDU commands defined in Table 18 above are available. However, in contactless mode, the following commands are allowed:
-
- Get Version
- Get Internal Error Code
- Get Response (Remaining Data)
- Get Commerce Data
If any other APDU command is sent in contactless mode, an exception is thrown and the Internal Error Code is set to the corresponding invalid command mode value (0x0102).
In one embodiment, the Get Commerce Data command may only be successfully executed when wallet application 114 is open. When the wallet application 114 is either started or terminated by the consumer, it is the responsibility of the wallet application 114 to notify a wallet companion applet (WCAp) so that it can perform monitoring, management and/or security functions. The WCAp applet, in turn, notifies the commerce applet of the wallet application state via a shared interface. WCAp applets are discussed in U.S. patent application Ser. No. 13/857,400 entitled “Systems, Methods, and Computer Program Products For Securing And Managing Applications On Secure Elements,” which is hereby incorporated by reference in its entirety.
Data Payload ManagementCommerce applet 113 validates that all required parameters have been included in the data payload. However, in most cases all non-relevant data elements can be ignored and a command will still process normally. In one embodiment, the length expected (Le) value is not verified by the commerce applet 113. It can be assumed to be the value zero, allowing the commerce applet 113 to send all available data via the response.
Get VersionThe Get Version command is used to obtain the version information of the currently loaded commerce applet 113. The version will be stored in three bytes (xx.yy.zz), where xx=release version, yy=major version (Wave) number, and zz=minor version number. This information is assigned by, for example, a MoCom platform system, specified during applet development or packaging, or stored as a static value within the code, and cannot be changed.
Table 28 defines the settings for the Get Version APDU command:
In one embodiment, no data is sent to the commerce applet. The Lc data length is 0x00.
The version information is contained within a three-byte response. The Le data length is 0x03. A length of 0x00 is also allowed. Exemplary response data elements are defined in Table 29:
Table 30 defines the possible Status Word values that may be returned by this command.
An applet provisional command, “Provision Applet,” allows the provisioning (or update) of the consumer related data, including the consumer ID and optionally related security data (key value and certificates). The new/updated data values are specified via the command data. In an exemplary embodiment, the Provision Applet command may only be used to update the Consumer ID.
Tables 31 and 32 define the settings for the Provision Applet APDU command:
The incoming data, illustrated in table 31, consists of the TLV encoded provisioning data. Therefore, the Lc data length is variable.
In one embodiment, no data is returned by the commerce applet 113. The Le data length is 0x00.
Table 33 defines the possible Status Word values that may be returned by Provision Applet command
The Get Consumer Info command is used to obtain a subset of static data related to the token owner (i.e., consumer). This data includes the following:
Consumer IdentifierTable 34 defines the settings for the Get Consumer Info APDU command:
No data is sent to the commerce applet 113. The Lc data length is, for example, 0x00. The actual length of the requested consumer information returned by the applet is variable, specific to the available consumer data. Therefore, the Le data length is 0x00, allowing the applet to manage a variable length response.
The response data is returned as a TLV formatted data steam. The Consumer ID may also be returned.
Table 36 defines the possible Status Word values that may be returned by this command.
The Get Commerce Data command provides commerce information (e.g., loyalty, offers and rewards) for a specified merchant (or set of merchants), based on the specified merchant/loyalty identifiers and supported offer types. This command provides a single point of contact for reader 120 attached to the merchant POS system (e.g., POS terminal).
A date/time stamp, merchant ID, store ID, commerce protocol version, and merchant capabilities byte can be sent as part of the incoming data.
Additional loyalty identifiers may also be sent in order to specify (filter) the loyalty information requested. The applet shall search a loyalty data table (Table 5), for the specified merchant/loyalty program ID(s) and retrieve the corresponding loyalty data. Additional offer type codes may be also sent as part of the incoming data in order to specify the type of offer information requested. The commerce applet 113 searches the cached merchant data table (Table 25) for the specified merchant identifier/offer code(s) and retrieves the corresponding offer data.
Required Parameters include:
-
- Date/Time Stamp
- Merchant ID
- Store ID
- App Version
Once transmission has been successfully completed, the applet shall create an entry in its transaction log recording the commerce data request.
Tables 37 and 38 define the settings for the Get Commerce Data APDU command:
The incoming data consists of a date/time stamp (used for transaction logging), merchant identifier, store identifier, merchant capabilities byte, and an optional set of additional data elements, including one or more additional loyalty identifiers (indicating loyalty programs supported by the merchant location), and additional offer codes (indicating the type of offers supported by the merchant location). In one embodiment, if a merchant does not specify a Merchant Capability parameter, a default mode supporting only merchant based loyalty and offers is used.
The actual length of the requested commerce data returned by the applet is variable specific to the available loyalty/offers related data. Therefore, the Le data length is 0x00, allowing the applet to manage a variable length response.
The response data is returned as a TLV formatted data steam. The MoCom platform-specific consumer identifier and all relevant loyalty/offers data are returned in a single data payload.
Consumer IDThe Consumer ID is sent in TLV format, where the data is sent using the tag CONSUMER_ID (0XDF21). In one embodiment, unless an error is detected, the consumer ID shall always be returned.
LoyaltyIn one embodiment, each instance of loyalty data shall consist of the following TLV encoded data elements:
-
- Loyalty Identifier
- Loyalty Account Code
Within this data stream, the first tag shall contain the Loyalty Identifier tag (T) byte (0xDF41). The length (L) byte shall specify the length of the Loyalty Identifier. The value (V) shall contain the actual Loyalty Identifier of L length for the corresponding Loyalty Data that will immediately follow.
The second tag should contain the Loyalty Account Code tag (T) byte (0xDF43). The length (L) byte shall specify the total length of the account code data linked to the previous Loyalty Identifier. The value (V) shall contain the actual loyalty data of L length.
Any additional loyalty identifiers found within the loyalty data table are appended to the TLV encoded data payload using this same format.
OffersEach instance of offer data shall consist of the following TLV encoded data elements:
-
- Offer ID
- Offer Code
Within this data stream, the first tag contains the Offer ID tag (T) byte (0xDF51). The length (L) byte specifies the length of the Offer ID. The value (V) contains the Offer ID for the corresponding offer data that will immediately follow.
The second tag preferably contains the Offer Code tag (T) byte value (0xDF53). The length (L) byte specifies the length of the Offer Type Code. The value (V) contains the Offer Code data for the corresponding Offer ID.
Any additional offer identifiers found within the offer data table are appended to the TLV encoded data payload using this same format. Exemplary response data is defined in Table 39.
Commerce applet 113 manages the transmission of multiple response packets (using the Get Response command) when the total data length exceeds 256 bytes. Table 40 defines the possible Status Word values that may be returned by the Get Response command.
The Post Transaction Data command provides a method through which the Merchant PoS system or payment terminal may return post-transaction data, including redeemed coupons, new offers, e-receipts, or other enhanced commerce data.
Tables 41 and 42 define the settings for the Post Transaction Data APDU command:
The incoming data consists of the TLV encoded provisioning data and a platform signature for authenticity purposes. Therefore, the Lc data length is variable.
Data need not be returned by commerce applet 113. The Le data length is 0x00.
Table 43 defines the possible Status Word values that may be returned by the Post Transaction Data command.
The Get Transaction Log is used to obtain all data stored in the transaction log. This command is typically used by the commerce widget for the purpose of widget and secure element data synchronization tasks.
Table 44 defines the settings for the Get Transaction Log APDU command:
In one embodiment, no data is sent to the commerce applet. The Lc data length is 0x00. The actual length of the transaction data returned by the applet is variable, depending on the number of transaction records and the variable length of the corresponding transaction log data. Therefore, the Le data length can be 0x00, allowing commerce applet 113 to manage variable length response.
Preferably, response data is returned as a TLV formatted data steam.
Transaction Log Response DataEach transaction log record shall consist of an Embedded-TLV Transaction Log tag followed by all related data elements. The data elements included in the transaction record are a mirror of those provided during the corresponding Get Commerce Data command requested by the Commerce-enabled payment terminal (NFC reader) at the merchant point-of-sale. Additional transaction log records are appended to the data using the same format. Table 45 illustrates exemplary response data.
In one embodiment, commerce applet 113 manages the transmission of multiple response packets using the Get Response command when the total data length exceeds 256 bytes.
Transaction Log Status Response DataWhen the transaction log status is requested, the commerce applet responds with status information within an embedded TLV data payload. This data includes the number of available transaction log records, loyalty and offer records sent during the last transaction. This is the same data payload provided to WCAp via the shared interface. Table 46 illustrates exemplary response data.
Table 47 defines possible Status Word values that may be returned by the Get Transaction Log command.
The Get Internal Error Code command is used to retrieve the last internal error code generated by the Commerce Services applet. This code provides a value that can be cross-referenced with the Internal Error Codes table (Table 26), providing a more specific description of the error. This command is used for more detailed diagnostic and error resolution.
Table 48 defines the settings for the Get Internal Error Code APDU command:
In one embodiment, no data is sent to the applet. The Lc data length is 0x00. The error code is contained within a two-byte response. Therefore, the Le data length is 0x02.
The following table defines the possible Status Word values that may be returned by this command.
The Get Loyalty Data command defined in Tables 50 and 51 is used to obtain the stored loyalty information based on a specified loyalty identifier. The two-byte loyalty identifier may be sent as part of the incoming data in order to specify the loyalty information requested. Commerce applet 113 searches a table of loyalty data for the specified merchant/loyalty ID and retrieves all of the corresponding loyalty data.
The (optional) incoming data shall consist of a TLV encoded loyalty identifier indicating the loyalty information requested. If Lc is set to 0x00 (no data incoming data is specified), all available loyalty identifiers are returned.
The actual length of the requested loyalty data returned by the applet is variable specific to the requested/available loyalty data. Therefore, the Le data length is 0x00, allowing the applet to manage a variable length response.
The response data (Table 51) is returned as a TLV formatted data stream. All of the relevant loyalty data is returned in a single data payload.
In one embodiment, if a loyalty data dump is requested (Lc=0x00), a list of all Loyalty Identifiers is returned in LV (no tag) format. Thus, only the Loyalty Identifier for each entry is included in the data payload.
Each instance of loyalty data includes the following data elements:
-
- Loyalty Identifier
- Loyalty Account Code
Table 53 defines the possible Status Word values that may be returned by this command.
The Update Loyalty Data command is used to add or update the specified merchant loyalty data. The data is sent as TLV formatted data stream. If the specified loyalty identifier exists, the corresponding loyalty data elements are updated. If the loyalty identifier does not exist, a new data record is created in the loyalty data table. Tables 54 and 55 define the settings for the Update Loyalty Data APDU command:
The incoming data shall consist of TLV encoded loyalty data. Therefore, the Lc data length is variable. In one embodiment, no data is returned by the applet. The Le data length is be 0x00.
Table 56 defines the possible Status Word values that may be returned by this command.
The Delete Loyalty Data command is used to delete the specified merchant loyalty data. The one-byte merchant code is specified via the command data. Alternatively, the P2 byte may be used to purge all existing offers. If P2 is set to 0xFF, the entire offer data store is deleted.
Tables 57 and 58 define the settings for the Delete Loyalty Data APDU command:
The incoming data consists of a TLV-encoded loyalty identifier. Therefore, the Lc data length is variable.
In one embodiment, no data is returned by commerce applet 113. The Le data length is 0x00.
Table 59 defines the possible Status Word values that may be returned by the Delete Loyalty Data command.
The Get Cached Merchant Data command is used to obtain all previously loaded data pertaining to a specific merchant. The merchant identifier may be sent as part of the incoming data in order to specify the pre-loaded data requested. If provided, the commerce applet searches a table of cached merchant data for the specified merchant ID and retrieves all of the corresponding data. This command may also be used to obtain information on all cached merchants stored within the Commerce Services applet.
Table 60 defines the settings for the Get Cached Merchant Data APDU command:
In one embodiment, no data is sent to the applet. The Lc data length is 0x00. The actual length of the requested cached merchant data returned by the applet is variable, specific to the requested/available cached merchant data. Therefore, the Le data length is 0x00; allowing the applet to manage a variable length response.
The response data (Table 61) may be returned as a TLV formatted data stream. All of the cached data is returned in a single data payload. Each instance of cached merchant data includes the following corresponding cached merchant data elements (if available):
-
- Merchant Identifier
- Loyalty Identifier
- Loyalty Account Code
- Offer Identifier(s)
- Offer Code(s)
In an exemplary embodiment, the cached merchant data will be loaded/managed by the wallet application and may include multiple offer IDs/codes pertaining to that specific merchant. However, the applet shall prefix the consumer identifier to the response data and append any additional loyalty/offer data requested by the Get Commerce Data command.
Table 62 defines the possible Status Word values that may be returned by this command.
The Update Cached Merchant Data command is used to update the cached (quick-response) data for a specified merchant. The data is sent as TLV formatted data stream, similar to the response data returned by the Get Commerce Data command. This command is used to pre-load a given merchant's Get Commerce Data response.
Tables 63 and 64 define the settings for the Update Cached Merchant Data APDU command:
The incoming data consists of embedded TLV encoded cached merchant data. Therefore, the Lc data length is variable.
Commerce applet returns a two byte response containing the number of available bytes remaining in the cached merchant data buffer. Therefore, the Le data length is 0x02 (or 0x00).
The response data (Table 65) returned by the command consists of a 2-byte (short) value representing the number of remaining bytes available in the cached merchant data buffer. This allows the wallet application 114 to manage how many cached offers can “fit” into the Commerce Services applet.
Table 66 defines the possible Status Word values that may be returned by this command.
Table 67 defines the data elements and corresponding tag values and target/max byte sizes used by commerce based applications according to the example aspects described herein. Additional values have been provided for those elements with a limited/fixed value range.
A few of the data elements included in the commerce data payload include a format byte that identifies the data encoding used for that element. The data encoding is specified by the merchant to ensure compatibility at the point of sale. The formatted data value is supplied by the MoCom platform to the wallet application. Thus, no additional interpreting/formatting is necessary between the platform, wallet, secure element, and payment terminal It is the role of the payment terminal (or merchant POS system) to properly interpret the data and supply it to the merchant system for processing.
The following data elements shall include the format byte:
-
- Loyalty Account Code
- Offer Code
Table 68 defines the possible format byte values and their corresponding encoding rule:
A BCD encoded data value that includes the hexadecimal value ‘F’ in the first nibble shall identify a data stream containing an odd number of digits. Thus, the BCD data stream 12345 is encoded in 3 byte buffer as follows: 0xF12345.
Computer Readable Medium ImplementationThe example embodiments described above such as, for example, the systems and procedures depicted in or discussed in connection with
The computer 800 may include without limitation a processor device 810, a main memory 825, and an interconnect bus 805. The processor device 810 may include without limitation a single microprocessor, or may include a plurality of microprocessors for configuring the computer 800 as a multi-processor system. The main memory 825 stores, among other things, instructions and/or data for execution by the processor device 810. The main memory 625 may include banks of dynamic random access memory (DRAM), as well as cache memory.
The computer 800 may further include a mass storage device 830, peripheral device(s) 840, portable storage medium device(s) 850, input control device(s) 880, a graphics subsystem 860, and/or an output display 870. For explanatory purposes, all components in the computer 800 are shown in
The portable storage medium device 850 operates in conjunction with a nonvolatile portable storage medium, such as, for example, a compact disc read only memory (CD-ROM), to input and output data and code to and from the computer 800. In some embodiments, the software for storing an internal identifier in metadata may be stored on a portable storage medium, and may be inputted into the computer 800 via the portable storage medium device 850. The peripheral device(s) 840 may include any type of computer support device, such as, for example, an input/output (I/O) interface configured to add additional functionality to the computer 800. For example, the peripheral device(s) 840 may include a network interface card for interfacing the computer 800 with a network 820.
The input control device(s) 880 provide a portion of the user interface for a user of the computer 800. The input control device(s) 880 may include a keypad and/or a cursor control device. The keypad may be configured for inputting alphanumeric characters and/or other key information. The cursor control device may include, for example, a mouse, a trackball, a stylus, and/or cursor direction keys. In order to display textual and graphical information, the computer 800 may include the graphics subsystem 860 and the output display 870. The output display 870 may include a cathode ray tube (CRT) display and/or a liquid crystal display (LCD). The graphics subsystem 860 receives textual and graphical information, and processes the information for output to the output display 870.
Each component of the computer 800 may represent a broad category of a computer component of a general and/or special purpose computer. Components of the computer 800 are not limited to the specific implementations provided here.
Portions of the example embodiments of the invention may be conveniently implemented by using a conventional general purpose computer, a specialized digital computer and/or a microprocessor programmed according to the teachings of the present disclosure, as is apparent to those skilled in the computer art. Appropriate software coding may readily be prepared by skilled programmers based on the teachings of the present disclosure.
Some embodiments may also be implemented by the preparation of application-specific integrated circuits, field programmable gate arrays, or by interconnecting an appropriate network of conventional component circuits.
Some embodiments include a computer program product. The computer program product may be a storage medium or media having instructions stored thereon or therein which can be used to control, or cause, a computer to perform any of the procedures of the example embodiments of the invention. The storage medium may include without limitation a floppy disk, a mini disk, an optical disc, a Blu-Ray Disc, a DVD, a CD-ROM, a micro-drive, a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory, a flash card, a magnetic card, an optical card, nanosystems, a molecular memory integrated circuit, a RAID, remote data storage/archive/warehousing, and/or any other type of device suitable for storing instructions and/or data.
Stored on any one of the computer readable medium or media, some implementations include software for controlling both the hardware of the general and/or special computer or microprocessor, and for enabling the computer or microprocessor to interact with a human user or other mechanism utilizing the results of the example embodiments of the invention. Such software may include without limitation device drivers, operating systems, and user applications. Ultimately, such computer readable media further includes software for performing example aspects of the invention, as described above.
Included in the programming and/or software of the general and/or special purpose computer or microprocessor are software modules for implementing the procedures described above.
While various example embodiments of the invention have been described above, it should be understood that they have been presented by way of example, and not limitation. It is apparent to persons skilled in the relevant art(s) that various changes in form and detail can be made therein. Thus, the invention should not be limited by any of the above described example embodiments, but should be defined only in accordance with the following claims and their equivalents.
In addition, it should be understood that the figures are presented for example purposes only. The architecture of the example embodiments presented herein is sufficiently flexible and configurable, such that it may be utilized and navigated in ways other than that shown in the accompanying figures.
Further, the purpose of the Abstract is to enable the U.S. patent and Trademark Office and the public generally, and especially the scientists, engineers and practitioners in the art who are not familiar with patent or legal terms or phraseology, to determine quickly from a cursory inspection the nature and essence of the technical disclosure of the application. The Abstract is not intended to be limiting as to the scope of the example embodiments presented herein in any way. It is also to be understood that the procedures recited in the claims need not be performed in the order presented.
Claims
1. A system for managing contactless transactions comprising:
- at least one processor operable to:
- receive an activation request;
- identify a first tap from a mobile device, the first tap occurring when the mobile device is placed within a predetermined proximity to the system;
- transmit to the mobile device a first select command including an application identifier (AID) corresponding to a first application;
- receive from the mobile device a first response based on the first select command;
- transmit to the mobile device a data request including information indicating supported data types; and
- receive from the mobile device a second response based on the data request, the second response including transaction data.
2. The system of claim 1, the at least one processor being further operable to:
- determine whether or not the first select command was successfully processed; and
- transmit the transaction data to a merchant point of sale (POS) system.
3. The system of claim 1, the at least one processor being further operable to:
- transmit a payment AID request to the mobile device;
- receive from the mobile device an AID corresponding to a second application;
- transmit to the mobile device a second select command including the AID corresponding to the second application;
- receive from the mobile device file control information (FCI) corresponding to the second application; and
- receive payment data from the mobile device.
4. The system of claim 3, the at least one processor being further operable to:
- determine whether or not the first select command and the second select command were successfully processed; and
- transmit the transaction data and the payment data to the merchant POS system.
5. The system of claim 1 or claim 3, the at least one processor being further operable to:
- receive post-transaction data from the merchant POS system;
- identify a second tap from the mobile device, the second tap occurring when the mobile device is placed within a predetermined proximity to the system; and
- transmit the post-transaction data to the mobile device.
6. The system of claim 1, the at least one processor being further operable to:
- receive post-transaction data from the merchant POS system;
- identify a second tap from the mobile device, the second tap occurring when the mobile device is placed within a predetermined proximity to the system;
- transmit a payment AID request to the mobile device;
- receive from the mobile device an AID corresponding to a second application;
- transmit to the mobile device a second select command including the AID corresponding to the second application;
- receive from the mobile device file control information (FCI) corresponding to the second application;
- receive payment data from the mobile device;
- transmit to the mobile device a third select command including the AID corresponding to the first application;
- receive from the mobile device a third response based on the third select command;
- transmit to the mobile device the post-transaction data; and
- receive from the mobile device a fourth response based on the post-transaction data;
- determine whether or not the first select command, second select command, and third select command were successfully processed; and
- transmit the payment data to the merchant POS system.
7. A method for managing contactless transactions, the method comprising steps of:
- receiving an activation request;
- identifying a first tap from a mobile device, the first tap occurring when the mobile device is placed within a predetermined proximity to the a terminal;
- transmitting to the mobile device a first select command including an application identifier (AID) corresponding to a first application;
- receiving from the mobile device a first response based on the first select command;
- transmitting to the mobile device a data request including information indicating supported data types; and
- receiving from the mobile device a second response based on the data request, the second response including transaction data.
8. The method of claim 7, further comprising steps of:
- determining whether or not the first select command was successfully processed; and
- transmitting the transaction data to a merchant point of sale (POS) system.
9. The method of claim 7, further comprising steps of:
- transmitting a payment AID request to the mobile device;
- receiving from the mobile device an AID corresponding to a second application;
- transmitting to the mobile device a second select command including the AID corresponding to the second application;
- receiving from the mobile device file control information (FCI) corresponding to the second application; and
- receiving payment data from the mobile device.
10. The method of claim 9, further comprising steps of:
- determining whether or not the first select command and the second select command were successfully processed; and
- transmitting the transaction data and the payment data to the merchant POS system.
11. The method of claim 7 or claim 9, further comprising steps of:
- receiving post-transaction data from the merchant POS system;
- identifying a second tap from the mobile device, the second tap occurring when the mobile device is placed within a predetermined proximity to the terminal; and
- transmit the post-transaction data to the mobile device.
12. The method of claim 7, further comprising steps of:
- receiving post-transaction data from the merchant POS system;
- identifying a second tap from the mobile device, the second tap occurring when the mobile device is placed within a predetermined proximity to the terminal;
- transmitting a payment AID request to the mobile device;
- receiving from the mobile device an AID corresponding to a second application;
- transmitting to the mobile device a second select command including the AID corresponding to the second application;
- receiving from the mobile device file control information (FCI) corresponding to the second application;
- receiving payment data from the mobile device;
- transmitting to the mobile device a third select command including the AID corresponding to the first application;
- receiving from the mobile device a third response based on the third select command;
- transmitting to the mobile device the post-transaction data; and
- receiving from the mobile device a fourth response based on the post-transaction data;
- determining whether or not the first select command, second select command, and third select command were successfully processed; and
- transmitting the payment data to the merchant POS system.
13. A non-transitory computer-readable medium having stored thereon sequences of instructions for causing one or more processors to:
- receive an activation request;
- identify a first tap from a mobile device, the first tap occurring when the mobile device is placed within a predetermined proximity to the terminal;
- transmit to the mobile device a first select command including an application identifier (AID) corresponding to a first application;
- receive from the mobile device a first response based on the first select command;
- transmit to the mobile device a data request including information indicating supported data types; and
- receive from the mobile device a second response based on the data request, the second response including transaction data.
14. The computer-readable medium of claim 13, having stored thereon sequences of instructions for further causing the one or more processors to:
- determine whether or not the first select command was successfully processed; and
- transmit the transaction data to a merchant point of sale (POS) system.
15. The computer-readable medium of claim 13, having stored thereon sequences of instructions for further causing the one or more processors to:
- transmit a payment AID request to the mobile device;
- receive from the mobile device an AID corresponding to a second application;
- transmit to the mobile device a second select command including the AID corresponding to the second application;
- receive from the mobile device file control information (FCI) corresponding to the second application; and
- receive payment data from the mobile device.
16. The computer-readable medium of claim 15, having stored thereon sequences of instructions for further causing the one or more processors to:
- determine whether or not the first select command and the second select command were successfully processed; and
- transmit the transaction data and the payment data to the merchant POS system.
17. The computer-readable medium of claim 13 or claim 15, having stored thereon sequences of instructions for further causing the one or more processors to:
- receive post-transaction data from the merchant POS system;
- identify a second tap from the mobile device, the second tap occurring when the mobile device is placed within a predetermined proximity to the terminal; and
- transmit the post-transaction data to the mobile device.
18. The computer-readable medium of claim 13, having stored thereon sequences of instructions for further causing the one or more processors to:
- receive post-transaction data from the merchant POS system;
- identify a second tap from the mobile device, the second tap occurring when the mobile device is placed within a predetermined proximity to the terminal;
- transmit a payment AID request to the mobile device;
- receive from the mobile device an AID corresponding to a second application;
- transmit to the mobile device a second select command including the AID corresponding to the second application;
- receive from the mobile device file control information (FCI) corresponding to the second application;
- receive payment data from the mobile device;
- transmit to the mobile device a third select command including the AID corresponding to the first application;
- receive from the mobile device a third response based on the third select command;
- transmit to the mobile device the post-transaction data; and
- receive from the mobile device a fourth response based on the post-transaction data;
- determine whether or not the first select command, second select command, and third select command were successfully processed; and
- transmit the payment data to the merchant POS system.
Type: Application
Filed: May 23, 2013
Publication Date: Nov 28, 2013
Inventors: Larry L. Bush (Phoenix, AZ), Christopher J. Tomczak (Allen, TX)
Application Number: 13/901,134
International Classification: G06Q 20/32 (20060101);