Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
ApplePay対応サービスを最速で作る
Search
Mamoru Amano
March 13, 2018
Programming
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
ApplePay対応サービスを最速で作る
http://eventregist.com/e/JPStripes_Tokyo6
の発表スライドです。
Mamoru Amano
March 13, 2018
More Decks by Mamoru Amano
See All by Mamoru Amano
新規サービス立ち上げ時の仮説検証とチームビルディング
mamoru0217
5
1k
フロントエンドの エラー周りで最近知ったこと
mamoru0217
0
190
Wantedly - 管理画面チラ見せ♡ナイト #3 発表資料
mamoru0217
5
11k
Other Decks in Programming
See All in Programming
Snowflake Openflow Connector利用の勘所 / 20261024developersio2026tokyo-snowflake-openflow
kasacchiful
PRO
0
220
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
160
Modernizing iOS Apps
seyfoyun
0
130
AI-Powered Domain-Driven Design
ziobrando
0
340
AIで開発が速くなった先で、開発チームは何を目指すか
shihochan
1
1.8k
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
1.9k
Next.js: The final boss of Web Performance
guaca
0
350
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
12
5k
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
190
우리의 Nitro Modules는 당신의 Turbo Modules보다 아름답다
l2hyunwoo
0
230
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
120
[2026-10-09]一枚の布で作らなくてもいい。 信頼性は「パッチワーク」で紡がれる~既存の運用と新しい可能性をつなぎ合わせてきたCREの話~
tosite
0
110
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
570
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
Into the Great Unknown - MozCon
thekraken
41
2.8k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
HDC tutorial
michielstock
2
980
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Optimising Largest Contentful Paint
csswizardry
37
4k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
70
68k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
56k
Why Our Code Smells
bkeepers
PRO
340
58k
Transcript
+1@4USJQFT5PLZP7PM ఱѮ.BNPSV"NBOP "QQMF1BZରԠαʔϏεΛ ࠷Ͱ࡞ΔͨΊʹͲ͏͢Ε͍͍͔
ϓϩϑΟʔϧ w 8FCΤϯδχΞʢ3BJMT3FBDUʣ!גࣜձࣾΞΧπΩ w ৽نαʔϏε։ൃ w UXJUUFS!NVUBDIJJ
ಥવͰ͕͢
+0:.0 wIUUQTKPZNPIFSPLVBQQDPN w݅ʹϚον͓ͨ͠Ͱ͔͚ϓϥϯΛ ͭఏҊ͢ΔαʔϏε w"QQMF1BZରԠΫϨδοτܾࡁ
ѹత.71
৽نαʔϏε։ൃ w ͜ͷιϦϡʔγϣϯʹ͓ۚΛͬͯ͘ΕΔ͔ʁ w ࣄલʹݕূ͍ͯ͠Δ͕ɺݱ࣮Θ͔Βͳ͍ɻ.71ʹ࣮ࡍʹ͓ۚΛͬ ͯΒ͑Δ͔Ͳ͏͔͕େࣄɻ w ελʔτΞοϓʢ͡Όͳ͍͚ͲʣʹͱͬͯҰ൪وॏͳࢿݯ࣌ؒ w ૉૣ͘ɾָʹ࣮͍ͨ͠
4USJQFͷ͍Ͳ͜Ζʂ
࣭ "QQMF1BZରԠαʔϏεΛ ࠷Ͱ࡞ΔͨΊʹͲ͏͢Ε ͍͍͔
ճ 4USJQFΛ͏
"QQMF1BZ •Touch ID / Face ID Ͱ؆୯ʹܾࡁ͕ߦ͑Δɻ •ϝʔϧΞυϨεͷೖྗͱ͔ෆཁ •Ϙλϯ͕ஔ͍ͯ͋Δͱخ͍͠ɻͦͷαʔϏε͕͖ʹͳΔɻ
1BZNFOU3FRVFTU#VUUPO var stripe = Stripe(gon.stripe_public_key); var paymentRequest = stripe.paymentRequest({ country:
'JP', currency: 'jpy', total: { label: ‘JOYMO ͝ར༻ྉۚ’, amount: 300 } }); var elements = stripe.elements(); var prButton = elements.create('paymentRequestButton', { paymentRequest: paymentRequest, }); paymentRequest.canMakePayment().then(function(result) { if (result) { prButton.mount('#payment-request-button'); } else { document.querySelector(‘.payment-request-button-wrapper') .innerText = ‘͝ར༻ͷͰApple PayΛ͝ར༻͍ͨͩ͘͜ͱग़དྷ·ͤΜɻ'; } }); a͜ΕͰग़Δʂ
1BZNFOU3FRVFTU#VUUPO paymentRequest.on('token', function(e) { var tokenInput = document.getElementById('stripeToken') tokenInput.value =
e.token.id form.submit() }); UPLFOΛಘͨΒϑΥʔϜΛTVCNJU͢Δɻ
"QQMF1BZ·ΘΓͷ w ϩʔΧϧڥͰಈ࡞֬ೝ͢Δ࣌OHSPLΛ͏ɻ w "QQMF1BZར༻ͷͨΊʹɺར༻͢ΔϗετΛొ͢Δඞཁ͕͋Δɻ w ϗετΛຖճొ͢͠ͷ͕গ͠໘ʜ w "QQMF1BZϘλϯ͕දࣔ͞Ε͍ͯͯɺ8FCܾࡁະରԠͰܾࡁͰ͖ͳ͍
߹͕͋Δɻ w ެࣜͷࡌ͍ͬͯΔରԠΧʔυҰཡ࣮֬ʹ͑Δ͚ͣͩͲɺͦΕҎ֎ ͷΧʔυ͕͑Δ͔Ͳ͏͔͕Θ͔ΒΜ
͍͞͝ʹ w ࣮ͪΖΜɺຊ൪ར༻৹ࠪ΄΅ϊʔλΠϜͳͷͰɺεϐʔυΛམͱ ͞ͳ͍։ൃΛ࣮ݱͰ͖ͨʂ w υΩϡϝϯτͷʢίϐϖϏϦςΟʣμογϡϘʔυͷݟ͢͞ͳ ͲɺͲ͜Λͱͬͯຊʹ։ൃऀϑϨϯυϦʔ w 4USJQF͓͏ʂ