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

Twilio + Stripeで 簡単決済

Takayuki
November 23, 2019

Twilio + Stripeで 簡単決済

Twilio + Stripeで簡単決済

Takayuki

November 23, 2019
Tweet

More Decks by Takayuki

Other Decks in Technology

Transcript

  1. 1.ࣗݾ঺հ ◆໊લ ླ໦ ޹೭(Suzuki Takayuki) ※ಉ੏ಉ໊ଟͯ͘ࠔͬͯ·͢ɻɻɻ ◆ࣗݾ঺հ ɾ1990೥ɺਆಸ઒ݝੜ·Εɻ ɾࣾձਓʹͳ͔ͬͯΒɺϓϩάϥϛϯάΛ࢝ΊΔɻ ɾ2015೥ʹϑϧεϐʔυʹೖࣾ͠ɺ2017೥ʹಠཱɻ

    ɾݱࡏ͸ɺडୗ։ൃΛ΍ΓͭͭɺࣗࣾWebαʔϏεΛ։ൃதɻ ◆झຯ ίεϓϨɺԻָϥΠϒɺϚϥιϯେձʹग़Δɺ໺ٿ؍ઓ ◆εΩϧ PHP,Symfony2,CakePHP3,Laravel5, JavaScript,backbone.js,Angular.js
  2. Copyright Re:Build.inc All Rights Reserved. ձࣾ঺հ ◆ձ໊ࣾ גࣜձࣾRe:Build ◆ॅॴ ԭೄݝԭೄࢢதԝ̍ஸ໨̍̒−̕

    ◆ࣄۀ಺༰ ɾࣗࣾWEBαʔϏεͷاըɾ։ൃɻ ɾडୗ։ൃ ◆ࣾһ 7໊ ◆ΤϯδχΞͷಇ͖ํ ϦϞʔτϫʔΫՄೳͳࣗ༝ͳಇ͖ํΛਪ঑ͯ͠·͢ʂ
  3. 1 0 ϝϦοτ ར༻ྉ͸࢖ͬͨ෼ͷΈ Twilioʹ͸ɺॳظඅ༻΍ֹ݄جຊྉ͕͋ Γ·ͤΜɻ ༧Ίνϟʔδ͓͍ͯͨ͠ϙ Πϯτ͔Βɺ࣮ࡍʹ࢖ͬͨ෼͚͕ͩҾ͖ མͱ͞ΕΔ࢓૊ΈͰ͢ɻ ར༻ঢ়گ͕ม

    ಈ͢ΔΑ͏ͳαʔϏε΍ɺελʔτΞο ϓͷձ༷ࣾʹ΋ར༻͠΍͍͢ྉۚମܥͱ ͳ͍ͬͯ·͢ɻ ి࿩ձࣾͱͷܖ໿ෆཁ TwilioΛར༻͢Ε͹ɺطଘͷి࿩ձࣾͱ ͷܖ໿͸ෆཁʹͳΓ·͢ɻ Έͳ͞Μ ͸ɺTwilioͷΞΧ΢ϯτΛ࡞੒͢Δ͚ͩ Ͱɺ೔ຊΛؚΉੈք100ϱࠃҎ্ͷి࿩ ൪߸Λऔಘ͢Δ͜ͱ͕Ͱ͖·͢ɻ ΋ͪ ΖΜͦͷ൪߸Λ࢖ͬͯɺTwilioܦ༝ͷి ࿩ͷडൃ৴͕ՄೳͰ͢ɻ ϓϩάϥϜͰ੍ޚՄೳ Twilioͷ࠷େͷಛ௕͸ɺϓϩάϥϜ Λ࢖ͬͯి࿩΍SMSɺFAXͳͲΛ੍ ޚͰ͖Δ͜ͱͰ͢ɻ ྫ͑͹ɺαʔόʔ ʹো֐͕ൃੜͨ͠ͱ͖ʹɺ਺ߦͷίʔ υͰࣗಈతʹి࿩Λ͔͚ͨΓɺ͔͔ͬ ͖ͯͨి࿩ʹࣗಈͰԠ౴͢ΔΑ͏ͳ ࢓૊ΈΛAPIΛ࢖ͬͯ؆୯ʹ࡞Ε· ͢ɻ 1 2 3
  4. 1 4 Twilio PayͷηοτΞοϓ Twilioͷ؅ཧίϯιʔϧʹϩάΠϯ͠· ͢ɻ Programmable VoiceͷதͷઃఆΛબ୒ ͠·͢ɻ PCI

    ModeͷEnable PCI ModeϘλϯΛ ԡͯ͠ɺPCIϞʔυΛ༗ޮʹ͠·͢ɻ https://qiita.com/mobilebiz/items/31b061af62b35fd82724
  5. 1 6 Twilio PayͷηοτΞοϓ Twilioͷ؅ཧίϯιʔϧ͔ΒɺRuntime Λબ୒͠ɺ͞ΒʹTwiML BinsΛબͼ· ͢ɻ Create a

    new Bins΋͘͠͸ɺ੺͍ϓϥ εΞΠίϯΛԡͯ͠ɺ৽͍͠TwiML BinsΛ࡞੒͠·͢ɻ FRIENDLY NAMEʹ͸ɺͳʹ͔ద౰ͳ ໊લΛ͍Ε·͢ɻ TWIMLͷཝΛҎԼͷΑ͏ʹॻ͖׵͑· ͢ɻ https://qiita.com/mobilebiz/items/31b061af62b35fd82724