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
Transcript
14 slides
+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͓͏ʂ
More Decks by Mamoru Amano
See All by Mamoru Amano
新規サービス立ち上げ時の仮説検証とチームビルディング
mamoru0217
5
1k
フロントエンドの エラー周りで最近知ったこと
mamoru0217
0
200
Wantedly - 管理画面チラ見せ♡ナイト #3 発表資料
mamoru0217
5
11k
Other Decks in Programming
See All in Programming
Promiseの向こう側へコンテキストを届ける ― proposal-async-context
seriseri
0
160
はじめてのPLATEAU
nokonoko1203
1
670
Spec-driven Development with AI
simas
PRO
0
2.3k
AIコーディングをセッションで終わらせない: PHPライブラリ開発におけるコンテキスト承継設計
ickx
0
110
テストだけで見つかる? Rubyでつくるメソッド発掘器
izawa
0
160
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
210
例外からRich Errorsまで Kotlinエラーハンドリングの進化を読み解く
shiita0903
0
250
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
150
[Kotlin Fest 2026] eBPF Tracing for Kotlin
takehaya
1
410
Claude Codeのおかげでやりたいことがやれるようになったんだよォー!
sms_tech
0
190
なぜ私たちは「現時点では」KMPの導入を見送ったのか
chigichan24
1
640
baseline으로 마이그레이션, 리팩토링 안전하게 맡기기
fornewid
1
1.1k
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
174
15k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
850
Designing for humans not robots
tammielis
254
26k
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
4
1.2k
Bash Introduction
62gerente
615
220k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.6k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.8k
Google's AI Overviews - The New Search
badams
0
1.7k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
48k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k