JP7359987B1 - Payment server, payment control method, and program - Google Patents

Payment server, payment control method, and program Download PDF

Info

Publication number
JP7359987B1
JP7359987B1 JP2023081768A JP2023081768A JP7359987B1 JP 7359987 B1 JP7359987 B1 JP 7359987B1 JP 2023081768 A JP2023081768 A JP 2023081768A JP 2023081768 A JP2023081768 A JP 2023081768A JP 7359987 B1 JP7359987 B1 JP 7359987B1
Authority
JP
Japan
Prior art keywords
payment
user
time code
information
terminal device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2023081768A
Other languages
Japanese (ja)
Inventor
ドルヴァ タンネルー
ジョナサン チェン
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
PayPay Corp
Original Assignee
PayPay Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by PayPay Corp filed Critical PayPay Corp
Priority to JP2023081768A priority Critical patent/JP7359987B1/en
Priority to JP2023167828A priority patent/JP7391263B1/en
Application granted granted Critical
Publication of JP7359987B1 publication Critical patent/JP7359987B1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

【課題】より安全な電子決済を実現する決済サーバ、決済制御方法およびプログラムを提供する。【解決手段】決済サーバが、一以上の利用者端末装置と、一以上の店舗端末装置とが、ネットワークを介して通信して電子決済サービスを提供する構成において、決済サーバは、決済情報に、ワンタイムコードに基づく情報が含まれる場合は、ワンタイムコードを用いて電子決済を進行させ、決済情報に、アプリケーションプログラムがワンタイムコードを用いずに生成したオフラインコード画像から得られた情報が含まれる場合は、オフラインコード画像から得られた情報を用いて電子決済を進行させる決済処理部を備える。決済処理部は、決済情報に、アプリケーションプログラムがワンタイムコードを用いずに生成したオフラインコード画像から得られた情報が含まれる場合、決済情報に、ワンタイムコードに基づく情報が含まれる場合に比して、決済額の上限を低く設定する。【選択図】図4The present invention provides a payment server, a payment control method, and a program that realize safer electronic payments. [Solution] In a configuration in which a payment server provides an electronic payment service by communicating with one or more user terminal devices and one or more store terminal devices via a network, the payment server stores payment information such as If information based on a one-time code is included, the one-time code is used to proceed with the electronic payment, and the payment information includes information obtained from an offline code image generated by the application program without using the one-time code. In the case where a payment processing unit is used, the payment processing unit is provided to proceed with electronic payment using information obtained from the offline code image. If the payment processing unit includes information obtained from an offline code image generated by the application program without using a one-time code, the payment processing unit will and set a lower upper limit on the payment amount. [Selection diagram] Figure 4

Description

本発明は、決済サーバ、決済制御方法、およびプログラムに関する。 The present invention relates to a payment server, a payment control method, and a program.

スマートフォン等の端末装置において動作する決済アプリがコード画像を表示し、店舗側の装置でコード画像から情報を読み取ることで行われる態様の電子決済が普及している(特許文献1)。この態様の電子決済では、コード画像に表示させる元の情報として、決済サーバが利用者のアカウントに対応付けて発行するワンタイムコードが使用される。ワンタイムコードを使用することで、コード画像に個人情報等を入れ込む必要が無くなるため、セキュリティ性の向上が実現されている。 BACKGROUND ART Electronic payment is becoming widespread, in which a payment application running on a terminal device such as a smartphone displays a code image, and a store-side device reads information from the code image (Patent Document 1). In this mode of electronic payment, a one-time code issued by a payment server in association with a user's account is used as the original information displayed in the code image. By using a one-time code, there is no need to include personal information in the code image, resulting in improved security.

特許第7237224号公報Patent No. 7237224

上記の態様の電子決済においては、電子決済が行われようとする際に決済アプリから決済サーバにワンタイムコードのリクエストが送信され、それに対してワンタイムコードが発行される。従って、従来の技術では、電子決済の時点において端末装置と決済サーバの通信が困難な状況において、有効なワンタイムコードが取得できないことで、電子決済が不可になってしまう場合があった。そして、従来の技術では、そのような場合に代替的な手法で電子決済を行う際に、セキュリティ性の低下が懸念される場合があった。 In the above-mentioned electronic payment, when electronic payment is to be performed, a request for a one-time code is sent from the payment application to the payment server, and a one-time code is issued in response. Therefore, in the conventional technology, in a situation where communication between the terminal device and the payment server is difficult at the time of electronic payment, there are cases where the electronic payment becomes impossible because a valid one-time code cannot be obtained. With conventional techniques, there may be concerns about a decrease in security when performing electronic payment using an alternative method in such a case.

本発明は、このような事情を考慮してなされたものであり、より安全な電子決済を実現することができる決済サーバ、決済制御方法、およびプログラムを提供することを目的の一つとする。 The present invention has been made in consideration of such circumstances, and one of the objects is to provide a payment server, a payment control method, and a program that can realize safer electronic payments.

本発明の一態様は、利用者の端末装置において動作するアプリケーションプログラムと協働して電子決済サービスを前記利用者に提供する決済サーバであって、店舗に設置された店舗端末装置と通信し、前記店舗端末装置が、前記端末装置が表示するコード画像から読み取った情報の少なくとも一部と決済金額とを含む決済情報を前記店舗端末装置から受信する通信部と、前記通信部を介して、ワンタイムコードを前記アプリケーションプログラムに提供する提供部と、前記決済情報に基づいて電子決済を行う決済処理部であって、前記決済情報に、前記ワンタイムコードに基づく情報が含まれる場合は、前記ワンタイムコードを用いて電子決済を進行させ、前記決済情報に、前記アプリケーションプログラムが前記ワンタイムコードを用いずに生成したオフラインコード画像から得られた情報が含まれる場合は、前記オフラインコード画像から得られた情報を用いて電子決済を進行させる決済処理部と、を備え、前記決済処理部は、前記決済情報に、前記アプリケーションプログラムが前記ワンタイムコードを用いずに生成したオフラインコード画像から得られた情報が含まれる場合、前記決済情報に、前記ワンタイムコードに基づく情報が含まれる場合に比して、決済額の上限を低く設定する、決済サーバである。 One aspect of the present invention is a payment server that provides an electronic payment service to the user in cooperation with an application program running on a user's terminal device, and which communicates with a store terminal device installed in a store, The store terminal device receives payment information including at least part of the information read from the code image displayed by the terminal device and the payment amount from the store terminal device, and a providing unit that provides a time code to the application program; and a payment processing unit that performs electronic payment based on the payment information, and if the payment information includes information based on the one-time code, If electronic payment is proceeded using a time code and the payment information includes information obtained from an offline code image generated by the application program without using the one-time code, the information obtained from the offline code image is a payment processing unit that proceeds with an electronic payment using the received information, and the payment processing unit includes a payment processing unit that uses an offline code image generated by the application program without using the one-time code in the payment information. When the payment information includes information based on the one-time code, the payment server sets the upper limit of the payment amount lower than when the payment information includes information based on the one-time code.

本発明の一態様によれば、より安全な電子決済を実現することができる決済サーバ、決済制御方法、およびプログラムを提供することができる。 According to one aspect of the present invention, it is possible to provide a payment server, a payment control method, and a program that can realize safer electronic payments.

電子決済サービスが実現されるための構成の一例を示す図である。1 is a diagram illustrating an example of a configuration for realizing an electronic payment service. 電子決済(オンライン決済)の大まかな流れを例示したシーケンス図(その1)である。FIG. 1 is a sequence diagram (Part 1) illustrating the general flow of electronic payment (online payment). 電子決済の(オンライン決済)大まかな流れを例示したシーケンス図(その2)である。FIG. 2 is a sequence diagram (Part 2) illustrating the general flow of electronic payment (online payment). 第1実施形態に係る決済サーバ100の構成図である。FIG. 1 is a configuration diagram of a payment server 100 according to a first embodiment. 利用者情報172の内容の一例を示す図である。3 is a diagram showing an example of the contents of user information 172. FIG. 加盟店/店舗情報176の内容の一例を示す図である。It is a diagram showing an example of the contents of member store/store information 176. 決済アプリ20のトップ画面IM1の一例を示す図である。3 is a diagram showing an example of a top screen IM1 of the payment application 20. FIG. オフライン決済のために行われる処理の流れを例示したシーケンス図である。FIG. 2 is a sequence diagram illustrating the flow of processing performed for offline payment. 決済アプリ20による画面制御に係る処理の流れの一例を示すフローチャートである。3 is a flowchart illustrating an example of the flow of processing related to screen control by the payment application 20. FIG. 待機画面IM2の一例を示す図である。It is a figure which shows an example of standby screen IM2. ハーフシートIM3の一例を示す図である。It is a figure showing an example of half sheet IM3. 詳細説明画面IMeの一例を示す図である。It is a figure which shows an example of detailed explanation screen IMe. 第1オフラインコード画像が表示される第1オフラインモード画面IM4の一例を示す図である。It is a diagram showing an example of a first offline mode screen IM4 on which a first offline code image is displayed. 第2オフラインコード画像が表示される第2オフラインモード画面IM5の一例を示す図である。It is a diagram showing an example of a second offline mode screen IM5 on which a second offline code image is displayed. 決済方法選択画面IM6の一例を示す図である。It is a figure showing an example of payment method selection screen IM6.

以下、図面を参照し、本発明のアプリケーションプログラム、決済制御方法、決済サーバ、プログラム、および決済システムを提供することの実施形態について説明する。アプリケーションプログラムと決済サーバは、協働して電子決済サービスを提供する。以下の説明ではアプリケーションプログラムを決済アプリと称する。電子決済サービスは、店舗における商品やサービスの購買に係る決済をサポートするサービスである。店舗とは、例えば、現実空間に存在する物理的な店舗(実店舗)であるが、電子商取引の仮想店舗を含んでもよい。仮想店舗は、電子決済サービスの運営者とは異なる主体によって提供されるものを含んでもよい。その場合、仮想店舗における買い物の決済の際に、電子決済サービスのインターフェース画面に遷移するように制御される。電子決済サービスにおいて、店舗は、例えば加盟店(ブランド)に属するものとして扱われ、店舗において購買行動が行われた際の決済などの処理は、主として利用者と加盟店の間で行われる。これに代えて、決済などの処理が利用者と店舗との間で行われてもよい。 EMBODIMENT OF THE INVENTION Hereinafter, embodiments of providing an application program, a payment control method, a payment server, a program, and a payment system of the present invention will be described with reference to the drawings. The application program and the payment server work together to provide electronic payment services. In the following description, the application program will be referred to as a payment application. An electronic payment service is a service that supports payments for purchases of products and services at stores. A store is, for example, a physical store (actual store) that exists in real space, but may also include a virtual store for electronic commerce. Virtual stores may include those provided by entities different from the operator of the electronic payment service. In this case, when paying for shopping at the virtual store, the screen is controlled to transition to an interface screen of the electronic payment service. In an electronic payment service, a store is treated as belonging to a member store (brand), for example, and processing such as payment when a purchase is made at a store is mainly performed between a user and the member store. Alternatively, processing such as payment may be performed between the user and the store.

[電子決済サービス]
図1は、電子決済サービスが実現されるための構成の一例を示す図である。電子決済サービスは、決済サーバ100を中心として実現される。決済サーバ100は、例えば、一以上の利用者端末装置10、一以上の第1店舗端末装置50、及び一以上の第2店舗端末装置70のそれぞれとネットワークNWを介して通信する。ネットワークNWは、例えば、インターネット、LAN(Local Area Network)、無線基地局、プロバイダ装置などを含む。
[Electronic payment service]
FIG. 1 is a diagram illustrating an example of a configuration for realizing an electronic payment service. The electronic payment service is realized mainly by the payment server 100. The payment server 100 communicates with each of the one or more user terminal devices 10, the one or more first store terminal devices 50, and the one or more second store terminal devices 70, for example, via the network NW. The network NW includes, for example, the Internet, a LAN (Local Area Network), a wireless base station, a provider device, and the like.

利用者端末装置10は、例えば、スマートフォンやタブレット端末等の可搬型端末装置である。利用者端末装置10は、少なくとも、光学読取機能、通信機能、表示機能、入力受付機能、プログラム実行機能を有するコンピュータ装置である。以下の説明では、これらの機能を実現するための構成をそれぞれカメラ、通信装置、タッチパネル、CPU(Central Processing Unit)等と称する。利用者端末装置10では、CPU等のプロセッサにより決済アプリ20が実行されることで、決済サーバ100と連携して電子決済サービスを利用者に提供するように動作する。決済アプリ20は、例えば、アプリケーションストアから利用者端末装置10にインストールされ、カメラ、通信装置、タッチパネルなどを制御する。 The user terminal device 10 is, for example, a portable terminal device such as a smartphone or a tablet terminal. The user terminal device 10 is a computer device having at least an optical reading function, a communication function, a display function, an input reception function, and a program execution function. In the following description, the configurations for realizing these functions are respectively referred to as a camera, a communication device, a touch panel, a CPU (Central Processing Unit), and the like. In the user terminal device 10, the payment application 20 is executed by a processor such as a CPU, so that the payment application 20 operates in cooperation with the payment server 100 to provide electronic payment services to the user. The payment application 20 is installed on the user terminal device 10 from an application store, for example, and controls a camera, a communication device, a touch panel, and the like.

第1店舗端末装置50は、例えば、店舗に設置される。第1店舗端末装置50は、少なくとも、商品価格取得機能、光学読取機能、プログラム実行機能、通信機能を有するコンピュータ装置である。第1店舗端末装置50は、いわゆるPOS(Point of Sale)装置を含み、POS装置によって商品価格取得機能や光学読取機能を実現してもよい。店舗コード画像60は、店舗に置かれ、QRコード(登録商標)等のコード画像が紙やプラスチックの媒体に印刷されたものである。なお、店舗コード画像60は、店舗に置かれたディスプレイ(スマートフォンなどの端末装置のディスプレイでもよい)によって表示されてもよい。 The first store terminal device 50 is installed in a store, for example. The first store terminal device 50 is a computer device having at least a product price acquisition function, an optical reading function, a program execution function, and a communication function. The first store terminal device 50 includes a so-called POS (Point of Sale) device, and the POS device may realize a product price acquisition function and an optical reading function. The store code image 60 is placed in a store, and a code image such as a QR code (registered trademark) is printed on a paper or plastic medium. Note that the store code image 60 may be displayed on a display (or a display of a terminal device such as a smartphone) placed in the store.

第2店舗端末装置70は、加盟店の運営者によって使用される。第2店舗端末装置70は、スマートフォンやタブレット端末、パーソナルコンピュータ等である。第2店舗端末装置70では、加盟店向けインターフェース72が動作する。加盟店向けインターフェース72は、加盟店向けアプリであってもよいし、ブラウザであってもよい。加盟店向けインターフェース72は、加盟店の運営者によるクーポンの設定等を受け付け、決済サーバ100に送信する。スマートフォンである第2店舗端末装置70は、加盟店向けアプリを実行することで、店舗コード画像に相当するコード画像を表示したり、利用者端末装置10が表示するコード画像を読み取ったりする機能を有する。 The second store terminal device 70 is used by an operator of a member store. The second store terminal device 70 is a smartphone, a tablet terminal, a personal computer, or the like. In the second store terminal device 70, an interface 72 for member stores operates. The member store interface 72 may be an application for member stores or may be a browser. The member store interface 72 receives coupon settings and the like from the member store operator and transmits them to the payment server 100. The second store terminal device 70, which is a smartphone, has the function of displaying a code image corresponding to the store code image and reading the code image displayed by the user terminal device 10 by executing an application for member stores. have

決済サーバ100は、利用者端末装置10または第1店舗端末装置50から受信した決済情報に基づいて電子決済を実現する。第1店舗端末装置50は、POS装置、POSゲートウェイ、加盟店サーバなどを含む場合があり、その場合、POS装置から各種装置を介して決済情報が決済サーバ100に送信される。以下の説明では、これを特に区別せず、第1店舗端末装置50から決済情報が送信されるものとする。 The payment server 100 realizes electronic payment based on payment information received from the user terminal device 10 or the first store terminal device 50. The first store terminal device 50 may include a POS device, a POS gateway, a member store server, etc. In that case, payment information is transmitted from the POS device to the payment server 100 via various devices. In the following description, it is assumed that payment information is transmitted from the first store terminal device 50 without making any particular distinction.

図2および図3は、電子決済(オンライン決済)の大まかな流れを例示したシーケンス図である。電子決済には、パターン1とパターン2の二つが存在してよい。 2 and 3 are sequence diagrams illustrating the general flow of electronic payment (online payment). There may be two patterns, pattern 1 and pattern 2, in electronic payment.

図2に示すパターン1(以下、ユーザスキャンと称する)の場合、決済アプリ20が起動した状態の利用者端末装置10が、光学読取機能によって店舗コード画像60をデコードする(S1)。店舗コード画像60には、店舗URL(Uniform Resource Locator)の情報が含まれている。この店舗URLは、電子決済サービスのドメインに対して店舗を識別可能な情報が付加されたものであり、決済サーバ100において加盟店IDや店舗ID等との対応付けがなされている(後述)。決済アプリ20は、店舗URLとアカウントIDを含む第1決済情報を決済サーバ100に送信する(S2)。決済サーバ100は、店舗URLに対応する加盟店ID、店舗IDから、店舗情報(後述)を検索して加盟店名と店舗名の情報を取得し(S3)、決済アプリ20に送信する(S4)。利用者は、加盟店名や店舗名が表示された画面において、決済金額を利用者端末装置10に入力する(S5)。そして、利用者端末装置10は、少なくとも決済金額を含む第2決済情報を生成し、決済サーバ100に送信する(S6)。決済サーバ100は、受信した第2決済情報に基づいて電子決済を行う(S7)。そして、決済サーバ100は、決済完了通知(決済完了画面を表示するための情報)を決済アプリ20に送信し(S8)、決済アプリ20は決済完了画面を表示する(S9)。なお、店舗コード画像60が店舗に置かれたディスプレイによって表示される場合、店舗コード画像60には、店舗URLだけでなく決済金額の情報が含まれる場合がある。この場合、利用者が決済金額を入力する手順が省略され、第1決済情報に決済金額の情報が含められて決済サーバ100に送信される。加盟店名や店舗名の情報は、決済完了画面に含めて表示されてよい。 In the case of pattern 1 (hereinafter referred to as user scan) shown in FIG. 2, the user terminal device 10 with the payment application 20 activated decodes the store code image 60 using an optical reading function (S1). The store code image 60 includes information on a store URL (Uniform Resource Locator). This store URL is the domain of the electronic payment service added with information that can identify the store, and is associated with member store IDs, store IDs, etc. in the payment server 100 (described later). The payment application 20 transmits first payment information including the store URL and account ID to the payment server 100 (S2). The payment server 100 searches for store information (described later) from the member store ID and store ID corresponding to the store URL, obtains the member store name and store name information (S3), and sends the information to the payment application 20 (S4). . The user inputs the payment amount into the user terminal device 10 on the screen on which the member store name and store name are displayed (S5). Then, the user terminal device 10 generates second payment information including at least the payment amount and transmits it to the payment server 100 (S6). The payment server 100 performs electronic payment based on the received second payment information (S7). Then, the payment server 100 transmits a payment completion notification (information for displaying the payment completion screen) to the payment application 20 (S8), and the payment application 20 displays the payment completion screen (S9). Note that when the store code image 60 is displayed on a display placed in a store, the store code image 60 may include not only the store URL but also information on the payment amount. In this case, the step for the user to input the payment amount is omitted, and the first payment information includes information on the payment amount and is sent to the payment server 100. Information on the member store name and store name may be included and displayed on the payment completion screen.

図3に示すパターン2(以下、ストアスキャンと称する)の場合、決済アプリ20の起動時、決済アプリ20において支払う操作が行われたとき、自動更新のタイミング(例えば1分おき)になったとき、およびその他のタイミングで、決済アプリ20はワンタイムコードの発行要求を決済サーバ100に送信する(S11)。決済サーバ100(後述する決済コンテンツ提供部120)はワンタイムコードを生成し(S12)、決済アプリ20に送信する(S13)。決済アプリ20は、ワンタイムコードに基づいて生成した、QRコードやバーコード等のコード画像(オンラインコード画像)を表示する(S14)。利用者は利用者端末装置10の表示面を第1店舗端末装置50に翳し(提示し)、第1店舗端末装置50は、光学読取機能によってコード画像をデコードし、ワンタイムコード等を取得する(S15)。そして、第1店舗端末装置50は、ワンタイムコード、決済金額、加盟店ID、店舗ID等を含む決済情報を生成し、決済サーバ100に送信する(S16)。決済金額の情報は、予めバーコード読み取りや手入力等によって取得されている。決済サーバ100は、受信した情報に基づいて、ワンタイムコードに対応する利用者を特定し、電子決済を行う(S17)。そして、決済サーバ100は、決済完了通知を決済アプリ20に送信し(S18)、決済アプリ20は決済完了画面を表示する(S19)。なお、これと並行して第1店舗端末装置50にも決済完了を通知する情報が送信される。 In the case of pattern 2 (hereinafter referred to as store scan) shown in FIG. 3, when the payment application 20 is started, when a payment operation is performed on the payment application 20, and when the automatic update timing (for example, every minute) is reached. , and at other timings, the payment application 20 transmits a one-time code issuance request to the payment server 100 (S11). The payment server 100 (payment content providing unit 120 described later) generates a one-time code (S12) and sends it to the payment application 20 (S13). The payment application 20 displays a code image (online code image) such as a QR code or barcode generated based on the one-time code (S14). The user holds up (presents) the display surface of the user terminal device 10 to the first store terminal device 50, and the first store terminal device 50 decodes the code image using an optical reading function and obtains a one-time code, etc. (S15). Then, the first store terminal device 50 generates payment information including a one-time code, payment amount, member store ID, store ID, etc., and transmits it to the payment server 100 (S16). Information on the payment amount is obtained in advance by barcode reading, manual input, etc. The payment server 100 identifies the user corresponding to the one-time code based on the received information and performs electronic payment (S17). Then, the payment server 100 transmits a payment completion notification to the payment application 20 (S18), and the payment application 20 displays a payment completion screen (S19). In addition, in parallel with this, information notifying completion of payment is also transmitted to the first store terminal device 50.

なお、上記のいずれか一方のみのパターンで電子決済が行われてもよい。また、図2で説明した「アカウントID」は、利用者の識別情報として用いられ得る他の情報(例えば電話番号)であってもよい。 Note that electronic payment may be performed using only one of the above patterns. Moreover, the "account ID" explained in FIG. 2 may be other information (for example, a telephone number) that can be used as user identification information.

[決済サーバ]
図4は、第1実施形態に係る決済サーバ100の構成図である。決済サーバ100は、例えば、通信部110と、決済コンテンツ提供部120と、決済処理部130と、情報管理部140と、記憶部170とを備える。通信部110および記憶部170以外の構成要素は、例えば、CPUなどのハードウェアプロセッサがプログラム(ソフトウェア)を実行することにより実現される。これらの構成要素のうち一部または全部は、LSI(Large Scale Integration)やASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)、GPU(Graphics Processing Unit)などのハードウェア(回路部;circuitryを含む)によって実現されてもよいし、ソフトウェアとハードウェアの協働によって実現されてもよい。プログラムは、予めHDD(Hard Disk Drive)やフラッシュメモリなどの記憶装置(非一過性の記憶媒体を備える記憶装置)に格納されていてもよいし、DVDやCD-ROMなどの着脱可能な記憶媒体(非一過性の記憶媒体)に格納されており、記憶媒体がドライブ装置に装着されることで記憶装置にインストールされてもよい。
[Payment server]
FIG. 4 is a configuration diagram of the payment server 100 according to the first embodiment. The payment server 100 includes, for example, a communication section 110, a payment content providing section 120, a payment processing section 130, an information management section 140, and a storage section 170. Components other than the communication unit 110 and the storage unit 170 are realized by, for example, a hardware processor such as a CPU executing a program (software). Some or all of these components are hardware (circuit parts) such as LSI (Large Scale Integration), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array), and GPU (Graphics Processing Unit). (including circuitry), or may be realized by collaboration between software and hardware. The program may be stored in advance in a storage device (a storage device with a non-transitory storage medium) such as an HDD (Hard Disk Drive) or flash memory, or may be stored in a removable storage device such as a DVD or CD-ROM. It may be stored in a medium (non-transitory storage medium), and installed in the storage device by loading the storage medium into a drive device.

記憶部170は、HDDやフラッシュメモリ、RAM(Random Access Memory)などである。記憶部170は、決済サーバ100がネットワークを介してアクセス可能なNAS(Network Attached Storage)装置であってもよい。記憶部170には、利用者情報172、決済コンテンツ情報174、加盟店/店舗情報176などの情報が格納される。 The storage unit 170 is an HDD, flash memory, RAM (Random Access Memory), or the like. The storage unit 170 may be a NAS (Network Attached Storage) device that can be accessed by the payment server 100 via a network. The storage unit 170 stores information such as user information 172, payment content information 174, and member store/store information 176.

通信部110は、ネットワークNWに接続するための通信インターフェースである。通信部110は、例えばネットワークインターフェースカードである。 The communication unit 110 is a communication interface for connecting to the network NW. Communication unit 110 is, for example, a network interface card.

決済コンテンツ提供部120は、例えば、Webサーバの機能を有し、電子決済サービスの各種画面を表示するための情報(コンテンツ)を利用者端末装置10に提供する。決済コンテンツ提供部120は、決済コンテンツ情報174から適宜、必要なコンテンツを読み出して利用者端末装置10に提供する。利用者端末装置10は、決済アプリ20によってコンテンツが再生された状態で利用者による各種入力を受け付け、前述した決済情報などを決済サーバ100に送信する。 The payment content providing unit 120 has, for example, the function of a web server, and provides the user terminal device 10 with information (content) for displaying various screens of the electronic payment service. The payment content providing unit 120 reads necessary content from the payment content information 174 as appropriate and provides it to the user terminal device 10. The user terminal device 10 receives various inputs from the user while the content is being played by the payment application 20, and transmits the above-mentioned payment information and the like to the payment server 100.

決済処理部130は、利用者端末装置10または第1店舗端末装置50により送信された決済情報に基づいて、決済処理を行う。決済処理部130は、利用者情報172を参照しながら決済処理を行う。 The payment processing unit 130 performs payment processing based on the payment information transmitted by the user terminal device 10 or the first store terminal device 50. The payment processing unit 130 performs payment processing while referring to the user information 172.

図5は、利用者情報172の内容の一例を示す図である。利用者情報172は、利用者の登録情報の一例である。利用者情報172は、例えば、利用者URL、アカウントID、電話番号、パスワードの他、メールアドレス、利用者ID、氏名・住所・生年月日、登録日、チャージ残高、後払い設定、後払い枠、後払い利用額、後払い利用可能額、決済方法設定、銀行口座、クレジットカード番号、発行済ワンタイムコード、後述するオフライン決済のための利用者識別トークン、シークレットキー(チャージ残高用)、およびシークレットキー(後払い用)、オフライン決済の上限額、チャージ履歴情報、決済履歴情報などの情報が対応付けられたものである。 FIG. 5 is a diagram showing an example of the contents of the user information 172. User information 172 is an example of user registration information. User information 172 includes, for example, user URL, account ID, phone number, password, email address, user ID, name/address/date of birth, registration date, charge balance, deferred payment setting, deferred payment limit, deferred payment. Usage amount, available amount for deferred payment, payment method settings, bank account, credit card number, issued one-time code, user identification token for offline payment described below, secret key (for charge balance), and secret key (for deferred payment). ), offline payment maximum amount, charge history information, payment history information, and other information are associated with each other.

利用者URLは、利用者間の送金処理に使用される。電子決済サービスへの新規登録時には、電話番号およびパスワードの登録が必須となる。アカウントIDは、決済サーバ100によって利用者に発行されるものであり、利用者IDは、利用者が任意に設定できる(設定しなくてもよい)IDである。メールアドレス、および氏名・住所・生年月日も同様に、利用者が任意に設定できる(設定しなくてもよい)情報である。登録日とは利用者が電子決済サービスに登録した日(アカウントを作成した日)である。以下、これらの情報が対応付けられた利用者のインスタンス(電子決済口座)のことをアカウントと称する。 The user URL is used for remittance processing between users. When registering for a new electronic payment service, it is mandatory to register a phone number and password. The account ID is issued to the user by the payment server 100, and the user ID is an ID that can be arbitrarily set (or does not need to be set) by the user. Similarly, e-mail address, name, address, and date of birth are information that can (or does not need to be) set arbitrarily by the user. The registration date is the date the user registered with the electronic payment service (the date the account was created). Hereinafter, the user instance (electronic payment account) to which this information is associated will be referred to as an account.

チャージ残高は、利用者が予めアカウントに送金することで設定された電子マネーの残高を示す情報である。送金の手段としては、指定業者(銀行)のATM(Automatic Teller Machine)からの送金、登録された銀行口座からの送金などがある。後払い設定は、後払いによる電子決済を可能とするための設定が済んでいるか否かを示す情報であり、「済」と「未」のいずれかに設定される。決済方法設定は、その時点において利用者がチャージ残高による電子決済を行うのか、後払いによる決済を行うのかを示す設定情報である。銀行口座とクレジットカード番号のそれぞれは、電子決済サービスに入金可能な銀行口座またはクレジットカード番号の情報(口座番号、カード番号)である。チャージ履歴情報は、利用者が予め電子決済サービスに送金してチャージ残高を増加させた履歴である。決済履歴情報は、利用者が行った決済の内訳(日時、購買行動が行われた店舗の店舗ID、決済金額、決済方法など)を、決済ごとに示す情報である。 The charge balance is information indicating the balance of electronic money set by the user transferring money to the account in advance. Methods of remittance include remittance from an ATM (Automatic Teller Machine) of a designated business (bank), remittance from a registered bank account, etc. The deferred payment setting is information indicating whether the settings for enabling electronic payment by deferred payment have been completed, and is set to either "completed" or "not yet". The payment method setting is setting information that indicates whether the user will perform electronic payment using the charge balance or payment by deferred payment at that time. The bank account and credit card number are each information about a bank account or credit card number (account number, card number) that can be used to deposit money into the electronic payment service. The charging history information is a history of the user increasing the charging balance by remitting money to the electronic payment service in advance. The payment history information is information that shows the details of the payments made by the user (date and time, store ID of the store where the purchase was made, payment amount, payment method, etc.) for each payment.

図6は、加盟店/店舗情報176の内容の一例を示す図である。加盟店/店舗情報176は、例えば、店舗URLに対して加盟店IDと店舗IDが対応付けられた第1テーブル176Aと、加盟店IDに対して加盟店名と売上金(前述)が対応付けられた第2テーブル176Bと、店舗IDに対して店舗IDが対応付けられた第3テーブル176Cとを含む。加盟店/店舗情報176には、これらの情報の他、加盟店または店舗のカテゴリ、店舗の所在地、決済パターン等の情報が含まれてもよい。 FIG. 6 is a diagram showing an example of the contents of the affiliated store/store information 176. The affiliated store/store information 176 includes, for example, a first table 176A in which affiliated store IDs and store IDs are associated with store URLs, and affiliated store names and sales proceeds (described above) are associated with affiliated store IDs. 176B, and a third table 176C in which store IDs are associated with store IDs. In addition to this information, the member store/store information 176 may include information such as the member store or store category, store location, payment pattern, and the like.

情報管理部140は、利用者端末装置10や第2店舗端末装置70から取得した情報に基づいて、利用者情報172および加盟店/店舗情報176を管理する。情報管理部140は、利用者情報172および加盟店/店舗情報176について新規レコードの追加、編集、削除などを行う。 The information management unit 140 manages user information 172 and member store/store information 176 based on information acquired from the user terminal device 10 and the second store terminal device 70. The information management unit 140 adds, edits, deletes, etc. new records for the user information 172 and member store/store information 176.

[電子決済]
決済処理部130は、利用者端末装置10または第1店舗端末装置50から決済情報が取得されると、利用者情報172を参照して当該利用者の「決済方法設定」を取得する。決済処理部130は、「決済方法設定」が「チャージ残高」に設定されている利用者に関して、以下のように電子決済を行う。決済処理部130は、例えば、利用者IDに対応付けて管理しているチャージ残高を減少させ、加盟店の売上金の項目値を増加させることで、電子決済を行う。加盟店の売上金の項目値は、例えば、それ自体が電子マネーとして使用されるものでは無く、加盟店と電子決済サービスとの取り決めに応じたサイクルで、売上金の項目値に対応する金額が銀行口座に送金される。
[Electronic payment]
When payment information is acquired from the user terminal device 10 or the first store terminal device 50, the payment processing unit 130 refers to the user information 172 and acquires the "payment method setting" of the user. The payment processing unit 130 performs electronic payment as follows for a user whose "payment method setting" is set to "charge balance". The payment processing unit 130 performs electronic payment by, for example, decreasing the charge balance managed in association with the user ID and increasing the item value of the member store's sales proceeds. For example, the item value of the sales proceeds of a member store is not used as electronic money itself, but the amount corresponding to the item value of the sales proceeds is determined in a cycle according to the agreement between the member store and the electronic payment service. Money will be transferred to your bank account.

決済処理部130は、「設定情報」が「後払い」に設定されている利用者に関して、以下のように電子決済を行う。後払いとは、電子決済サービスの運営者とは別主体であるクレジットカード会社との連携による「クレジット払い」とは別枠で設定されるものであり、電子決済サービスの運営者が与信者となって、後払い枠の範囲内でチャージ残高に依存しない電子決済を許容するものである。なお後払いサービスを受けるために、電子決済サービスの運営者が提供するクレジットカードの取得が要求されてよい。後払いで利用された金額は、一か月分まとめて翌月の支払日に、例えば銀行口座からの引き落としによって決済される。この場合、決済処理部130は、後払い利用額に決済金額を加算し、後払い利用可能額から同額を差し引くことで暫定決済を行い、締め日になると上記のように当月分の決済を翌月の支払い日に引き落とすための処理を行う、或いはクレジットカード会社の運営者に当該処理を依頼する。なお暫定決済の時点で決済金額が後払い利用可能額を超える場合は、エラー通知が決済アプリ20に返信される。 The payment processing unit 130 performs electronic payment in the following manner for users whose "setting information" is set to "deferred payment." Deferred payment is set up separately from "credit payment" in collaboration with a credit card company, which is a separate entity from the operator of the electronic payment service, and the operator of the electronic payment service is the creditor. , which allows electronic payments that do not depend on the charge balance within the deferred payment limit. Note that in order to receive the deferred payment service, the user may be required to obtain a credit card provided by the operator of the electronic payment service. The amount used for deferred payment is paid in one month's worth on the next month's payment date, for example, by debiting from a bank account. In this case, the payment processing unit 130 performs provisional payment by adding the payment amount to the deferred payment usage amount and subtracting the same amount from the available deferred payment amount, and on the closing date, the payment for the current month is transferred to the next month's payment date as described above. or request the operator of the credit card company to perform the processing. Note that if the payment amount exceeds the available deferred payment amount at the time of provisional payment, an error notification is sent back to the payment application 20.

[チャージ残高と後払いの切り替え(オンライン決済時)]
図7は、決済アプリ20のトップ画面IM1の一例を示す図である。なお図示する状態は、決済アプリ20と決済サーバ100の通信が困難でない第1状態(オンライン決済可能な状態)であることを前提とする。第1状態においては、有効なワンタイムコードが決済サーバ100から決済アプリ20に提供されている。「有効な」とは、直近に発信されたワンタイムコードの発行要求に応じたものであることを意味する。トップ画面IM1には、コード画像CDが表示される。コード画像CDは、例えばバーコードとQRコードを含む。また、コード画像CDと共に、チャージ残高による電子決済を行うか、後払いによる電子決済を行うかを示すテキスト(図では「残高で支払う」)が表示される。このテキストは、切替スイッチ(トグルスイッチ)SWが操作される度に決済アプリ20が更新する情報に基づいて決済アプリ20が描画する。また、トップ画面IM1は、切替スイッチSWを含む操作領域CAと、遷移ボタンTB1とを含む。なお、「スイッチ」、「ボタン」とはタッチパネルと協働して実現されるGUI(Graphical User Interface)である。切替スイッチSWは、チャージ残高による電子決済を行うか、後払いによる電子決済を行うかを切り替える操作を受け付けるものである。切替スイッチSWは、デフォルトではチャージ残高による電子決済を行う設定になっており、利用者によって操作される度に、チャージ残高による電子決済を行う設定と、後払いによる電子決済を行う設定との間で設定が切り替わる。図では「残高払い」と説明表示がされているが、これはチャージ残高による電子決済を行う設定になっていることを意味する。操作領域CAには、スキャン(ユーザスキャンの開始)を指示するボタンやチャージを指示するボタンなど、電子決済における主要な操作を指示するボタンが設けられている。遷移ボタンTB1が操作されると、電子決済に用いられるコード画像と利用可能額を表示する支払い画面に遷移する。
[Switching between charge balance and deferred payment (when paying online)]
FIG. 7 is a diagram showing an example of the top screen IM1 of the payment application 20. Note that the illustrated state is assumed to be the first state (state where online payment is possible) in which communication between the payment application 20 and the payment server 100 is not difficult. In the first state, a valid one-time code is provided from the payment server 100 to the payment application 20. "Valid" means that it is in response to the most recently sent one-time code issuance request. A code image CD is displayed on the top screen IM1. The code image CD includes, for example, a barcode and a QR code. Further, along with the code image CD, a text ("Pay with balance" in the figure) indicating whether to perform electronic payment using the charge balance or electronic payment by deferred payment is displayed. This text is drawn by the payment application 20 based on information updated by the payment application 20 each time the changeover switch (toggle switch) SW is operated. Further, the top screen IM1 includes an operation area CA including a changeover switch SW, and a transition button TB1. Note that the "switch" and "button" are GUIs (Graphical User Interfaces) realized in cooperation with the touch panel. The changeover switch SW accepts an operation for switching between performing electronic payment using the charge balance or electronic payment using deferred payment. By default, the changeover switch SW is set to perform electronic payment using the charge balance, and each time the switch is operated by the user, it changes between the setting for electronic payment using the charge balance and the setting for electronic payment using deferred payment. The settings will change. In the diagram, the explanation "Balance payment" is displayed, which means that the setting is to perform electronic payment using the charge balance. The operation area CA is provided with buttons for instructing main operations in electronic payment, such as a button for instructing scan (start of user scan) and a button for instructing charging. When the transition button TB1 is operated, the screen transitions to a payment screen that displays a code image used for electronic payment and the available amount.

[オフライン決済]
以下、決済アプリ20と決済サーバ100との通信が困難であることで、有効なワンタイムコードが取得されない第2状態における電子決済(オフライン決済)について説明する。本実施形態のオフライン決済は、前述したストアスキャンの店舗において実施可能なものである。
[Offline payment]
Hereinafter, electronic payment (offline payment) in the second state in which a valid one-time code is not acquired due to difficulty in communication between the payment application 20 and the payment server 100 will be described. The offline payment according to this embodiment can be carried out at the stores of the above-mentioned store scan.

決済アプリ20は、決済サーバ100との通信が正常な第1状態にあるか、通信が困難な第2状態にあるかに応じて、オンライン決済を行うかオフライン決済を行うかを決定する。例えば、決済アプリ20は、ワンタイムコード発行要求に対する応答が既定時間内に届かない事象がn回以上発生した場合、第2状態であると判断する(nは1以上の整数)。決済アプリ20は、決済サーバ100との通信が第2状態にあると判断した場合、利用者端末装置10が計時している時刻やシークレットキーを用いてオフラインコードを生成し、オフラインコードに基づいてオフラインコード画像を生成し、オフラインコード画像を利用者端末装置10の表示部に表示させる。つまり、決済アプリ20は、ワンタイムコードを用いずに自身が生成したオフラインコードに基づいてオフラインコード画像を生成する。 The payment application 20 determines whether to perform online payment or offline payment depending on whether communication with the payment server 100 is in a first state where communication is normal or in a second state where communication is difficult. For example, the payment application 20 determines that the second state is present when an event in which a response to a one-time code issue request is not received within a predetermined time occurs n or more times (n is an integer of 1 or more). When the payment application 20 determines that the communication with the payment server 100 is in the second state, it generates an offline code using the time measured by the user terminal device 10 and the secret key, and uses the secret key to generate an offline code based on the offline code. An offline code image is generated, and the offline code image is displayed on the display unit of the user terminal device 10. In other words, the payment application 20 generates an offline code image based on an offline code that it generated itself without using a one-time code.

シークレットキーは、決済サーバ100から決済アプリ20に、ワンタイムコードよりも低頻度に取得されるものである。例えば、起動中の決済アプリ20は、1週間に1回程度の頻度でシークレットキーを取得する。この取得処理においてシークレットキー発行要求が決済アプリ20から決済サーバ100に送信されてもよいし、決済サーバ100から自発的にシークレットキーが決済アプリ20に提供されてもよい。 The secret key is acquired from the payment server 100 to the payment application 20 less frequently than the one-time code. For example, the running payment application 20 acquires the secret key approximately once a week. In this acquisition process, a secret key issue request may be sent from the payment application 20 to the payment server 100, or the payment server 100 may voluntarily provide the secret key to the payment application 20.

決済アプリ20は、時刻とシークレットキーに加えて、利用者識別トークンを用いてオフラインコードを生成してもよい。利用者識別トークンは、固定的に利用者に割り当てられるものであってもよいし、シークレットキー発行要求に併せて決済サーバ100から送信されるものであってもよい。なお、シークレットキーと利用者識別トークンの一方または双方を含むものがオフラインキーの一例である。 The payment application 20 may generate an offline code using a user identification token in addition to the time and secret key. The user identification token may be fixedly assigned to the user, or may be sent from the payment server 100 in conjunction with the secret key issuance request. Note that an example of an offline key is one that includes one or both of a secret key and a user identification token.

例えば、決済アプリ20は、シークレットキーと時刻を所定の関数に入力して得られたデータと、利用者識別トークンを結合して得られるデータに基づいて、オフラインコードを生成する。係る手法はあくまで一例であり、決済アプリ20は、シークレットキー、時刻、利用者識別トークンのうち一部または全部に基づいて、復号可能な任意の手法でオフラインコードを生成してよい。 For example, the payment application 20 generates an offline code based on data obtained by inputting a secret key and time into a predetermined function and data obtained by combining a user identification token. This method is just an example, and the payment application 20 may generate the offline code using any decryptable method based on some or all of the secret key, time, and user identification token.

また、決済アプリ20は、所定のタイミングで(例えばシークレットキー発行要求の度に)、利用者端末装置10の計時する時刻と決済サーバ100の計時する時刻との同期を利用者端末装置10に行わせてもよい。このとき、決済アプリ20は、決済サーバ100と略同時に電波時計などの時刻に合わせる処理を行ってよい。 The payment application 20 also causes the user terminal device 10 to synchronize the time measured by the user terminal device 10 and the time measured by the payment server 100 at a predetermined timing (for example, every time a secret key issuance request is made). You can let it. At this time, the payment application 20 may perform a process of adjusting the time of a radio-controlled clock or the like at substantially the same time as the payment server 100.

オフラインコード画像が第1店舗端末装置50によって読み取られ、読み取られた情報の少なくとも一部と決済金額とを含む決済情報決済情報を取得すると(決済アプリ20が時刻を用いて生成したオフラインコード画像に基づく情報が含まれる場合は)、決済サーバ100の決済処理部130は、オフライン認証条件が満たされる場合に、決済情報に基づく電子決済を進行させる。つまりオフライン決済を進める。「読み取られた情報の少なくとも一部」とは「オフラインコードの少なくとも一部」であり、以下では単にオフラインコードと称する。オフライン認証条件は、決済アプリ20がオフラインコードに基づいて生成したオフラインコード画像に関連するものである。例えば、オフライン認証条件は、オフラインコード画像から読み取られた時刻(以下、アプリ時刻)が、決済サーバ100の計時する時刻(以下、サーバ時刻)と比較して所定範囲内にあることを含む。オフライン認証条件は、オフラインキー(シークレットキーと利用者識別トークンの一方または双方)が、決済アプリ20に提供されたものとして記憶部170に保持されたものであることを含んでもよい。オフライン決済において扱われる時刻は、例えば分単位で計時されるものであるが、これに限られない。決済処理部130は、決済情報を取得すると、決済情報に含まれるオフラインコードに含まれる利用者識別トークンからシークレットキーを特定し、特定したシークレットキーと、決済サーバ100が計時する現在の時刻とを用いて、決済アプリ20と同じ手法でオフラインコードを生成し、第1店舗端末装置50から取得したオフラインコードと自身で生成したコードが一致した場合、オフラインコードが正当なものであると判断する。決済処理部130は、例えば、利用者端末装置10と決済サーバ100の間で時刻がずれる場合に備え、決済サーバ100の計時する現在時刻プラスマイナス所定時間(例えば1分)の所定範囲で複数のコードを生成し、いずれかが店舗端末装置から取得したオフラインコードと一致した場合、オフライン認証条件が満たされる、つまりは正当な決済情報であると判断する。 When the offline code image is read by the first store terminal device 50 and payment information including at least a part of the read information and the payment amount is acquired (the offline code image generated by the payment application 20 using the time If the offline authentication condition is satisfied, the payment processing unit 130 of the payment server 100 proceeds with the electronic payment based on the payment information. In other words, proceed with offline payments. "At least a part of the read information" means "at least a part of the offline code", and hereinafter simply referred to as the offline code. The offline authentication condition is related to the offline code image generated by the payment application 20 based on the offline code. For example, the offline authentication condition includes that the time read from the offline code image (hereinafter referred to as application time) is within a predetermined range compared to the time measured by payment server 100 (hereinafter referred to as server time). The offline authentication condition may include that the offline key (one or both of the secret key and the user identification token) is held in the storage unit 170 as having been provided to the payment application 20. The time handled in offline payment is, for example, measured in minutes, but is not limited to this. Upon acquiring the payment information, the payment processing unit 130 identifies the secret key from the user identification token included in the offline code included in the payment information, and combines the identified secret key with the current time measured by the payment server 100. The offline code is generated using the same method as the payment application 20, and if the offline code acquired from the first store terminal device 50 and the code generated by the store itself match, it is determined that the offline code is valid. For example, in preparation for a case where the time deviates between the user terminal device 10 and the payment server 100, the payment processing unit 130 may perform a plurality of If any of the codes matches the offline code obtained from the store terminal, it is determined that the offline authentication conditions are satisfied, that is, the payment information is valid.

決済処理部130は、オフライン決済を行う場合(決済情報にオフラインコード画像から得られた情報が含まれる場合)、オンライン決済を行う場合(決済情報にワンタイムコードに基づく情報が含まれる場合)に比して、一回の電子決済における決済額の上限を低く設定してよい。決済処理部130は、オフライン決済を行う場合の決済額の上限を、オンライン決済時よりも低い固定額としてもよいし(図5の例では5000円に設定されている)、利用者の決済履歴等に基づいて動的に決定してもよい。後者の場合、決済処理部130は、過去の利用者の電子決済の頻度、一回あたりの決済額、決済対象のカテゴリの傾向等に基づいて上限額を決定する。決済処理部130は、オフライン決済を行う場合において上限を超える決済額の決済情報が決済アプリ20から取得された場合、エラーメッセージを第1店舗端末装置50に送信すると共に、利用者端末装置10との通信が回復した後、エラーメッセージを利用者端末装置10にも送信する。 The payment processing unit 130 performs processing when performing offline payment (when payment information includes information obtained from an offline code image) and when performing online payment (when payment information includes information based on a one-time code). In comparison, the upper limit of the payment amount for one electronic payment may be set lower. The payment processing unit 130 may set the upper limit of the payment amount when performing offline payment as a fixed amount lower than that for online payment (in the example of FIG. 5, it is set to 5000 yen), or may set the upper limit of the payment amount when performing offline payment as a fixed amount (in the example of FIG. 5, it is set to 5000 yen), It may also be determined dynamically based on, etc. In the latter case, the payment processing unit 130 determines the upper limit amount based on the frequency of electronic payments made by the user in the past, the amount of payment per transaction, the tendency of the category of the payment object, and the like. When performing offline payment, if payment information for a payment amount exceeding the upper limit is obtained from the payment application 20, the payment processing unit 130 transmits an error message to the first store terminal device 50, and also sends an error message to the first store terminal device 50. After the communication is restored, an error message is also sent to the user terminal device 10.

図8は、オフライン決済のために行われる処理の流れを例示したシーケンス図である。まず、電子決済とは無関係なタイミングで、決済アプリ20はオフラインキーの発行要求を決済サーバ100に送信する(S21)。決済サーバ100はオフラインキーを生成し(S22)、決済アプリ20に送信する(S23)。決済アプリ20は、受信したオフラインキーを利用者端末装置10のメモリに記憶させておく。 FIG. 8 is a sequence diagram illustrating the flow of processing performed for offline payment. First, the payment application 20 transmits an offline key issuance request to the payment server 100 at a timing unrelated to electronic payment (S21). The payment server 100 generates an offline key (S22) and sends it to the payment application 20 (S23). The payment application 20 stores the received offline key in the memory of the user terminal device 10.

別のタイミングで、ストアスキャンが行われる店舗において利用者が決済アプリ20を起動させ、或いは決済アプリ20において支払う操作が行われた場合、決済アプリ20はワンタイムコードの発行要求を決済サーバ100に送信する(S31)。ワンタイムコード発行要求に対する応答が既定時間内に届かない事象がn回以上発生した場合、決済アプリ20は、オフラインコードを生成し、オフラインコードに基づいて生成したオフラインコード画像を表示する(S32)。利用者は利用者端末装置10の表示面を第1店舗端末装置50に翳し(提示し)、第1店舗端末装置50は、光学読取機能によってコード画像をデコードし、オフラインキー等を取得する(S33)。 At another time, if the user starts the payment application 20 or performs a payment operation in the payment application 20 at a store where the store scan is performed, the payment application 20 requests the payment server 100 to issue a one-time code. Send (S31). If an event in which a response to the one-time code issuance request is not received within a predetermined time occurs n or more times, the payment application 20 generates an offline code and displays an offline code image generated based on the offline code (S32). . The user holds up (presents) the display surface of the user terminal device 10 to the first store terminal device 50, and the first store terminal device 50 decodes the code image using an optical reading function and acquires an offline key etc. S33).

そして、第1店舗端末装置50は、オフラインキー、決済金額、加盟店ID、店舗ID等を含む決済情報を生成し、決済サーバ100に送信する(S33)。決済サーバ100は、受信した情報に基づいて、利用者識別トークンに対応する利用者を特定し、上記の通りオフライン認証条件が満たされるか否かを判定し(S34)、オフライン認証条件が満たされる場合に電子決済を進める(S35)。この場合、専ら第1店舗端末装置50にも決済完了を通知する情報が送信される。 Then, the first store terminal device 50 generates payment information including an offline key, payment amount, member store ID, store ID, etc., and transmits it to the payment server 100 (S33). The payment server 100 identifies the user corresponding to the user identification token based on the received information, determines whether the offline authentication condition is satisfied as described above (S34), and determines whether the offline authentication condition is satisfied. If so, proceed with electronic payment (S35). In this case, information notifying completion of payment is exclusively transmitted also to the first store terminal device 50.

係る処理によれば、ストアスキャンを行う店舗が電波の弱い場所にある場合など、決済アプリ20と決済サーバ100の通信が困難な場合でも電子決済を可能にすることができるため、より柔軟に電子決済を実現可能にすることができる。また、オフライン決済においてもアカウントIDなどの利用者識別情報をオフラインコードに含めずに電子決済を進めることで、利用者の個人情報の保護度合いが低下しないようにすることができる。 According to such processing, electronic payments can be made even when communication between the payment application 20 and the payment server 100 is difficult, such as when the store where the store scan is performed is located in a place with weak radio waves, so electronic payments can be made more flexibly. Payment can be made feasible. Further, even in offline payment, by proceeding with electronic payment without including user identification information such as an account ID in the offline code, it is possible to prevent the degree of protection of the user's personal information from decreasing.

更に、時刻とオフラインキーの双方を用いてオフラインコード画像を生成し、オフライン決済を行うことで、正当な決済であることの蓋然性を高めることができる。オフラインキーのみを用いてオフラインコード画像を生成し、オフライン決済を行うと、オフラインコード画像がいつ生成されたのか分からなくなるため、決済の正当性が低下してしまう。また、時刻のみを用いてオフラインコード画像を生成し、オフライン決済を行うと、オフラインコード画像の生成ロジックが暴かれてしまった場合に誰でもオフラインコード画像を生成できてしまう。これらの両者を用いてオフラインコード画像を生成することで、オフラインコード画像の生成タイミングを知ることができ、またオフラインキーがオフラインコード画像に含められることで、決済サーバ100が発行した情報に基づいていることが保証される。この結果、正当な決済であることの蓋然性を高めることができる。 Furthermore, by generating an offline code image using both the time and the offline key and performing offline payment, it is possible to increase the probability that the payment is legitimate. If an offline code image is generated using only an offline key and an offline payment is made, it becomes impossible to know when the offline code image was generated, which reduces the legitimacy of the payment. Furthermore, if an offline code image is generated using only the time and an offline payment is made, anyone can generate an offline code image if the offline code image generation logic is exposed. By generating an offline code image using both of these, it is possible to know the generation timing of the offline code image, and since the offline key is included in the offline code image, the offline code image can be generated based on the information issued by the payment server 100. It is guaranteed that there will be. As a result, the probability that the payment is legitimate can be increased.

また、オフライン決済の上限額をオンライン決済よりも低く設定することで、より安全な電子決済を実現することができる。 Additionally, by setting the upper limit for offline payments lower than for online payments, safer electronic payments can be achieved.

以下、決済アプリ20による画面制御について説明する。図9は、決済アプリ20による画面制御に係る処理の流れの一例を示すフローチャートである。本フローチャートの処理は、決済サーバ100との通信が発生する各種場面において開始される。 Screen control by the payment application 20 will be described below. FIG. 9 is a flowchart illustrating an example of the flow of processing related to screen control by the payment application 20. The processing of this flowchart is started in various situations where communication with the payment server 100 occurs.

まず、決済アプリ20は、決済サーバ100から通知が届かない状態であるか否かを判定する(S100)。通知とは、例えば前述したワンタイムパスワード発行要求に対して返信されるワンタイムパスワードなどである。決済サーバ100から通知が届いている場合、決済アプリ20は、オンラインモード画面(例えば図7に示すもの)を表示し、通常動作を継続する(S102)。 First, the payment application 20 determines whether or not a notification is not received from the payment server 100 (S100). The notification is, for example, a one-time password sent in response to the above-mentioned one-time password issuance request. If a notification has been received from the payment server 100, the payment application 20 displays an online mode screen (for example, the one shown in FIG. 7) and continues normal operation (S102).

決済サーバ100から通知が届かない状態である場合、決済アプリ20は、決済サーバ100から情報の読み込みが困難であることを示す待機画面IM2を利用者端末装置10に表示させる(S104)。図10は、待機画面IM2の一例を示す図である。待機画面IM2には、有効なコード画像は表示されず、利用者に対して決済サーバ100との接続状態を示すテキストTX1が表示される。 If the notification is not received from the payment server 100, the payment application 20 causes the user terminal device 10 to display a standby screen IM2 indicating that it is difficult to read information from the payment server 100 (S104). FIG. 10 is a diagram showing an example of the standby screen IM2. A valid code image is not displayed on the standby screen IM2, but text TX1 indicating the connection status with the payment server 100 to the user is displayed.

次に、決済アプリ20は、第2状態であることが確定したか否かを判定する(S106)。前述したように、第2状態であることが確定するための条件は、「ワンタイムコード発行要求に対する応答等の通知が既定時間内に届かない事象がn回以上発生した場合」である。第2状態が確定していない場合、S100に処理が戻される。 Next, the payment application 20 determines whether the second state is confirmed (S106). As described above, the condition for determining the second state is "when an event in which a notification such as a response to a one-time code issue request does not arrive within a predetermined time occurs n or more times." If the second state has not been determined, the process returns to S100.

第2状態が確定すると、決済アプリ20は、有効なオフラインキー(シークレットキーおよび利用者識別トークン)が取得され、利用者端末装置10のメモリに保存されているか否かを判定する(S108)。有効なオフラインキーとは、例えば、取得時刻からの経過時間が上限時間(オフラインキーの発行周期と同程度の時間)を超えていないオフラインキーである。 When the second state is determined, the payment application 20 determines whether a valid offline key (secret key and user identification token) has been acquired and stored in the memory of the user terminal device 10 (S108). A valid offline key is, for example, an offline key for which the elapsed time from the acquisition time does not exceed the upper limit time (a time comparable to the issuing cycle of the offline key).

有効なオフラインキーが取得されていない場合、決済アプリ20は、エラー画面を利用者端末装置10に表示させる(S110)。エラー画面には、インターネット接続が困難であること等を説明するテキスト等が含まれる。 If a valid offline key has not been acquired, the payment application 20 displays an error screen on the user terminal device 10 (S110). The error screen includes text etc. explaining that it is difficult to connect to the Internet.

有効なオフラインキーが取得されている場合、決済アプリ20は、カウンタ値kが閾値Th以上であるか否かを判定する(S112)。カウンタ値kは、例えば、決済アプリ20が利用者端末装置10にインストールされたときにゼロに設定され、S116で判定される承諾操作が行われるごとに1インクリメントされる値である。つまり、S112の判定処理は、承諾操作が所定回数(=閾値Th)以上行われたか否かを判定するものである。閾値Thは、例えば1~3程度の値である。 If a valid offline key has been acquired, the payment application 20 determines whether the counter value k is greater than or equal to the threshold Th (S112). The counter value k is, for example, a value that is set to zero when the payment application 20 is installed on the user terminal device 10, and is incremented by one each time the consent operation determined in S116 is performed. In other words, the determination process in S112 is to determine whether the consent operation has been performed a predetermined number of times (=threshold Th) or more. The threshold Th is, for example, a value of about 1 to 3.

カウンタ値kが閾値Th未満である場合、決済アプリ20は、図11により例示されるハーフシートを利用者端末装置10に表示させる(S114)。図11は、ハーフシートIM3の一例を示す図である。ハーフシートIM3は、トップ画面IM1などのオンラインコード画像が表示される画面よりも小さいサイズで表示される。ハーフシートIM3は、「インターフェース画面」の一例である。ハーフシートIM3には、オフライン決済について説明するテキストテキストTX2が表示される。また、ハーフシートIM3には、オフラインモードでの決済に関する詳細説明画面への遷移を指示する第1操作部B1と、オフラインモードでの決済を承諾することを指示するための第2操作部B2とが設けられている。図12は、詳細説明画面IMeの一例を示す図である。詳細説明画面IMeには、オフライン決済について説明するテキストTXeが表示される。また、詳細説明画面IMeには、オフラインモードでの決済に関するヘルプページへの遷移を指示する第1操作部Be1と、ハーフシートIM3に戻ることを指示するための第2操作部Be2とが設けられている。ヘルプページは、決済サーバ100により随時更新されるものであり、決済アプリ20は、利用者端末装置10と決済サーバ100との通信が正常に行われている任意のタイミングでヘルプページをダウンロードし、利用者端末装置10のメモリに格納しておく(キャッシュする)。これによって、決済サーバ100との通信が困難な状況においても、オフラインモードでの決済に関する詳細情報を記載したヘルプページを利用者に提供することができる。なおヘルプページもハーフシートIM3と同様にトップ画面IM1などのオンラインコード画像が表示される画面よりも小さいサイズで表示されてよい。 If the counter value k is less than the threshold Th, the payment application 20 causes the user terminal device 10 to display the half sheet illustrated in FIG. 11 (S114). FIG. 11 is a diagram showing an example of the half sheet IM3. The half sheet IM3 is displayed in a smaller size than the screen on which the online code image is displayed, such as the top screen IM1. The half-sheet IM3 is an example of an "interface screen." A text TX2 explaining offline payment is displayed on the half sheet IM3. In addition, the half-sheet IM3 includes a first operating section B1 for instructing a transition to a detailed explanation screen regarding payment in offline mode, and a second operating section B2 for instructing to accept payment in offline mode. is provided. FIG. 12 is a diagram showing an example of the detailed explanation screen IMe. A text TXe explaining offline payment is displayed on the detailed explanation screen IMe. Further, the detailed explanation screen IMe is provided with a first operating section Be1 for instructing to transition to a help page regarding payment in offline mode, and a second operating section Be2 for instructing to return to half sheet IM3. ing. The help page is updated by the payment server 100 from time to time, and the payment application 20 downloads the help page at any timing when communication between the user terminal device 10 and the payment server 100 is normally performed, It is stored in the memory of the user terminal device 10 (cached). As a result, even in situations where communication with the payment server 100 is difficult, it is possible to provide the user with a help page containing detailed information regarding payment in offline mode. Note that, similarly to the half sheet IM3, the help page may also be displayed in a smaller size than the screen on which the online code image is displayed, such as the top screen IM1.

決済アプリ20は、ハーフシートIM3において第2操作部B2に対する操作、つまりオフラインモードでの決済を承諾する操作がなされたか否かを判定する(S116)。 The payment application 20 determines whether or not an operation has been performed on the second operation unit B2 in the half sheet IM3, that is, an operation to approve the payment in offline mode (S116).

オフラインモードでの決済を承諾する操作がなされた場合、決済アプリ20は、オフラインモード画面を利用者端末装置10に表示させる(S118)。また、S112においてカウンタ値kが閾値Th以上であると判定された場合も、決済アプリ20は、オフラインモード画面を利用者端末装置10に表示させる(S118)。オフラインモード画面は、オフラインコード画像が表示された画面である。このように、オフラインモード画面への遷移条件は例えば、有効なオフラインキーが決済サーバ100から取得されていることを含み、基本的には承諾する操作がなされたことを含むが、承諾する操作が所定回数以上行われた場合は、承諾する操作がなされたことが除外される。 If an operation is performed to approve payment in offline mode, payment application 20 displays an offline mode screen on user terminal device 10 (S118). Also, if it is determined in S112 that the counter value k is equal to or greater than the threshold Th, the payment application 20 causes the user terminal device 10 to display an offline mode screen (S118). The offline mode screen is a screen on which an offline code image is displayed. In this way, the conditions for transitioning to the offline mode screen include, for example, that a valid offline key has been acquired from the payment server 100, and basically include that the consent operation has been performed. If this has been done a predetermined number of times or more, it is excluded that the consent operation has been performed.

係る処理を行うことで、利用者をスムーズにオフラインコード画像を用いたオフライン決済に誘導することができる。 By performing such processing, users can be smoothly guided to offline payment using an offline code image.

以下、オフラインモード画面について説明する。オフラインモード画面には、第1決済方法でオフライン決済が可能な第1オフラインコード画像が表示される第1オフラインモード画面と、第2決済方法でオフライン決済が可能な第2オフラインコード画像が表示される第2オフラインモード画面とがあり、それらを利用者の操作によって互いに切り替え可能にしてもよい。つまり、電子決済システムが提供するオフラインモードでの決済において、第1決済方法と、第2決済方法とが選択的に実施可能であってよい。例えば、オンライン決済と同様に、第1決済方法はチャージ残高による電子決済を行う方法であり、第2決済方法は後払いによる電子決済を行う方法である。第1決済方法と第2決済方法のそれぞれは、これらとは異なる方法、例えばデビットカード機能を利用した決済方法、ポイント払い、クレジットカード払いなどの方法であってもよい。 The offline mode screen will be explained below. The offline mode screen displays a first offline code image that allows offline payment using the first payment method, and a second offline code image that allows offline payment using the second payment method. There is also a second offline mode screen, and these may be mutually switchable by a user's operation. That is, in offline mode payment provided by the electronic payment system, the first payment method and the second payment method may be selectively implemented. For example, similar to online payment, the first payment method is a method of electronic payment based on the charge balance, and the second payment method is a method of electronic payment using deferred payment. Each of the first payment method and the second payment method may be a method different from these methods, such as a payment method using a debit card function, point payment, or credit card payment.

この場合、決済アプリ20は、ワンタイムコードよりも低頻度で、第1オフラインコード画像を生成するための第1オフラインキーと、第2オフラインコード画像を生成するための第2オフラインキーとを取得しておく。第1オフラインキー、第2オフラインキーのそれぞれは、前述したオフラインキーと同じ情報を含み、更に、第1オフラインキーであるか、第2オフラインキーであるかを示す識別情報が付与されたものである。決済アプリ20は、第1オフラインキーを用いて第1オフラインコードを生成し、それに基づいて第1オフラインコード画像を生成して利用者端末装置10に表示させる。また、決済アプリ20は、第2オフラインキーを用いて第2オフラインコードを生成し、それに基づいて第2オフラインコード画像を生成して利用者端末装置10に表示させる。第1オフラインキーと第2オフラインキーに含まれる利用者識別トークンは共通でもよいし、異なってもよい(図5では共通になっている)。 In this case, the payment application 20 acquires the first offline key for generating the first offline code image and the second offline key for generating the second offline code image less frequently than the one-time code. I'll keep it. Each of the first offline key and the second offline key includes the same information as the offline key described above, and is further provided with identification information indicating whether it is the first offline key or the second offline key. be. The payment application 20 generates a first offline code using the first offline key, generates a first offline code image based on the first offline code, and causes the user terminal device 10 to display the generated first offline code image. The payment application 20 also generates a second offline code using the second offline key, generates a second offline code image based on it, and displays it on the user terminal device 10. The user identification tokens included in the first offline key and the second offline key may be common or different (in FIG. 5, they are common).

図13は、第1オフラインコード画像が表示される第1オフラインモード画面IM4の一例を示す図であり、図14は、第2オフラインコード画像が表示される第2オフラインモード画面IM5の一例を示す図である。第1オフラインモード画面IM4には、第1コード画像CD#1が表示される。第1オフラインモード画面IM4には、現在の決済方法を表示すると共に、決済方法選択画面IM6への遷移を指示するための第3操作部B3が設定される。また、第1オフラインモード画面IM4には、リロードボタンB5が設けられる。リロードボタンB5が操作されると、決済サーバ100に対して通信要求が送信され、図9のフローチャートの処理が開始される。一方、第2オフラインモード画面IM5には、第2コード画像CD#2が表示される。第2オフラインモード画面IM5には、現在の決済方法を表示すると共に、決済方法選択画面IM6への遷移を指示するための第4操作部B4が設定される。また、第2オフラインモード画面IM5にも、リロードボタンB5が設けられる。 FIG. 13 is a diagram showing an example of the first offline mode screen IM4 on which the first offline code image is displayed, and FIG. 14 is a diagram showing an example of the second offline mode screen IM5 on which the second offline code image is displayed. It is a diagram. The first code image CD#1 is displayed on the first offline mode screen IM4. The first offline mode screen IM4 is set with a third operation section B3 for displaying the current payment method and for instructing transition to the payment method selection screen IM6. Furthermore, a reload button B5 is provided on the first offline mode screen IM4. When the reload button B5 is operated, a communication request is sent to the payment server 100, and the process of the flowchart in FIG. 9 is started. On the other hand, the second code image CD#2 is displayed on the second offline mode screen IM5. The second offline mode screen IM5 is set with a fourth operation section B4 for displaying the current payment method and for instructing transition to the payment method selection screen IM6. Further, a reload button B5 is also provided on the second offline mode screen IM5.

図15は、決済方法選択画面IM6の一例を示す図である。決済方法選択画面IM6には、決済方法(支払い方法)として選択可能なものを記載した第6操作部B6~第8操作部B8が設定される。第6操作部B6が操作されると第1オフラインモード画面IM4に遷移し、第7操作部B7が操作されると第2オフラインモード画面IM5に遷移する。第8操作部が選択された場合の処理については任意に定められてよい。 FIG. 15 is a diagram showing an example of the payment method selection screen IM6. The payment method selection screen IM6 is set with a sixth operation section B6 to an eighth operation section B8 in which selectable payment methods (payment methods) are described. When the sixth operation section B6 is operated, the screen changes to the first offline mode screen IM4, and when the seventh operation section B7 is operated, the screen changes to the second offline mode screen IM5. The process to be performed when the eighth operation unit is selected may be arbitrarily determined.

決済アプリ20は、オンライン決済における決済方法の設定を、オフライン決済の初期設定として引き継いでもよい。例えば、決済アプリ20は、オフライン決済を行うと決定された場合に最初に表示される画面を第1オフラインモード画面IM4とするのか、第2オフラインモード画面IM5とするのかを、オンライン決済時の設定に合わせて決定してもよい。この場合、決済アプリ20は、オンライン決済における決済方法の設定を利用者端末装置10のメモリに記憶させておく。 The payment application 20 may take over the payment method setting for online payment as the initial setting for offline payment. For example, the payment application 20 determines whether the first offline mode screen IM4 or the second offline mode screen IM5 will be the first screen displayed when it is decided to perform offline payment, in the settings at the time of online payment. You may decide accordingly. In this case, the payment application 20 stores the payment method settings for online payment in the memory of the user terminal device 10.

決済サーバ100は、オフライン決済において取得される決済情報に、第1オフラインコード画面から得られた情報すなわち第1オフラインキーが含まれる場合は第1決済方法で電子決済を進行させ、第2オフラインコード画面から得られた情報すなわち第2オフラインキーが含まれる場合は第2決済方法で電子決済を進行させる。 If the payment information acquired in the offline payment includes the information obtained from the first offline code screen, that is, the first offline key, the payment server 100 allows the electronic payment to proceed with the first payment method, and sends the second offline code. If the information obtained from the screen, that is, the second offline key is included, electronic payment is performed using the second payment method.

係る処理を行うことで、オフラインコード画像を用いたオフライン決済において利用者の選択の幅を広げ、利便性を向上させることができる。 By performing such processing, it is possible to widen the range of choices for users and improve convenience in offline payments using offline code images.

なお、上記においてオフライン処理として説明したものが、第1状態においても実行されてよい。つまり、利用者端末装置10と決済サーバ100との通信状態に関わらず常時、オフライン処理として説明した処理が実行されてもよい。 Note that what has been described above as offline processing may also be executed in the first state. In other words, the process described as the offline process may be executed at all times regardless of the communication state between the user terminal device 10 and the payment server 100.

以上、本発明を実施するための形態について実施形態を用いて説明したが、本発明はこうした実施形態に何等限定されるものではなく、本発明の要旨を逸脱しない範囲内において種々の変形及び置換を加えることができる。 Although the mode for implementing the present invention has been described above using embodiments, the present invention is not limited to these embodiments in any way, and various modifications and substitutions can be made without departing from the gist of the present invention. can be added.

10 利用者端末装置
20 決済アプリ
100 決済サーバ
120 決済コンテンツ提供部
130 決済処理部
140 情報管理部
10 User terminal device 20 Payment application 100 Payment server 120 Payment content providing unit 130 Payment processing unit 140 Information management unit

Claims (5)

利用者の端末装置において動作するアプリケーションプログラムと協働して電子決済サービスを前記利用者に提供する決済サーバであって、
店舗に設置された店舗端末装置と通信し、前記店舗端末装置が、前記端末装置が表示するコード画像から読み取った情報の少なくとも一部と決済金額とを含む決済情報を前記店舗端末装置から受信する通信部と、
前記通信部を介して、ワンタイムコードを前記アプリケーションプログラムに提供すると共に、前記利用者を識別可能な情報と共に前記ワンタイムコードを記憶部に記憶させる提供部と、
前記決済情報に基づいて電子決済を行う決済処理部であって、
前記決済情報に、前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれる場合は、前記ワンタイムコードを用いて前記利用者を特定して電子決済を進行させ、
前記決済情報に、予め前記利用者に付与され前記記憶部に記憶された利用者識別トークンが含まれ、且つ前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれない場合は、前記利用者識別トークンを用いて前記利用者を特定して電子決済を進行させる決済処理部と、
を備え、
前記決済処理部は、前記決済情報に、前記利用者識別トークンが含まれ、且つ前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれない場合、前記決済情報に、前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれる場合に比して、一回の電子決済における決済額の上限を低く設定する、
決済サーバ。
A payment server that provides an electronic payment service to the user in cooperation with an application program running on the user's terminal device,
Communicates with a store terminal device installed in a store, and the store terminal device receives from the store terminal device payment information including at least part of the information read from a code image displayed by the terminal device and a payment amount. Communication Department and
a providing unit that provides the one-time code to the application program via the communication unit and stores the one-time code in a storage unit together with information that can identify the user ;
A payment processing unit that performs electronic payment based on the payment information,
If the payment information includes information based on the one-time code obtained by referring to the storage unit , identify the user using the one-time code and proceed with electronic payment;
If the payment information includes a user identification token given to the user in advance and stored in the storage unit , and does not include information based on the one-time code obtained by referring to the storage unit, , a payment processing unit that identifies the user using the user identification token and proceeds with electronic payment;
Equipped with
When the payment information includes the user identification token and does not include information based on the one-time code obtained by referring to the storage unit, the payment processing unit includes the storage unit in the payment information . setting a lower upper limit for the payment amount in one electronic payment than when information based on the one-time code obtained by referring to the section is included ;
Payment server.
前記決済処理部は、前記決済情報に、前記利用者識別トークンが含まれ、且つ前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれない場合における一回の電子決済における決済額の上限を、前記決済情報に前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれる場合の一回の電子決済における決済額の上限よりも低い固定額とする、
請求項1記載の決済サーバ。
The payment processing unit is configured to process a single electronic payment when the payment information includes the user identification token and does not include information based on the one-time code obtained by referring to the storage unit. The upper limit of the amount is set to a fixed amount lower than the upper limit of the payment amount in one electronic payment when the payment information includes information based on the one-time code obtained by referring to the storage unit .
The payment server according to claim 1.
前記決済処理部は、前記決済情報に、前記利用者識別トークンが含まれ、且つ前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれない場合における一回の電子決済における決済額の上限を、前記利用者の決済履歴に基づいて決定する、
請求項1記載の決済サーバ。
The payment processing unit is configured to process a single electronic payment when the payment information includes the user identification token and does not include information based on the one-time code obtained by referring to the storage unit. determining the upper limit of the amount based on the user's payment history;
The payment server according to claim 1.
利用者の端末装置において動作するアプリケーションプログラムと協働して電子決済サービスを前記利用者に提供する決済サーバが、
店舗に設置された店舗端末装置と通信し、前記店舗端末装置が、前記端末装置が表示するコード画像から読み取った情報の少なくとも一部と決済金額とを含む決済情報を前記店舗端末装置から受信し、
通信によって、ワンタイムコードを前記アプリケーションプログラムに提供すると共に、前記利用者を識別可能な情報と共に前記ワンタイムコードを記憶部に記憶させ
前記決済情報に基づいて電子決済を行う際に、
前記決済情報に、前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれる場合は、前記ワンタイムコードを用いて前記利用者を特定して電子決済を進行させ、
前記決済情報に、予め前記利用者に付与され前記記憶部に記憶された利用者識別トークンが含まれ、且つ前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれない場合は、前記利用者識別トークンを用いて前記利用者を特定して電子決済を進行させ、
前記決済情報に、前記利用者識別トークンが含まれ、且つ前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれない場合、前記決済情報に、前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれる場合に比して、一回の電子決済における決済額の上限を低く設定する、
決済制御方法。
A payment server that provides electronic payment services to the user in cooperation with an application program running on the user's terminal device,
Communicating with a store terminal device installed in a store, the store terminal device receiving from the store terminal device payment information including at least a part of information read from a code image displayed by the terminal device and a payment amount. ,
providing the one-time code to the application program through communication , and storing the one-time code together with information that can identify the user in a storage unit ;
When making an electronic payment based on the payment information,
If the payment information includes information based on the one-time code obtained by referring to the storage unit , identify the user using the one-time code and proceed with electronic payment;
If the payment information includes a user identification token given to the user in advance and stored in the storage unit , and does not include information based on the one-time code obtained by referring to the storage unit, , identify the user using the user identification token and proceed with electronic payment;
When the payment information includes the user identification token and does not include information based on the one-time code obtained by referring to the storage unit, the payment information includes the one-time code obtained by referring to the storage unit . setting the upper limit of the payment amount in one electronic payment lower than when information based on the one-time code is included ;
Payment control method.
利用者の端末装置において動作するアプリケーションプログラムと協働して電子決済サービスを前記利用者に提供する決済サーバに、
店舗に設置された店舗端末装置と通信し、前記店舗端末装置が、前記端末装置が表示するコード画像から読み取った情報の少なくとも一部と決済金額とを含む決済情報を前記店舗端末装置から受信し、
通信によって、ワンタイムコードを前記アプリケーションプログラムに提供すると共に、前記利用者を識別可能な情報と共に前記ワンタイムコードを記憶部に記憶させ
前記決済情報に基づいて電子決済を行う際に、
前記決済情報に、前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれる場合は、前記ワンタイムコードを用いて前記利用者を特定して電子決済を進行させ、
前記決済情報に、予め前記利用者に付与され前記記憶部に記憶された利用者識別トークンが含まれ、且つ前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれない場合は、前記利用者識別トークンを用いて前記利用者を特定して電子決済を進行させ、
前記決済情報に、前記利用者識別トークンが含まれ、且つ前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれない場合、前記決済情報に、前記記憶部を参照して得られる前記ワンタイムコードに基づく情報が含まれる場合に比して、一回の電子決済における決済額の上限を低く設定する、
処理を行わせるためのプログラム。
a payment server that provides electronic payment services to the user in cooperation with an application program running on the user's terminal device;
Communicating with a store terminal device installed in a store, the store terminal device receiving from the store terminal device payment information including at least a part of information read from a code image displayed by the terminal device and a payment amount. ,
providing the one-time code to the application program through communication , and storing the one-time code together with information that can identify the user in a storage unit ;
When making an electronic payment based on the payment information,
If the payment information includes information based on the one-time code obtained by referring to the storage unit , identify the user using the one-time code and proceed with electronic payment;
If the payment information includes a user identification token given to the user in advance and stored in the storage unit , and does not include information based on the one-time code obtained by referring to the storage unit, , identify the user using the user identification token and proceed with electronic payment;
When the payment information includes the user identification token and does not include information based on the one-time code obtained by referring to the storage unit, the payment information includes the one-time code obtained by referring to the storage unit . setting the upper limit of the payment amount in one electronic payment lower than when information based on the one-time code is included ;
A program to perform processing.
JP2023081768A 2023-05-17 2023-05-17 Payment server, payment control method, and program Active JP7359987B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2023081768A JP7359987B1 (en) 2023-05-17 2023-05-17 Payment server, payment control method, and program
JP2023167828A JP7391263B1 (en) 2023-05-17 2023-09-28 Payment server, payment control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2023081768A JP7359987B1 (en) 2023-05-17 2023-05-17 Payment server, payment control method, and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2023167828A Division JP7391263B1 (en) 2023-05-17 2023-09-28 Payment server, payment control method, and program

Publications (1)

Publication Number Publication Date
JP7359987B1 true JP7359987B1 (en) 2023-10-11

Family

ID=88242189

Family Applications (2)

Application Number Title Priority Date Filing Date
JP2023081768A Active JP7359987B1 (en) 2023-05-17 2023-05-17 Payment server, payment control method, and program
JP2023167828A Active JP7391263B1 (en) 2023-05-17 2023-09-28 Payment server, payment control method, and program

Family Applications After (1)

Application Number Title Priority Date Filing Date
JP2023167828A Active JP7391263B1 (en) 2023-05-17 2023-09-28 Payment server, payment control method, and program

Country Status (1)

Country Link
JP (2) JP7359987B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021021991A (en) 2019-07-24 2021-02-18 LINE Pay株式会社 Program, information processing method, and terminal
JP2022158871A (en) 2021-08-16 2022-10-17 PayPay株式会社 Information processing device, information processing method and information processing program
JP7237224B1 (en) 2022-06-14 2023-03-10 PayPay株式会社 Application program, information processing device, information processing method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021021991A (en) 2019-07-24 2021-02-18 LINE Pay株式会社 Program, information processing method, and terminal
JP2022158871A (en) 2021-08-16 2022-10-17 PayPay株式会社 Information processing device, information processing method and information processing program
JP7237224B1 (en) 2022-06-14 2023-03-10 PayPay株式会社 Application program, information processing device, information processing method, and program

Also Published As

Publication number Publication date
JP7391263B1 (en) 2023-12-04

Similar Documents

Publication Publication Date Title
CN107408252B (en) System and method for mobile checkout
JP7315772B1 (en) Application program, information processing device, information processing method, and program
JP7134325B1 (en) Electronic payment system, payment management device, card, electronic payment method, and program
JP2023172577A (en) Application program, settlement server, and control method of terminal device
JP7359987B1 (en) Payment server, payment control method, and program
JP7445055B1 (en) Application program, payment control method, payment server, program, and payment system
JP7425244B1 (en) Application programs, payment control methods, and payment systems
JP7446508B1 (en) Application program, payment control method, payment server, program, and payment system
JP7193667B1 (en) Payment system, payment method, payment service provider, and program
JP2023143605A (en) Settlement system, settlement method, settlement service providing apparatus, program, and application program
JP7448713B1 (en) Payment management device, payment management method, application program, and payment management system
JP7469531B1 (en) Card payment management device, payment management system, card payment management method, and program
JP7425247B1 (en) Payment management device, payment system, payment management method, and program
JP7381787B1 (en) Payment management systems, payment management methods, programs, and application programs
JP7411848B1 (en) Information processing device, information processing method, and program
JP7395780B1 (en) Information processing device, information processing method, and program
JP7368643B1 (en) Program, content creation support method, and server device
JP7456037B1 (en) Card information management device, card information management method, and program
JP7366212B1 (en) Information processing device, information processing method, and program
JP7445073B1 (en) Application programs and server devices
JP7453438B1 (en) Information management device, account management server, information management method, and program
JP7413488B1 (en) Information provision device, information provision method, and program
JP7445079B1 (en) Information processing device, information processing method, program, and system
JP7366313B1 (en) Service provision equipment, service provision method, and program
JP7467747B1 (en) Information processing device, information processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230517

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20230517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20230620

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230818

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20230829

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230928

R150 Certificate of patent or registration of utility model

Ref document number: 7359987

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150