Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Stripe Connectを導入して得られた知見 part2

Takayuki
March 08, 2019

Stripe Connectを導入して得られた知見 part2

Stripe Connectを導入して得られた知見 part2
今回は実際に実装した話です!

Takayuki

March 08, 2019
Tweet

More Decks by Takayuki

Other Decks in Technology

Transcript

  1. Copyright Re:Build.inc All Rights Reserved. 1.ձࣾ঺հ ◆ձ໊ࣾ גࣜձࣾRe:Build ◆ॅॴ ԭೄݝԭೄࢢதԝ̍ஸ໨̍̒−̕

    ◆ࣄۀ಺༰ ɾࣗࣾWEBαʔϏεͷاըɾ։ൃɻ ɾडୗ։ൃ ◆ࣾһ 5໊ ◆ΤϯδχΞͷಇ͖ํ ϦϞʔτϫʔΫՄೳͳࣗ༝ͳಇ͖ํΛਪ঑ͯ͠·͢ʂ
  2. 11 Stripe Connectͱ͸ ɾCustomerʢސ٬ʣ: ߪೖऀͰ͋Γ͓ۚΛࢧ෷͏ํɻӈͷਤ Ͱ྘ɻ ɾPlatformʢϓϥοτϑΥʔϜʣ: ͦͷ໊ͷ௨ΓϓϥοτϑΥʔϜΛఏڙ ͢Δํɻӈͷਤͷ੨ɻ ɾConnected

    accounts: ϓϥοτϑΥʔϜΛར༻ͯ͠αʔϏε Λఏڙ͠ɺೖۚΛड͚ΔํʢࢠΞΧ΢ ϯτͱ΋ݺ͹Ε·͢ʣɻӈͷਤͷϐϯ Ϋɻ ࢀߟɿhttps://qiita.com/y_toku/items/7bfa42793801dfc5415d
  3. 1 4 ϝϦοτ ॊೈͳΧελϚΠζػೳ Connect ͷڧΈ͸ API ɻϓϥοτ ϑΥʔϜͷ࠷దͳΤΫεϖϦΤϯεΛσ βΠϯͰ͖·͢ɻϢʔβొ࿥ϑϩʔͷΧ

    ελϚΠζ΍ɺೖۚαΠΫϧͷઃఆɺෳ ࡶͳࢿۚҠಈͷΧελϚΠζॲཧɺ౷߹ ͞ΕͨܦཧϨϙʔςΟϯάػೳɻ ਝ଎ʹಋೖͰ͖Δ ϓϥοτϑΥʔϜͷͨΊͷܾࡁΠϯϑ ϥετϥΫνϟߏஙͰɺ͢Ͱʹ׬੒͞ Εͨ UI ཁૉΛऔΓೖΕͯɺϩʔϯνΛ εϐʔυΞοϓɺΦϖϨʔγϣϯΛγϯ ϓϧʹͰ͖·͢ɻ άϩʔόϧల։͠΍͍͢ ੈք 25ΧࠃҎ্ͷചΓख΁ࢧ෷͍Մ ೳɻϚʔέοτ͝ͱͷݱ஍ࢠձࣾ΍ ۜߦ࿈ܞ͸ඞཁ͋Γ·ͤΜɻෳࡶͳ ॲཧ͸ Connect ͕Ҿ͖ड͚·͢ɻ 1 2 3 https://stripe.com/connect
  4. 1 5 ೖۚͷλΠϛϯάʹ͍ͭͯ ೖۚʹ࣮ࡍʹࢠΞΧ΢ϯτͷۜߦʹ͓͕ۚೖΔ ɾࣗಈ σϑΥϧτ͸ࣗಈɻ Monthly ͔ WeeklyΛબ΂Δ ཧ༝͕ͳ͚Ε͹ͪ͜Β͕Φεεϝ

    ɾखಈ ೖۚλΠϛϯάΛϓϥοτϑΥʔϜଆ͕ίϯτϩʔϧ͢Δ ʢചΓखଆ͕ࣗ෼ͰҾ͖ग़ͤΔΑ͏ʹ͔ͨͬͨͨ͠Ίʣ