Upgrade to Pro — share decks privately, control downloads, hide ads and more …

LINE TECHPULSE 2022 - How We Build Up O2O Platform to Our Partner Corporation Service

LINE TECHPULSE 2022 - How We Build Up O2O Platform to Our Partner Corporation Service

How We Build Up O2O Platform to
Our Partner Corporation Service by Luther Tsai / LINE Pay @ LINE TECHPULSE 2022 https://techpulse.line.me/

2102a6b8760bd6f57f672805723dd83a?s=128

LINE Developers Taiwan
PRO

January 21, 2022
Tweet

More Decks by LINE Developers Taiwan

Other Decks in Programming

Transcript

  1. Luther Tsai / LINE Pay How We Build Up O2O

    Platform to Our Partner Corporation Service 
  2. Transfer Deposit LINE Pay Card Offline Payment Digital Finance EcoSystem

    Online Payment LINE POINTS Technical Support
  3. My Membership Single QR Payment With Membership Integrated Affiliate Program

    With Merchant Group Full Digital Wallet With No Physical Card needed
  4. Starbucks Card Top-up Online with LINE Pay Accumulate Stars with

    LINE Pay Starbucks Card Full Redeem Record of Starbucks Membership Card
  5. E-Commerce Platform Starbucks Gift O2O Gifting

  6. LIFF

  7. LIFF 'SPOUFOE 4FSWFS 1BZTIPQ (BUFXBZ User Identification Fuse Mechanism LINE

    AccessToken Java NIO(Non-blocking I/O) High Performance
  8. LIFF 'SPOUFOE 4FSWFS 1BZTIPQ (BUFXBZ 1SPEVDU"1* 6TFS"1* $BSU"1* %FMJWFSZ"1* Payshop

    Backend Reduce Workload Easy for System Expansion Micro-service based Architecture -*/&'BNJMZ"1* Friends/Groups Info
  9. LIFF 'SPOUFOE 4FSWFS 1BZTIPQ (BUFXBZ 1SPEVDU"1* 6TFS"1* $BSU"1* %FMJWFSZ"1* OrderHub

    Payshop Backend 0SEFS)VC"1* 0SEFS)VC#BUDI -*/&'BNJMZ"1* 0SEFS)VC(8 Friends/Groups Info Order Management in General EC spec Fast Integration with LINE Pay
  10. 2VFVF LIFF 'SPOUFOE 4FSWFS 1BZTIPQ (BUFXBZ 1SPEVDU"1* 6TFS"1* $BSU"1* %FMJWFSZ"1*

    OrderHub Payshop Backend 0SEFS)VC"1* 0SEFS)VC#BUDI -*/&'BNJMZ"1* 0SEFS)VC(8 Friends/Groups Info Message Queue Integrated for Distribution
  11. 2VFVF LIFF 'SPOUFOE 4FSWFS 1BZTIPQ (BUFXBZ 1SPEVDU"1* 6TFS"1* $BSU"1* %FMJWFSZ"1*

    OrderHub Payshop Backend 0SEFS)VC"1* 0SEFS)VC#BUDI -*/&'BNJMZ"1* E-Invoice 0SEFS)VC(8 Friends/Groups Info E-Invoice Upload E-Invoice Info Callback Request E-invoice
  12. 2VFVF LIFF 'SPOUFOE 4FSWFS 1BZTIPQ (BUFXBZ 1SPEVDU"1* 6TFS"1* $BSU"1* %FMJWFSZ"1*

    OrderHub Payshop Backend 0SEFS)VC"1* 0SEFS)VC#BUDI -*/&'BNJMZ"1* E-Invoice 0SEFS)VC(8 Friends/Groups Info E-Invoice Upload E-Invoice Info Callback Request E-invoice 7PVDIFS"1* 7PVDIFS%BFNPO Voucher System 7PVDIFS &YUFSOBM"1* Voucher System with Escrow Mechanism
  13. 2VFVF LIFF 'SPOUFOE 4FSWFS 1BZTIPQ (BUFXBZ 1SPEVDU"1* 6TFS"1* $BSU"1* %FMJWFSZ"1*

    OrderHub Payshop Backend 0SEFS)VC"1* 0SEFS)VC#BUDI -*/&'BNJMZ"1* E-Invoice 0SEFS)VC(8 Friends/Groups Info E-Invoice Upload E-Invoice Info Callback Request E-invoice 7PVDIFS"1* 7PVDIFS%BFNPO Voucher System 1BZTIPQ &YUFSOBM(BUFXBZ $PPQFSBUJPO 7PVDIFS &YUFSOBM"1* Cooperation Redeem User’s Voucher via External Gateway
  14. 2VFVF LIFF 'SPOUFOE 4FSWFS 1BZTIPQ (BUFXBZ 1SPEVDU"1* 6TFS"1* $BSU"1* %FMJWFSZ"1*

    OrderHub Payshop Backend 0SEFS)VC"1* 0SEFS)VC#BUDI -*/&'BNJMZ"1* E-Invoice 0SEFS)VC(8 Friends/Groups Info E-Invoice Upload E-Invoice Info Callback Request E-invoice 7PVDIFS"1* 7PVDIFS%BFNPO Voucher System 1BZTIPQ &YUFSOBM(BUFXBZ $PPQFSBUJPO 7PVDIFS &YUFSOBM"1* Escrow Bank
  15. 2VFVF LIFF 'SPOUFOE 4FSWFS 1BZTIPQ (BUFXBZ 1SPEVDU"1* 6TFS"1* $BSU"1* %FMJWFSZ"1*

    OrderHub Payshop Backend 0SEFS)VC"1* 0SEFS)VC#BUDI -*/&'BNJMZ"1* E-Invoice 0SEFS)VC(8 Friends/Groups Info E-Invoice Upload E-Invoice Info Callback Request E-invoice 7PVDIFS"1* 7PVDIFS%BFNPO Voucher System 1BZTIPQ &YUFSOBM(BUFXBZ $PPQFSBUJPO 7PVDIFS &YUFSOBM"1* Escrow Bank System Structure
  16. API Server -# -# Gateway Server Web Server 8FC 4UBUJD'JMFT

    8FC 4UBUJD'JMFT API Server "QQMJDBUJPO" "QQMJDBUJPO# "QQMJDBUJPO$ (BUFXBZ "QQMJDBUJPO (BUFXBZ "QQMJDBUJPO Dedicate Server with Resource Reserved Hard to Scale Up/Down with Request Dynamically Database System Structure Legacy Infrastructure
  17. -# -# Gateway Server Web Server (BUFXBZ "QQMJDBUJPO (BUFXBZ "QQMJDBUJPO

    System Structure Cluster Based Infrastructure
  18. How to Integrate with LINE Pay O2O Platform

  19. 1BZTIPQ &YUFSOBM(BUFXBZ Integrate with LINE Pay Payshop LIFF APP 1BZTIPQ

    &YUFSOBM(BUFXBZ 1BZTIPQ (BUFXBZ 1SPEVDU"1* 6TFS"1* $BSU"1* %FMJWFSZ"1* Payshop Backend LINE AccessToken HMAC-SHA256 LINE AccessToken OrderHub 0SEFS)VC"1* 0SEFS)VC#BUDI 0SEFS)VC(8 $PPQFSBUJPO 4FSWFS LIFF APP $PPQFSBUJPO 4FSWFS 7PVDIFS"1* 7PVDIFS%BFNPO Voucher System Merchant Customer Notify Cooperation Channel Access Token
  20. › Protect LINE Pay Servers › HMAC-SHA256 Algorithm › HTTP

    Method › GET › Signature = Base64(HMAC-SHA256(Secret, (Secret + URL + Query Strings + nonce))) › POST › Signature = Base64(HMAC-SHA256(Secret, (Secret + URL + Request Body + nonce))) Hash Based Message Authentication Code HMAC Public API With HMAC
  21. Integrate with LINE Pay Payshop WEB WEB LIFF 1BZTIPQ &YUFSOBM(BUFXBZ

    1SPEVDU"ENJO"1* 6TFS"ENJO"1* $BSU"ENJO"1* %FMJWFSZ"ENJO"1* Payshop Backend Merchant Authentication OrderHub 0SEFS)VC"ENJO"1* $PPQFSBUJPO 4FSWFS 7PVDIFS"1* 7PVDIFS%BFNPO Voucher System .FSDIBOU $FOUFS OAuth Redeem Request 1BZTIPQ "ENJO(BUFXBZ HMAC-SHA256 Merchant Authentication HMAC-SHA256
  22. Future Works

  23. Redeem with LINE Pay Partner App APP 1BSUOFS"QQ (BUFXBZ 1SPEVDU"ENJO"1*

    6TFS"ENJO"1* $BSU"ENJO"1* %FMJWFSZ"ENJO"1* Payshop Backend OrderHub 0SEFS)VC"ENJO"1* 7PVDIFS"1* 7PVDIFS%BFNPO Voucher System Redeem Request 1BZTIPQ "ENJO(BUFXBZ
  24. Summary

  25. What we provided via Payshop Voucher Issuing with Escrow Mechanism

    Order System with LINE Pay Integration & E-Invoice Issue Mechanism Product Selling Channel with General EC specification
  26. LINE Pay Taiwan Statistic LINE Pay User LINE Pay Merchants

    340K+ 10M+
  27. O2O Services of LINE Pay Variety Platform

  28. LINE Pay Taiwan Statistic LINE Pay User LINE Pay Merchants

    340K+ 10M+
  29. A SMART
 WALLET SERVIC E

  30. None
  31. Thank you