Slide 1

Slide 1 text

೥ؒ࢖͍ଓ͚͍ͯΔ 1BZ1BM͔Β4USJQF΁ʁ ʙ͋Δ΢ΣϒσΟϨΫλʔͷي੻ʙ +1@4USJQFT$POOFDU BUΤϜΦʔςοΫεגࣜձࣾ

Slide 2

Slide 2 text

ϋογϡλάɹ+14$ ࣗݾ঺հ

Slide 3

Slide 3 text

ϋογϡλάɹ+14$ ࡾ౓ͷ൧ΑΓ৯΂Δ͜ͱɺҿΉ͜ͱ͕޷͖ ੢ࢁɹହ࢙ʢʹ͠΍·ɹ΍͢;Έʣ גࣜձࣾδϟΫελϙδγϣϯɹ୅දऔక໾ʗσΟϨΫλʔ ೥݄૑ۀɺ೥݄๏ਓԽʢ๏ਓظ໨ʣ .PWBCMF5ZQFΛϓϥοτϑΥʔϜʹ΢ΣϒαΠτΛߏங ೥ɹ1SP/FUʢγοΫεɾΞύʔτࣾύʔτφʔʣՃໍ ೥ɹ.5՜ҔΛελʔτ ೥ɹ.5%%$.FFUVQ)0,,"*%0։࠵ ೥ɹ΢ΣϒσΟϨΫγϣϯݚڀձʢԾশʣΛελʔτ ೥ɹ.5%%$.FFUVQ)0,,"*%0։࠵

Slide 4

Slide 4 text

ϋογϡλάɹ+14$ ๺ւಓࡳຈࢢ͔Βདྷ·ͨ͠

Slide 5

Slide 5 text

ϋογϡλάɹ+14$ ͓ؾʹೖΓͷ৔ॴ େऺञ৔Զྲྀ ϏʔϧʢαοϙϩΫϥγοΫʣ ഋԁʢ੫ผʣ ೥݄ͷൢച਺ ͓Αͦ ഋʢళฮʣ

Slide 6

Slide 6 text

ϋογϡλάɹ+14$ ͓ؾʹೖΓͷ৔ॴ େऺञ৔Զྲྀ ݩ૆βϯΪˍ৽βϯΪ

Slide 7

Slide 7 text

ϋογϡλάɹ+14$ δϟΫελϙδγϣϯ

Slide 8

Slide 8 text

ϋογϡλάɹ+14$ σΟϨΫλʔɹ໊ σβΠφʔʢ)5.-$44ΤϯδχΞʣ໊ .5ςϯϓϨʔτΤϯδχΞɹ໊ ओͳۀ຿ ɾ΢ΣϒαΠτߏஙʗ΢ΣϒίϯαϧςΟϯά ɾࣗࣾ։ൃ঎඼ൢച ɾ΢ΣϒγεςϜ։ൃ ɾҹ࡮෺σβΠϯ΄͔ IUUQTXXXMBUODPN

Slide 9

Slide 9 text

ϋογϡλάɹ+14$ ຊΠϕϯτͷը૾ܥσβΠϯΛ୲౰

Slide 10

Slide 10 text

ϋογϡλάɹ+14$ ࣗࣾϓϩμΫτ4,&-&50/$"35ͷ։ൃɾൢച

Slide 11

Slide 11 text

ϋογϡλάɹ+14$ 4,&-&50/$"35 w ೥݄ϦϦʔε w )5.-ςϯϓϨʔτࣜͷγϣοϐϯάΧʔτ w ओʹ΢ΣϒσβΠφʔ͞Μ΍΢Σϒ੍࡞ձࣾ޲͚ w ϓϥάΠϯػߏʹΑΔ֦ுੑ w ൢച૯਺͓Αͦຊ

Slide 12

Slide 12 text

ϋογϡλάɹ+14$ %ZOBNJD1SFWJFX *NBHF6QMPBE6UJMJUZ .PWBCMF5ZQF༻ϓϥάΠϯͷ։ൃɾൢച

Slide 13

Slide 13 text

ϋογϡλάɹ+14$ *NBHF6QMPBE6UJMJUZ w ೥݄ϦϦʔε w .PWBCMF5ZQFͷը૾ΞοϓϩʔυػೳΛڧԽ w ݸਓແঈ൛ɺ௨ৗ൛ͱ1SP൛Λఏڙ w ൢച૯਺͓Αͦຊ

Slide 14

Slide 14 text

ϋογϡλάɹ+14$ %ZOBNJD1SFWJFX w ೥݄ϦϦʔε w .PWBCMF5ZQFͷϓϨϏϡʔػೳΛڧԽ w ௨ৗ൛ͱ1SP൛Λఏڙ w ൢച૯਺͓Αͦຊ

Slide 15

Slide 15 text

ϋογϡλάɹ+14$ ࠓ೔ɺօ͞Μʹ͓࿩͢Δ͜ͱ

Slide 16

Slide 16 text

ϋογϡλάɹ+14$ 4USJQFΛར༻͢Δ͜ͱͰɺ ϊϯϓϩάϥϚʔͳϫλγͰ΋ ࢥ͍ͬͯͨΑΓ΋ͣͬͱ؆୯ʹ ΍Γ͔ͨͬͨ͜ͱ͕࣮ݱͰ͖ͨ

Slide 17

Slide 17 text

ϋογϡλάɹ+14$ ͜Ε·Ͱར༻͖ܾͯͨ͠ࡁαʔϏε

Slide 18

Slide 18 text

ϋογϡλάɹ+14$

Slide 19

Slide 19 text

ϋογϡλάɹ+14$ 1BZ1BM w ೥ɺ·ͩݸਓࣄۀओ w &$αΠτߏஙͷґཔ͕૿͖͑ͯͨ w Ͱ͖Δ͚ͩܦඅ͸͔͚ͨ͘ͳ͍ w ςετ؀ڥʢ4BOECPYʣ͕ར༻Ͱ͖ͨ w "1*Ͱ͍Ζ͍ΖͰ͖ͦ͏

Slide 20

Slide 20 text

ϋογϡλάɹ+14$

Slide 21

Slide 21 text

ϋογϡλάɹ+14$ Ϋϩωί8ίϨΫτ w ओʹΫϥΠΞϯτͷ&$αΠτͰಋೖ w ֹ݄ҡ࣋අ͕͔͔Βͳ͍ w ঎඼഑ૹ·ͰҰ؏Ͱ͖Δ w ୅Ҿ͖Ͱ΋ΫϨδοτΧʔυܾࡁ͕ར༻Ͱ͖Δ w Ϋϩωίͱ͍͏҆৺ײ

Slide 22

Slide 22 text

ϋογϡλάɹ+14$ 4USJQFΛ࢖ͬͯΈΑ͏ͱࢥͬͨཧ༝

Slide 23

Slide 23 text

ϋογϡλάɹ+14$ 1BZ1BMޱ࠲ͷ໰୊ 4USJQFΛ࢖ͬͯΈΑ͏ͱࢥͬͨཧ༝ᶃ

Slide 24

Slide 24 text

ϋογϡλάɹ+14$ 1BZ1BMޱ࠲ʹೖۚ ໾һି෇ ๏ਓޱ࠲΁ৼସ

Slide 25

Slide 25 text

ϋογϡλάɹ+14$ 1BZ1BMձһొ࿥ͷ໰୊ 4USJQFΛ࢖ͬͯΈΑ͏ͱࢥͬͨཧ༝ᶄ

Slide 26

Slide 26 text

ϋογϡλάɹ+14$ 1BZ1BMձһొ࿥͕ඞཁ 1BZ1BMձһ͡Όͳ͍ ۜߦৼࠐͰࢧ෷͍͍ͨ

Slide 27

Slide 27 text

ϋογϡλάɹ+14$ 1BZ1BMख਺ྉͷ໰୊ 4USJQFΛ࢖ͬͯΈΑ͏ͱࢥͬͨཧ༝ᶅ

Slide 28

Slide 28 text

ϋογϡλάɹ+14$ *NBHF6QMPBE6UJMJUZ1SP͕ചΕͨ৔߹ ച্ ख਺ྉ ʢ݄ؒച্ສԁະຬʣ Ҿग़ख਺ྉ ʢສԁະຬʣ ࠩҾऩೖ 1BZ1BM ԁ ԁ
 ʢԁʣ ԁ ԁ 4USJQF ԁ ԁ ʢʣ ԁ ఺͋ͨΓͷֹࠩԁʂ

Slide 29

Slide 29 text

ϋογϡλάɹ+14$ ࠓ·ͰʹऔΓ͜΅ͯ͠͠·ͬͨ૯ֹ ԁҎ্ʂ

Slide 30

Slide 30 text

ϋογϡλάɹ+14$ େऺञ৔Զྲྀͷ ੜϏʔϧʢΫϥγοΫʣ ഋҎ্

Slide 31

Slide 31 text

ϋογϡλάɹ+14$ Ϋϩωί8ίϨΫτͷॏେͳ໰୊ 4USJQFΛ࢖ͬͯΈΑ͏ͱࢥͬͨཧ༝ᶆ

Slide 32

Slide 32 text

ϋογϡλάɹ+14$ ͋Δ೔ɺΫϥΠΞϯτ͔Βಧ͍ͨϝʔϧ 'BDFCPPL΍-*/&ʹషΓ෇͚ͨ ฐࣾ63-͔ΒϦϯΫ͢ΔͱΫϨδοτΧʔυ෷͍͕ ͓ࢧ෷͍खଓ͖Τϥʔͱදࣔ͞Ε·͢ɻ Ͳ͏ʹ͔ͳΓ·ͤΜͰ͠ΐ͏͔ʁ

Slide 33

Slide 33 text

ϋογϡλάɹ+14$

Slide 34

Slide 34 text

ϋογϡλάɹ+14$

Slide 35

Slide 35 text

ϋογϡλάɹ+14$ ϠϚτϑΟφϯγϟϧ΁໰͍߹Θͤͨ Ұ෦εϚʔτϑΥϯͷ࢓༷ʹΑΓ (PPHMFΞϓϦʗ:BIPPΞϓϦʹͯ৽ن΢Οϯυ΢Λ։͘ߏஙʹ͓ͯ͠Γ·͢ͱ ඞཁ৘ใʢύϥϝʔλʣ͕ൈ͚མͪͯ͠·͏ࣄ৅͕֬ೝ͞Ε͓ͯΓ·͢ɻ ղܾࡦͱக͠·ͯ͠͸ɺ৽ن΢Οϯυ΢Λ্ཱͪ͛ͳ͍Α͏ͳߏஙʹ มߋ͍͖ͨͩ·͢ͱɺ্هࣄ৅͸ൃੜ͠ͳ͘ͳΔ΋ͱͷࢥΘΕ·͢ɻ

Slide 36

Slide 36 text

ϋογϡλάɹ+14$ ࣗࣾ੡඼ʮμ΢ϯϩʔυൢചʯ΁ͷ௅ઓ 4USJQFΛ࢖ͬͯΈΑ͏ͱࢥͬͨཧ༝ᶇ

Slide 37

Slide 37 text

ϋογϡλάɹ+14$ w ೖۚ֬ೝޙʹσʔλΛૹ෇͢Δʁ
 ٳΈͷ೔΋ରԠʁ
 ໷த΋ରԠʁ
 ग़ுத΋ରԠʁ w ͦ΋ͦ΋ࣗ෼͕ར༻ऀଆͩͬͨΒʁ w ෆਖ਼ར༻ͷՄೳੑͱͷτϨʔυΦϑ

Slide 38

Slide 38 text

ϋογϡλάɹ+14$ 1BZ1BMͰ௅ઓʂ

Slide 39

Slide 39 text

// read the post from PayPal system and add 'cmd' $req = 'cmd=_notify-synch'; $tx_token = $_GET['tx']; $auth_token = "* αΠτͰൃߦ͞ΕΔIDτʔΫϯΛ͜͜ʹషΓ෇͚Δ *"; $req .= "&tx=$tx_token&at=$auth_token"; // post back to PayPal system to validate $header .= "POST /cgi-bin/webscr HTTP/1.0\r\n"; $header .= "Content-Type: application/x-www-form-urlencoded\r\n $header .= "Content-Length: " . strlen($req) . "\r\n\r\n"; $fp = fsockopen ('www.sandbox.paypal.com', 80, $errno, $errstr, // $fp = fsockopen ('www.paypal.com', 80, $errno, $errstr, 30); // $fp = fsockopen ('ssl://www.paypal.com', 443, $errno, $errst // Ͱ͖Ε͹ HTTPS ʹͨ͠ํ͕ɺηΩϡϦςΟ͕ߴ·Δ. if (!$fp) { // HTTP ERROR echo "ERROR: HTTP error, [" . $errno . "] " . $errstr . "\n exit(1); } fputs ($fp, $header . $req); // read the body data $res = ''; $headerdone = false; while (!feof($fp)) { $line = fgets ($fp, 1024); if (strcmp($line, "\r\n") == 0) { // read the header $headerdone = true; } else if ($headerdone) { // header has been read. now read the contents $res .= $line; ϋογϡλάɹ+14$

Slide 40

Slide 40 text

ϋογϡλάɹ+14$ 1BZ1BMͰͷ࠳ં 1%5ʜ ɹ*1/ʜ ɹͳʹͦΕඒຯ͍͠ͷʁ

Slide 41

Slide 41 text

ϋογϡλάɹ+14$ 4USJQFͳΒͰ͖Δʁ ϚχϡΞϧ͸ӳޠ͚ͩͲɺʢ(PPHMFઌੜͷ͓͔͛ͰʣΘ͔Γ΍͍͢ײ৮Λಘͨ

Slide 42

Slide 42 text

ϋογϡλάɹ+14$ ॻ͍ͯΈͨɻ w DPOpHQIQΛಡΈࠐΉ w ঎඼໊ͱՁ֨Λ)5.-͔Β
 1045Ͱड͚औΔ w ϥΠηϯε൪߸Λੜ੒ w ܾࡁ׬ྃޙɺϝʔϧΛૹ৴ w μ΢ϯϩʔυը໘ϔࣗಈసૹ
 ʢ50,&/ɺ঎඼*%Λ౉͢ʣ w μ΢ϯϩʔυը໘Ͱ঎඼*%Ͱ
 63-Λදࣔʢ50,&/Ͱ෼ذʣ

Slide 43

Slide 43 text

ϋογϡλάɹ+14$ Ͱ͖ͨʂ IUUQTXXXKVYUBQPTJUJPOKQJNBHFVQMPBEVUJMJUZ

Slide 44

Slide 44 text

ϋογϡλάɹ+14$ ͱࢥͬͨΒʜ 4USJQFʹνϟʔδͰ͖͍ͯͳ͍͜ͱ͕൑໌ ʢςετ؀ڥͰ͸໰୊ͳ͘Ͱ͖͍ͯͨʣ

Slide 45

Slide 45 text

ϋογϡλάɹ+14$ αϙʔτʹ໰͍߹ΘͤͯΈΔ τʔΫϯ͸࡞੒͞Ε͍ͯ·͕͢ɺ νϟʔδ͕࡞੒͞Ε͍ͯͳ͍ͨΊɺࢧ෷͍͕׬͓ྃͯ͠Γ·ͤΜɻ "1*ʹͯऔಘ͞ΕͨτʔΫϯΛར༻͞Ε·͢ͱɺ νϟʔδ͢Δ͜ͱ͕Ͱ͖·͢ɻ νϟʔδΛ࡞੒͢Δύϥϝʔλʹ͖ͭ·ͯ͠͸ɺ ͪ͜ΒΛ͝ࢀর͍ͩ͘͞ IUUQTTUSJQFDPNEPDTBQJDSFBUF@DIBSHF

Slide 46

Slide 46 text

τʔΫϯ͸࡞੒͞Ε͍ͯ·͕͢ɺ νϟʔδ͕࡞੒͞Ε͍ͯͳ͍ͨΊɺࢧ෷͍͕׬͓ྃͯ͠Γ·ͤΜɻ "1*ʹͯऔಘ͞ΕͨτʔΫϯΛར༻͞Ε·͢ͱɺ νϟʔδ͢Δ͜ͱ͕Ͱ͖·͢ɻ νϟʔδΛ࡞੒͢Δύϥϝʔλʹ͖ͭ·ͯ͠͸ɺ ͪ͜ΒΛ͝ࢀর͍ͩ͘͞ IUUQTTUSJQFDPNEPDTBQJDSFBUF@DIBSHF ϋογϡλάɹ+14$ αϙʔτʹ໰͍߹ΘͤͯΈΔ ͪΐͬͱͳʹݴͬͯΔ͔Θ͔Μͳ͍

Slide 47

Slide 47 text

ϋογϡλάɹ+14$ Α͘ݟΔͱ ؊৺ͳ෦෼͕ ͬͦ͝Γൈ͚͍ͯͨ ʢͲͷλΠϛϯά͔ෆ໌ʣ ސ٬Λ࡞੒ DVTUPNFSa4USJQFa$VTUPNFSDSFBUF BSSBZ FNBJMFNBJM TPVSDFUPLFO νϟʔδΛ࡞੒ DIBSHFa4USJQFa$IBSHFDSFBUF BSSBZ EFTDSJQUJPOQSPEVDU DVTUPNFSDVTUPNFSJE BNPVOUQSJDF DVSSFODZKQZ

Slide 48

Slide 48 text

ϋογϡλάɹ+14$ ࣮ࡍʹ΍ͬͨ͜ͱ μογϡϘʔυͷʮ։ൃऀʯϝχϡʔͷʮϩάʯ͔Β֘౰ͷUPLFOTΛ։͘ $IFDLPVUKT͔Βͷ1045ʹର͠Ԡ౴ͨ͠಺༰ʹ͋ΔʮJEUPL@IPHFIPHF ʯΛݟ͚ͭɺ UPL@IPHFIPHF෦෼Λίϐʔ DIBSHFQIQͷʮސ٬Λ࡞੒ʯʹ͋ΔTPVSDFʹͦΕΛ௚઀هೖ
 ʢ1045಺༰ʹ͋ΔϝʔϧΞυϨε΋FNBJMʹهೖʣ ʮνϟʔδΛ࡞੒ʯͷEFTDSJQUJPOͱBNPVOUʹ΋௚઀هೖ ϝʔϧૹ৴ͳͲෆཁͳ෦෼͸࡟আ DIBSHFQIQΛDIBSHF@GVHBQIQͳͲͱϦωʔϜͯ͠Ξοϓϩʔυ ϒϥ΢β͔ΒDIBSHF@GVHBQIQʹΞΫηε
 ʢࢲ͸͜͜Ͱ׬ྃը໘΁ϦμΠϨΫτ͢ΔΑ͏ʹ͠·ͨ͠ʣ

Slide 49

Slide 49 text

ϋογϡλάɹ+14$ ࣮ࡍʹ΍ͬͨ͜ͱ μογϡϘʔυͷʮ։ൃऀʯϝχϡʔͷʮϩάʯ͔Β֘౰ͷUPLFOTΛ։͘ $IFDLPVUKT͔Βͷ1045ʹର͠Ԡ౴ͨ͠಺༰ʹ͋ΔʮJEUPL@IPHFIPHF ʯΛݟ͚ͭɺ UPL@IPHFIPHF෦෼Λίϐʔ DIBSHFQIQͷʮސ٬Λ࡞੒ʯʹ͋ΔTPVSDFʹͦΕΛ௚઀هೖ
 ʢ1045಺༰ʹ͋ΔϝʔϧΞυϨε΋FNBJMʹهೖʣ ʮνϟʔδΛ࡞੒ʯͷEFTDSJQUJPOͱBNPVOUʹ΋௚઀هೖ ϝʔϧૹ৴ͳͲෆཁͳ෦෼͸࡟আ DIBSHFQIQΛDIBSHF@GVHBQIQͳͲͱϦωʔϜͯ͠Ξοϓϩʔυ ϒϥ΢β͔ΒDIBSHF@GVHBQIQʹΞΫηε
 ʢࢲ͸͜͜Ͱ׬ྃը໘΁ϦμΠϨΫτ͢ΔΑ͏ʹ͠·ͨ͠ʣ Θ͔Δ·Ͱαϙʔτʹ࿈བྷ ϚχϡΞϧΛ܁Γฦ͠ಡΉ ͱʹ͔͘ςετ؀ڥͰ֬ೝ

Slide 50

Slide 50 text

ϋογϡλάɹ+14$ ࣮ࡍɺͲ͏ͩͬͨͷ͔

Slide 51

Slide 51 text

ϋογϡλάɹ+14$ w ࢥ͍ͬͯͨΑΓ΋؆୯ɺ͔͠΋ࣗ༝ʹͰ͖ͨ w ͨͩɺ+BWB4DSJQUͰ؆୯ಋೖʂͳهࣄ͕ଟ͗͢ w DIBSHFQIQ͚ͩͰ΋ࢥ͍ͷ··ʹΧελϚΠζ w ςετϞʔυ͔Βͷ੾Γସ͑΋؆୯ͩͬͨ w αϙʔτʢਗ਼຤͞Μʣʹͱͯ΋͓ੈ࿩ʹͳͬͨ

Slide 52

Slide 52 text

ϋογϡλάɹ+14$ 4MBDLʹ௨஌͕དྷΔΑ͏ʹͯ͠Έͨ

Slide 53

Slide 53 text

ϋογϡλάɹ+14$ ͱʹָ͔͍͘͠ʂ

Slide 54

Slide 54 text

ϋογϡλάɹ+14$ ೥ؒ࢖͍ଓ͚͍ͯΔ1BZ1BM͔Β4USJQF΁ʁ ʙ͋Δ΢ΣϒσΟϨΫλʔͷي੻ʙ גࣜձࣾδϟΫελϙδγϣϯɹ੢ࢁɹହ࢙ Let’s TRY!