Offline payment
In LINE Pay, offline payment allows a LINE Pay merchant operating an offline store, such as a restaurant or general store, to provide customers with the option to pay using LINE Pay and to use a terminal to make payments with LINE Pay. LINE Pay offline payment has the following advantages.
- Customers can quickly and easily pay with their smartphones without needing to carry cash or a wallet around.
- Merchants can provide secure LINE Pay services without spending large costs at their stores.
- Merchants can use LINE to promote themselves or provide benefits, such as point accumulation, to customers.
To implement offline payments with LINE Pay, you need to understand the following first.
Offline payment structure
LINE Pay offline payment is made using the store's terminal, and payment starts by scanning a code (QR code or barcode). The payment processing structure differs depending on who presents the code to be scanned, as shown below.
-
The merchant scans the My Code of LINE Pay presented by the customer with the merchant terminal
-
The customer scans the LINE Pay payment code presented by the merchant
When a customer scans the LINE Pay payment code presented by the merchant and pays, LINE Pay handles the entire payment process after the customer scans the code. You can find the code merchant presents in merchant center. This method isn't described in this document as there is nothing for the merchant to implement. This document focuses on the method in which the customer presents their LINE Pay My Code.
When the merchant processes a payment by scanning the customer's (LINE Pay user's) My Code, the following parties are involved:
- Customer (LINE user)
- Merchant terminal
- Merchant server
- LINE Pay server
The merchant terminal scans the customer's LINE Pay My Code and exchanges payment information with the merchant server. The merchant server delivers information between the terminal and the LINE Pay server, and processes the necessary operations for payment. The merchant server uses the Offline API to communicate with the LINE Pay server. The following diagram shows what each party does during the LINE Pay offline payment.
For information on how to implement LINE Pay offline payments, see the following documents.
Offline payment process
The LINE Pay offline payment process follows the steps below.
Order | Step | Description |
---|---|---|
1 | Scan My Code | The customer generates a LINE Pay My Code in the LINE app, which is scanned by the merchant's terminal. |
2 | Payment request and confirmation | Requests payment to the LINE Pay server using the LINE Pay My Code information and the payment information received from the merchant terminal. If you request a payment, the process proceeds to the payment confirmation step. The confirmed payment can go through the capture or void process. |
3 | Capture | When you use a merchant terminal to request a capture from the merchant server, the merchant server in turn requests a capture from the LINE Pay server. The payment is settled when the capture is completed. Generally, the capture is automatically processed upon payment confirmation. Once the capture is completed, the payment cannot be voided and only a refund can be made. |
The following diagram shows the payment status and processing steps, including void and refund, described in the table above.