Crocos x WebPay - WebPay Meetup #1

Crocos x WebPay - WebPay Meetup #1

WebPay Meetup #1 で Crocos での導入事例発表をしました。

4b110d33674fe1a45080f5ddf77809e0?s=128

Keisuke SATO

July 22, 2014
Tweet

Transcript

  1. Crocos x WebPay WebPay Meetup #1

  2. ل؎ ׫זׁ׿ծֿ׿ח׍כ

  3. Keisuke SATO • @riaf • Co-founder and Engineer at Crocos

    Inc. • JS / PHP / HTML / CSS / ϖΠ • Love Hokkaido! • ޴ͷௐࢠ͕ѱͯ͘͝ΊΜͳ͞ ͍
  4. None
  5. w ΦϯϥΠϯϚʔέςΟϯάπʔϧͷ"41ఏڙ w ʠ$SPDPTϚʔέςΟϯάʡ w 'BDFCPPLΞϓϦΛΑ͘࡞͍ͬͯ·͢ w :BIPP+"1"/ͷࢠձࣾͰ͢

  6. None
  7. $SPDPTϚʔέςΟϯάͷϓϥϯ w ϕʔγοΫϓϥϯ w Ωϟϯϖʔϯʹ͖ͭສԁ w ϓϨϛΞϜϓϥϯ w ϲ݄ສԁ w

    ͦͷଞ
  8. w ϕʔγοΫϓϥϯ w Ωϟϯϖʔϯʹ͖ͭສԁ w ϓϨϛΞϜϓϥϯ w ϲ݄ສԁ w ͦͷଞ

    ݱࡏ͸͜ͷϓϥϯͷΈ ΫϨδοτΧʔυܾࡁ 8FC1BZ ʹରԠ͍ͯ͠·͢ ͳͷͰجຊతʹ͸ສԁͷܾࡁ͔͠ߦ͍ͬͯ·ͤΜ $SPDPTϚʔέςΟϯάͷϓϥϯ
  9. ಋೖͷ͖͔͚ͬ

  10. ಋೖͷ͖͔͚ͬ w Ҏલ͸੥ٻॻΛૹ෇ͯ͠ͷܾࡁͷΈͷରԠͰ͠ ͨ ϓϨϛΞϜϓϥϯສԁ  w ਓ͕গͳ͍ϕϯνϟʔͰ͸ݶք͕͋Δ w ΦϯϥΠϯαΠϯΞοϓͰ؆୯ʹ࢖͑ΔΑ͏ʹ

    ͍ͨ͠ɻܾࡁ΋ΦϯϥΠϯͰ΍Γ͍ͨɻ
  11. w Χʔυ෷͍ɺ໘౗͡Όͳ͍Ͱ͔͢ɻ w ෳࡶͳ࢓༷ɺಾͷ4%,ʜɻ w 3&45"1*ͰͰ͖Ε͹࠷ߴͳͷʹɻ

  12. ͦΜͳͱ͖

  13. None
  14. 8FC1BZਖ਼ࣜϦϦʔε w ͱΓ͋͑ͣࢼͯ͠ΈΔ w ؅ཧը໘͸͠ΐ΅͍͚ͲͳΜ͔ܾࡁ͸͘͢͝؆ ୯ͦ͏ w 1)1ͷ4%,ͳ͍͚Ͳ4USJQFͷ΍͕ͭ࢖͑ΔΒ ͍͠

  15. None
  16. 8FC1BZͳΒιοίʔͰ૊ΈࠐΊ·͢ʂ

  17. ࣾ௕ʮ͡Ό͋ɺ8FC1BZͰ ଈܾ ʯ

  18. ͱ͍͏࿩͕͋ͬͨͱ͔ͳ͔ͬͨͱ͔

  19. ͍͟ɺಋೖ

  20. ฐࣾ1)1ͷձࣾͰ͢ͷͰɺ TUSJQFTUSJQFQIQΛݟͯΈ·ͨ͠ɻ

  21. Stripe::setApiKey('d8e8fca2dc0f896fd 7cb4cb0031ba249'); $myCard = array( 'number' => '4242424242424242', 'exp_month' =>

    5, 'exp_year' => 2015 ); $charge = Stripe_Charge::create(array( 'card' => $myCard, 'amount' => 2000, 'currency' => ‘usd’, )); echo $charge;
  22. TUBUJDϝιουΞϨϧΪʔͳͷͰແཧ

  23. ͍ͭΧοͱͳͬͯ΍ͬͨ

  24. ͪͳΈʹݱࡏ͸ w ެࣜͷ1)14%,͋Γ·͢ w ϦϦʔε࣌ʹ$SPDPT΋ϨϏϡʔ͠·ͨ͠ w ๻ͷखൈ͖࣮૷ΑΓ΋͸Δ͔ʹΑ͘ͳͬͯ·ͨ͠ w Ͱ͖ΔͳΒૣ͘΍͓͍ͬͯͯཉ͍͠Ͱ͢ΑͶʂϓϯϓϯʂ w

    Ͱ΋ͨ·ʹ143Λແࢹͯ͘͠ΔͷͰࣤͬͯ΍ΒͶ͹ɻ
  25. ϕʔγοΫϓϥϯ چ w ϲ݄ສԁͷఆظ՝ۚ w 8FC1BZͷػೳ͸࢖ΘͣɺࣗલͰDSPO w DVTUPNFSʹDIBSHF w ͍·͸΍ͬͯ·ͤΜ

    8FC1BZͷ໰୊Ͱ͸ͳ͍ Ͱ͢
  26. ϕʔγοΫϓϥϯ ৽ w Ωϟϯϖʔϯສԁ w ౎౓ɺDVTUPNFSʹDIBSHF w ʢ৽͍͠࢓૊Έ͸ɺ๻͸ϊʔλονͳͷͰਖ਼௚ ͳ࿩Α͘஌Γ·ͤΜʣ

  27. ಋೖ׬ྃʂ ͪͳΈʹ$SPDPTͰ͸ࠓ΋SJBGXFCQBZQIQͷ ํΛ͔͍ͭͬͯΔͷͰɺૣ͘ެࣜ4%,ʹஔ͖׵͑ Ͷ͹ͳΒͳ͍ؾ͕͍ͯ͠·͢

  28. 8FC1BZ͍͍ͱ͜Ζ

  29. 8FC1BZ͍͍ͱ͜Ζ w VVJE࢖ͬͯॏ՝ۚ๷͛Δͷ͍͍ w "1*Θ͔Γ΍͍͢ɺIUUQTͰࡁΉͷ͸࠷ߴ w %PD͕໌֬Ͱ͍͍ w ։ൃऀ͕ͱͯ΋༏ल ͩͱ͓ฉ͖͓ͯ͠Γ·͢

    ͳ ͷͰ҆৺Ͱ͢Ͷʂʂʂʂʂ
  30. ͜·͍ͬͯΔͱ͜Ζ w μογϡϘʔυ͕ͪΐͬͱශऑ w ܦཧͷਓͱ͔͕͔ͭ͑Δײ͡ʹͳΔͱ͏Ε͍͠ w μογϡϘʔυͰӾཡ͚ͩͰ͖ΔϢʔβʔ࡞ΕͨΓͱ͔ w ܾࡁࣦഊͷঢ়گΛ΋ͬͱৄ͘͠஌Γ͍ͨ w

    ͱ͸͍͑8FC1BZ͡Όͳͯ͘΋͜Ε͸Ͳ͏ʹ΋ͳ͍ͬͯ ͳ͍ͷͰ͋ΕͰ͢ͶɻͰ΋஌Γ͍ͨΑͶɻ
  31. શ෦"1*ͰͰ͖ΔͷͰɺ ࡞Ε͹͍͍͍ͬͯ͏࿩Ͱ͢ΑͶɻ

  32. ಉ೥୅ϕϯνϟʔɺউखʹԠԉ͍ͯ͠·͢ɻ ְׁ׀ח

  33. ل؎ ׀꫼耮֮׶ָהֲ׀ְׂת׃׋

  34. ل؎ זחַ颵㉏זו֮׶תַׅ