Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Stripe CLIの活用
Search
MaedaKeisuke
January 27, 2020
Programming
0
53
Stripe CLIの活用
MaedaKeisuke
January 27, 2020
Tweet
Share
More Decks by MaedaKeisuke
See All by MaedaKeisuke
AWSを用いたフロントエンド開発
maeda
8
3.4k
エンジニア目線から見たキャッシュレスの話
maeda
0
100
スマホアプリでのStripe決済
maeda
1
900
Other Decks in Programming
See All in Programming
Modern Angular with Signals and Signal Store:New Rules for Your Architecture @enterJS Advanced Angular Day 2025
manfredsteyer
PRO
0
220
ふつうの技術スタックでアート作品を作ってみる
akira888
1
870
Discover Metal 4
rei315
2
140
レベル1の開発生産性向上に取り組む − 日々の作業の効率化・自動化を通じた改善活動
kesoji
0
230
AI時代の『改訂新版 良いコード/悪いコードで学ぶ設計入門』 / ai-good-code-bad-code
minodriven
15
6k
イベントストーミング図からコードへの変換手順 / Procedure for Converting Event Storming Diagrams to Code
nrslib
2
840
チームのテスト力を総合的に鍛えて品質、スピード、レジリエンスを共立させる/Testing approach that improves quality, speed, and resilience
goyoki
5
890
MDN Web Docs に日本語翻訳でコントリビュートしたくなる
ohmori_yusuke
1
120
チームで開発し事業を加速するための"良い"設計の考え方 @ サポーターズCoLab 2025-07-08
agatan
1
430
AI駆動のマルチエージェントによる業務フロー自動化の設計と実践
h_okkah
0
160
すべてのコンテキストを、 ユーザー価値に変える
applism118
3
1.3k
ソフトウェア品質を数字で捉える技術。事業成長を支えるシステム品質の マネジメント
takuya542
2
13k
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
A Tale of Four Properties
chriscoyier
160
23k
Designing Experiences People Love
moore
142
24k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
5.9k
Balancing Empowerment & Direction
lara
1
430
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
35
2.4k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
How STYLIGHT went responsive
nonsquared
100
5.6k
Making Projects Easy
brettharned
116
6.3k
The Invisible Side of Design
smashingmag
301
51k
Gamification - CAS2011
davidbonilla
81
5.4k
Transcript
Stripe CLIͷ׆༻ # JP_Stripes By લా ܓհ(CI. inc,)
લాܓ հ גࣜձࣾCI WEBΤϯδχΞ ࣗݾհ W o r k s
Server: AWS Front: React Back: PHP, Go, Ruby Etc.. Unity S N S https://twitter.com/voyagesister https://github.com/ScenicFlighter https://as-rule.io 2
3 StripeͷػೳɺAPIΛTerminalͰςετͰ ͖Δͷɻ Stripe CLIͱɻ https://stripe.com/docs/stripe-cli ެࣜ
4 Stripe CLIͰग़དྷΔࣄɻ 1. Webhookػೳͷςετ 2. APIϩάͷ֬ೝ 3. APIͷ࣮ߦ
Webhook ΠϕϯτΛτϦΨʔʹɺ ҙͷΤϯυϙΠϯτΛୟ͘ɻ ܾࡁͷྃ࣌… ސ٬͕ొ͞Εͨ࣌… ͳͲ…
6 Webhookڞ௨ͷͱͯ͠ localhostͰͷςετ͕Ͱ͖ͳ͍ɻ ʮngrokʯΛ͑ɺղܾग़དྷΔ͕ɺϩʔΧϧ͕ ֎෦ʹެ։͞ΕΔͷ͕ηΩϡϦςΟతʹ৺…
Stripe CLIͷಋೖखॱ brewͷ߹ Macͷ߹ Windowsͷ߹ Dockerͷ߹
Stripe CLIͷಋೖखॱ > stripe login ϒϥβ
Stripe CLIͰͷWebhook > stripe listen stripe্ͷΠϕϯτΛͪड͚Δ(tailঢ়ଶ) ↓ stripe triggerͰΠϕϯτΛ࣮ߦͰ͖Δɻ
Stripe CLIͰͷWebhook > stripe listen —forward-to {{ENDPOINT}}
Stripe CLIͷίϚϯυ https://github.com/stripe/stripe-cli/wiki/commands#
12 ݁ Webhookͷςετָ͕ʹͳΔ APIͷϩάStripeͷεςʔλε֬ೝָ͕ʹͳΔ ։ൃָ͕ʹͳΔ
͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ # JP_Stripes By લా ܓհ(CI. inc,)