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

Stripe Connectを利用したレベニューシェアシステム / Stripe Connect Sendai

Stripe Connectを利用したレベニューシェアシステム / Stripe Connect Sendai

Takuya Tachibana

August 08, 2023
Tweet

More Decks by Takuya Tachibana

Other Decks in Technology

Transcript

  1. ཱՖ୓໵
    4USJQF$POOFDUΛར༻ͨ͠
    ϨϕχϡʔγΣΞγεςϜߏங
    +1@4USJQFTઋ୆SFCPPU

    View full-size slide

  2. ࣗݾ঺հ
    ཱՖ ୓໵ (38)


    ੨৿ݝੜ·Εઋ୆ܦ༝੨৿ݝࡏॅ݁ߏઋ୆


    ϔϓλΰϯ୅දऔక໾


    σδλϧΩϡʔϒऔక໾


    AWS Partner Ambassador (2021,2022,2023)


    APN AWS Top Engineers (2021,2022,2023)


    AWS Summit 2017 ι΢ϧ/๺ژ εϐʔΧʔ


    JAWS-UG౦๺


    JAWS-UG2016શࠃ୅ද


    ʮޮՌతͳಋೖɾӡ༻ͷͨΊͷ Amazon Web Services׆༻ೖ໳ʯஶऀ


    View full-size slide

  3. ࣗࣾαʔϏε
    ߴ଎ͰηΩϡΞͳ


    WordPressϗεςΟϯάαʔϏε
    WordPressϕʔεͷ


    ੩తίϯςϯπ഑৴αʔϏε

    View full-size slide

  4. ύʔτφʔ੍౓

    View full-size slide

  5. ύʔτφʔͱͷϨϕχϡʔγΣΞ
    Ϣʔβʔ͕ύʔτφʔܦ༝ͰShifterΞΧ΢ϯτΛਃ͠ࠐΉͱɺ


    Ϣʔβʔֹ͕݄ར༻ྉΛࢧ෷͏ࡍʹҰఆֹΛΠϯηϯςΟϒͱͯ͠


    ύʔτφʔ΁ૹۚ͢ΔΑ͏ͳ࢓૊ΈΛStripe ConnectΛ࢖࣮ͬͯ૷

    View full-size slide

  6. 4USJQF$POOFDU
    ɾStripeΞΧ΢ϯτಉ࢜Ͱ਌ࢠؔ܎Λͭ͘Εͯɺܾࡁ͓ͨۚ͠ͷϑϩʔΛࡉ͔͘ॊೈʹ
    ίϯτϩʔϧͰ͖Δ΋ͷ


    ɾߪೖऀͱαʔϏεϓϥοτϑΥʔϜɺൢചऀͷࡾऀؒͰ͓ۚͷྲྀΕ͕ੜ͡Δ৔߹ɺͲ
    ͷΑ͏ͳϑϩʔ͕ద͍ͯ͠Δͷ͔ɺShopify΍LyftͳͲΛྫʹɺ͍͔ͭ͘ͷϢʔεέʔε
    ͕ެ։͞Ε͍ͯΔ

    View full-size slide

  7. ϨϕχϡʔγΣΞͷϙʔλϧαΠτ
    ऩӹͷ෼഑Λߦ͏࢓૊Έͱͯ͠ύʔτφʔ༻ͷϙʔλϧαΠτΛߏங


    ओͳػೳ


    ɾShifterΞΧ΢ϯτͷൃߦ


    ɾύʔτφʔʹඥͮ͘ShifterΞΧ΢ϯτҰཡͷදࣔ


    ɾύʔτφʔͷStripeΞΧ΢ϯτͱShifterͷStripeΞΧ΢ϯτͷ࿈ܞ


    →Stripe ConnectΛ࢖༻ʢConnect OAuthʣ


    ɾϙʔλϧαΠτܦ༝Ͱൃߦͨ͠ShifterΞΧ΢ϯτʹ͸Ͳͷύʔτφʔ৘ใ͕ඥ͚ͮΒ
    ΕΔ


    ɾϢʔβʔ͕Shifterͷֹ݄ར༻ྉΛࢧ෷͏ͨͼʹɺࢧ෷ֹ͍ۚͷҰఆׂ߹͕ύʔτφʔ
    ࣗಈʹૹۚ͞ΕΔ

    View full-size slide

  8. ϙʔλϧαΠτ࢓༷
    ϑϩϯτΤϯυ


    - vue੡ͷSPA


    - netlifyʹͯϗεςΟϯά


    όοΫΤϯυ


    - python੡ͷAPI


    - API Gateway + LambdaͰߏங


    - Stripe SDKΛ࢖༻


    ೝূ


    - auth0Λ࢖༻


    - auth0ͷϢʔβʔϝλσʔλʹɺStripe Connectʹͯൃߦ
    ͞ΕΔConnectedAccountID΍རӹͷ෼഑ൺ཰ͳͲΛ֨ೲ

    View full-size slide

  9. ·ͱΊ
    ɾϨϕχϡʔγΣΞͷ࢓૊Έ͕؆୯ʹ࣮૷ʂʢ໿1ϲ݄)


    ɾϩδοΫͷ෦෼ʹूதͰ͖Δ


    ɾυΩϡϝϯτ๛෋ͰαΠίʔ (։ൃऀஊ


    ɾνϟοτ΍ϝʔϧͰͷ໰͍߹ΘͤͷଞɺΑΓৄ͘͠஌Γ͍ͨ৔߹ʹ͸discordͰ΋΍Γ
    ͱΓड͚෇͚ͯͯαΠίʔ (։ൃऀஊ


    ɾϏδωεతͳՁ஋΋ͦ͏͚ͩͲɺ։ൃମݧతʹ΋্هͷཧ༝͔ΒαΠίʔ (։ൃऀஊ


    ɾύʔτφʔϏδωεʹ΋ੋඇStripeΛʂ

    View full-size slide