← All slides

Intro to Stripe Payments & Subscriptions — Slides

30 lessons, 403 slides. Each lesson's text and code as one deck (the slides are in Japanese).

Version 1 (made 2026-11-07)

Payment is handled on Stripe's page. After buying, you can download from this page at any time.

Please log in to use a coupon code. You can also enter a promotion code on the payment page (Stripe).

Samples

Sample slide 1 Sample slide 2 Sample slide 3

What's included

  • slides.pdf — One slide per page. For checking or printing
  • png/ — 1920×1080 images, ready to drop into a video editor
  • index.html — Open in a browser to present. Press P for the presenter view (notes, next slide, elapsed time)

Each lesson has its own folder. The lesson text is kept as is, so what to say appears in the presenter notes.

How you may use them

  • Your own study
  • Classes, lectures and study groups you teach yourself
  • In-house training at your own company or organization
  • On screen in videos you record yourself for those classes or trainings
  • Editing the wording or reordering slides for those uses
  • Handing out the slide files themselves (PDF, PNG, HTML) to learners or anyone else
  • Selling the slides, or edited versions of them, or including them in paid materials
  • Posting them anywhere public (websites, social media, public videos on video sites, etc.)
  • Removing the 4peiron.dev credit and presenting them as your own work

4peiron.dev keeps the copyright. What you buy is the right to use the slides as described above. The same terms are in README.txt inside the ZIP.

Contents

1

決済の全体像とカード情報の預け先

15 slides

2

テストモードと本番モードを取り違えない

16 slides

3

Customer で顧客を作って使い回す

12 slides

4

Product と Price で月額料金を作る

11 slides

5

Subscription から自サイトのプランを決める

11 slides

6

プランを rank と動画の二軸で定義する

15 slides

7

利用者と顧客をメールでなく ID で結ぶ

11 slides

8

Checkout Session を作る

12 slides

9

ボタンから Checkout へリダイレクトする

11 slides

10

成功とキャンセルの戻りは表示だけにする

10 slides

11

client_reference_id で支払った人を確定する

13 slides

12

画面の戻りを信用しない理由

12 slides

13

Webhook の署名を検証する

13 slides

14

署名検証の失敗を 400 で突き返す

14 slides

15

タイムスタンプの許容とリプレイ対策

13 slides

16

冪等性で同じ通知の二重処理を防ぐ

12 slides

17

再送は 500、対象外は 200 ignored で返す

12 slides

18

stripe listen で手元で通知を受け取る

24 slides

19

購読の開始からプラン反映まで

12 slides

20

アップグレードと解約予定を受け取る

12 slides

21

支払い失敗と past_due の猶予

14 slides

22

解約で free へ戻す

25 slides

23

顧客ポータルで解約と変更を任せる

11 slides

24

クーポンと割引、プランの付与

12 slides

25

税と請求書、今期の終わりを明細から読む

15 slides

26

法人向けは申し込みボタンでなくフォーム

12 slides

27

特定商取引法の表記を漏らさない

12 slides

28

テストからライブへの切り替えを点検する

14 slides

29

鍵の管理と漏洩したときの対応

13 slides

30

Stripe を正として売上を突き合わせる

14 slides

The lesson text is on the course page. Slides are sold separately from the membership; members also need to buy them. Refunds follow the Terms of Service.