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
Stripe 銀行振込
Search
ryusei1212
March 25, 2024
270
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Stripe 銀行振込
ryusei1212
March 25, 2024
Featured
See All Featured
Docker and Python
trallard
47
4.2k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
The Pragmatic Product Professional
lauravandoore
37
7.5k
The Cult of Friendly URLs
andyhume
79
7k
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
Site-Speed That Sticks
csswizardry
13
1.6k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
330
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Transcript
銀行振込実装してみた !!!
自己紹介
自己紹介 氏名 菅野竜聖 (ryusei) 所属 株式会社ソニックガーデン 出身 東京 → 広島(高陽マックの隣)
趣味 格闘技・ボクシング
銀行振込ってしたことありますか?
最初に、Checkout APIによる 実装をしました
Checkout API テスト
Checkout API テスト
Checkout API テスト
サービス画面に戻ってきたい!!!
金融機関コード 1234 銀行名 いろは銀行 口座種別 中央支店
口座番号 TEST576 口座名義人 ストライプ 請求金額 ¥1,420 My service
別の実装方法を探しました
Payment Intent API
Payment Intent API PaymentIntent (支払いインテント) API を使用して、 PaymentIntent のライフサイクルを通じてステータスが変化する複 雑な決済フローを処理できるシステムを構築します。
この API は、支払いの作成から決済までを追跡し、必要に応じて 追加の認証ステップをトリガーします。
ざっくり言うと、Pyament Intentを使用して銀 行振込の支払いを作成するようにしました
Payment Intent API Payment Intentオブジェクト
Payment Intent API
Checkout APIをコール Pyament IntentAPIをコール
銀行振込を実装をする上で気をつけたいこと
銀行振込は、顧客の振込額が予想される支払い 金額よりも多い場合や少ない場合がある
None
振込金額が足りない旨を直接ユーザーに伝えたり、 管理者向けに通知などをするといったことができま す
まとめ
Checkout APIを使用すると銀行振込も結構一瞬 で実装できる、細かいニーズに対応するには、 Payment Intentが使える 銀行振込特有の振込額のミスなどが起きる可能 性が他と比べると高いのでそれをケアしてあげる 必要がある
Stripeはドキュメントがわかりやすいのと、チャット サポートが充実しているのでわからなくなっても すぐに解決できる
ご清聴ありがとうございました。