Share
Embed
LINE TECHPULSE 2020 - LINE Pay New Service My Card
LINE Pay New Service My Card by Hugo Huang @ LINE TECHPULSE 2020 https://techpulse.line.me/
line_developers_tw2
December 18, 2020
Transcript
47 slides
-
Agenda › My Card Service Introduction › How to Integrate
With LINE Pay › How to Build Up My Card Service › Feature works -
What Is in Your Real Wallet Cash Credit Card Coupon
Voucher Invoice -
What Is in Your Real Wallet Cash Credit Card Coupon
Voucher Invoice Membership -
Replace Wallet With LINE Pay Cash Credit Card Coupon Voucher
Invoice Membership -
› New Membership Card Service › Add your real cards
to My Card › LINE version 10.21.0 › Coming soon LINE Pay My Card -
› Add Card › Binding Merchant LINE Pay My Card
Membership Login Account Password Login -
› My Code › Payment Bar/QR code › Auto accumulated
› Membership Cards › Scan to accumulated › My Card › My Card List › Scan to accumulated How to Use My Membership Card My Card -
Transaction Flow Evolution One time transaction with LINE Pay Membership
Mobile Carrier Code Transaction Coupon -
› Detail Page › Template Apply › Customized Page (LIFF)
› Internal › External Exclusive Page for Each Binding Card Detail Page 1234 5678 1234 5678 -
› Enterprise group › Cross Merchants Bundle Membership Cards for
Campaigns LINE Pay Merchant Merchant & Membership Code -
How to Integrate With LINE Pay General Binding Integrate with
Merchant System Receive membership code and accumulate membership points Integrate with LINE Pay APIs Register merchant’s membership card and integrate with LINE Pay APIs LINE Pay Merchant LINE Pay Merchant -
LINE Pay API Integration Pre-work › Register membership card with
LINE Pay › Logo › Code type › Binding website URL › Detail page content › Channel id (HMAC) › Public key (ECDSA) › Integration guide › Integrate with LINE Pay API › Receive and validate binding information › Send membership by Apply API -
Integration Overview LINE Pay API Integration Select Membership Card Merchant’s
Website Input Account My Card System 1. Login on Merchant’s Website 2. Account Information 3. Verify Successfully 4. Membership Code 5. Register Successfully Frontend Backend Merchant’s Account System -
Integrate With LINE Pay Integration Detail Merchant Server Merchant Binding
Page My Card Server My Card LIFF My Card DB My Card LIFF Binding Reserve Binding Complete Move to Merchant page with 1. nonce 2. callback 3. token (ECDSA signature) Token verification Apply API (HMAC signature) 1. token 2. membership code Apply result Store membership code Apply result Move to callback url with 1. token 2. channelId 3. status Verify and complete binding -
Integration Overview Merchant System Integration 1. Transaction information 2. Transaction
Result - Membership Code 3. Accumulated Points -
Merchant System Integration Payment API Return Membership Code by Transaction
Id › Offline Payment API › Online Confirm API › Payment Status Check API › Payment Detail API › Pay Pre-approved API -
My Card Service Concept Card Listing Select Card Adding in
My Card Binding / Registrate Start To Use -
My Card Service Concept Card Listing Select Card Adding in
My Card Binding / Registrate Start To Use Merchant -
My Card Service Requirements › Platform service › Complex integration
service › External › Internal › LINE Family › Online and offline combination › Big user base › Strong security -
System Architecture Microservice Based Gateway Server Web Server API Server
.VMUJQMF 4FSWJDFT .VMUJQMF 4FSWJDFT Database -
System Architecture Microservice Based Gateway Server Nginx Web Server Nginx
API Server LB .VMUJQMF 4FSWJDFT .VMUJQMF 4FSWJDFT Database -
System Architecture Microservice Based Gateway Server Nginx Web Server Nginx
API Server LB Merchant LINE Family User .VMUJQMF 4FSWJDFT .VMUJQMF 4FSWJDFT Database -
System Architecture Microservice Based Gateway Server Nginx Web Server Nginx
API Server Cache Redis LB .VMUJQMF 4FSWJDFT .VMUJQMF 4FSWJDFT Database Merchant LINE Family User -
System Architecture Microservice Based Gateway Server Nginx Web Server Nginx
API Server Cache Redis LB .VMUJQMF 4FSWJDFT Admin Server Batch Server .VMUJQMF 4FSWJDFT Database Merchant LINE Family User -
Security Mechanism Protect Data Anytime Anywhere › ACL › LB
› Nginx › API Key › LINE Login Access Control › Hmac Public API › Singnature › ECDSA › Encryption › RSA › AES Data Integration -
Security Mechanism Gateway Server Nginx Web Server Nginx API Server
Cache Redis LB .VMUJQMF 4FSWJDFT .VMUJQMF 4FSWJDFT Hmac API key LINE Login ACL AES Database Merchant LINE Family User -
Security Mechanism Apply API (HMAC Signature) Merchant Server Merchant Binding
Page My Card Server My Card LIFF My Card DB My Card LIFF Binding Reserve Binding Complete Move to Merchant page with 1. nonce 2. callback 3. token (ECDSA signature) Token verification Apply API (HMAC signature) 1. token 2. Membership code Apply result Store membership code Apply result Move to callback url with 1. token 2. channelId 3. status Verify and complete binding -
› 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 -
Security Mechanism Request Token Merchant Server Merchant Binding Page My
Card Server My Card LIFF My Card DB My Card LIFF Binding Reserve Binding Complete Move to Merchant page with 1. nonce 2. callback 3. token (ECDSA signature) Token verification Apply API (Hmac signature) 1. token 2. membership code Apply result Store membership code Apply result Move to callback url with 1. token 2. channelId 3. status Verify and complete binding -
Security Mechanism ECDSA Signature Merchant Server Merchant Binding Page My
Card Server My Card LIFF My Card DB My Card LIFF Binding Reserve Binding Complete Move to Merchant page with 1. nonce 2. callback 3. token (ECDSA signature) Token verification Apply API (Hmac signature) 1. token 2. membership code Apply result Store membership code Apply result Move to callback url with 1. token 2. channelId 3. status Verify and complete binding -
› Protect Merchants › SHA256withECDSA Algorithm › HTTP Method ›
Signature = Base64Url(SHA256withECDSA(Secret, (callback + nonce))) Elliptic Curve Digital Signature Algorithm ECDSA Binding -
Integrate With LINE Pay Integration Detail Merchant Server Merchant Binding
Page My Card Server My Card LIFF My Card DB My Card LIFF Binding Reserve Binding Complete Move to Merchant page with 1. nonce 2. callback 3. token (ECDSA signature) Token verification Apply API (Hmac signature) 1. token 2. membership code Apply result Store membership code Apply result Move to callback url with 1. token 2. channelId 3. status Verify and complete binding -
Apply Member System of LINE Pay 1. Apply Member System
2. Bind Membership Card -
Contact LINE Pay Now Cooperation Process Apply Binding Card with
LINE Pay Activate System Integration -
TECHPULSE Card Bind card now to get gift TECHPULSE 2020
TECHPULSE TECHPULSE TECHPULSE TECHPULSE