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

LINE PayとUiPathを連携してみた / rpalt-191025-uipath

A8396e87ec50cb61dbb9ab5b906b620c?s=47 gaomar
October 25, 2019

LINE PayとUiPathを連携してみた / rpalt-191025-uipath

色々あって発表できなかった資料ですw

A8396e87ec50cb61dbb9ab5b906b620c?s=128

gaomar

October 25, 2019
Tweet

Transcript

  1. 31"-5 -*/&1BZͱ6J1BUIΛ ࿈ܞͯ͠Έͨ

  2. 31"-5 ࣗݾ঺հʢ͕͓·Δʣ ॴଐɿגࣜձࣾΞΠΤϯλʔɹେࡕࢧళ ɹɹɹ3%ɹ೥ೖࣾ ɹɹɹεϚʔτεϐʔΧʔΤόϯδΣϦετ ɹɹɹ-*/&"1*&YQFSU ۀ຿ɿ"5-BCPɺ͕͓·Δक़ӡӦ ɹɹɹεϚʔτεϐʔΧʔݚڀ։ൃ ɹɹɹ"84ݚڀ։ൃ ߴഅɹ޺య

    !HBPNBS ͔ͨ͏·ɹͻΖͷΓ
  3. 31"-5 ͱ͸ 23ίʔυܾࡁ΍ΦϯϥΠϯγϣοϐϯά ʹ࢖ͬͨΓͰ͖ΔεϚϗܾࡁαʔϏε །Ұ։ൃ༻4%,͕ެ։͞Ε͓ͯΓɺ ୭Ͱ΋։ൃΛ࢝ΊΔ͜ͱ͕Ͱ͖Δ

  4. 31"-5 ΦʔέετϨʔλʔ͕͋Δ

  5. 31"-5 6J1BUI0SDIFTUSBUPSͱ͸ ɾδϣϒͷεέδϡʔϧ؅ཧ ɾ౷߹ӡ༻؅ཧ ɾ಺෦౷੍ ɾηΩϡϦςΟରࡦ ɾॊೈͳ֦ுੑ

  6. 31"-5 ॊೈͳ֦ுੑ ɾ31"ͷ؅ཧػೳΛ3&45"1*ͱͯ͠ެ։ ɾϩϘͷىಈࢦ͕ࣔ؆୯ʹͰ͖Δ ɾ֎෦ͷ༷ʑͳαʔϏεͱ࿈ܞ͢Δ͜ͱ͕Մೳʂ

  7. 31"-5 Ͱ͖ͨ΋ͷ͸ͪ͜Β

  8. 31"-5 IUUQTZPVUVCF:#7TSMH

  9. 31"-5 ΞʔΩςΫνϟ ΦʔέετϨʔλʔ ʘܾࡁ৘ใೖྗʂʗ -*/&1BZ ܾࡁ (JU)VC

  10. 31"-5 -*''ʢ-*/&'POUFOE'SBNFXPSLʣ -*/&ΞϓϦ಺Ͱಈ࡞͢Δ΢ΣϒΞϓϦͷϓϥοτϑΥʔϜ Ϣʔβʔ৘ใΛ׆༻ͨ͠ػೳΛఏڙͨ͠Γɺ Ϣʔβʔͷ୅ΘΓʹϝοηʔδΛૹ৴ͨ͠ΓͰ͖·͢ ˞-*''ܦ༝Ͱ-*/&ͷϓϩϑΟʔϧ͕औಘՄೳ

  11. 31"-5 6J1BUIϑϩʔਤ ύϒϦογϡͯ͠ ΦʔέετϨʔλʔʹΞοϓ͢Δ

  12. 31"-5 ΦʔέετϨʔλʔʹϩϘ͕Ξοϓ͞ΕΔ όʔδϣϯ؅ཧ͕Մೳʂ

  13. 31"-5 ͔͜͜Β։ൃΑΓͳ࿩

  14. 31"-5 -*/&1BZܾࡁॲཧ͸7VFKT // ܾࡁ༧໿ let options = { productName: "ϩοΫղআ",

    amount: 1, // ֹۚʢ͜ͷ৔߹͸1ԁʣ currency: "JPY", // ೔ຊԁ orderId: uuid(), confirmUrl: process.env.VUE_APP_LINE_PAY_CONFIRM_URL } pay.reserve(options).then((response) => { let reservation = options reservation.transactionId = response.info.transactionId reservation.paymentUrl = response.info.paymentUrl.web callback(null, { statusCode: 200, body: JSON.stringify(reservation), headers: headers }) }) ɾBNPVOUɿֹۚ ɾPSEFS*Eɿܾࡁ؅ཧ൪߸ ɾDPOpSN6SMɿܾࡁޙભҠ63- ɾSFTFSWFɿॲཧ࣮ߦ IUUQTQBZMJOFNFKQEFWFMPQFSTBQJTPOMJOF"QJT MPDBMFKB@+1 ܾࡁ༧໿
  15. 31"-5 -*/&1BZܾࡁॲཧ͸7VFKT // ܾࡁॲཧ const transactionId = params.get('transactionId') const reservations

    = JSON.parse(params.get('reservations')) let confirmation = { transactionId: transactionId, amount: reservations.amount, currency: reservations.currency } pay.confirm(confirmation).then((response) => { callback(null, { statusCode: 200, body: 'ܾࡁ׬ྃ͠·ͨ͠ʂ', headers: headers }) }) ɾUSBOTBDUJPO*Eɿܾࡁ൪߸ ɾBNPVOUɿܾࡁ࣌ͷֹۚ ɾDVSSFODZɿܾࡁ࣌ͷ೔ຊԁ ɾDPOpSNɿॲཧ࣮ߦ IUUQTQBZMJOFNFKQEFWFMPQFSTBQJTPOMJOF"QJT MPDBMFKB@+1 ܾࡁ֬ೝ
  16. 31"-5 ࣮ݱ͢ΔͨΊͷεςοϓ͕໘౗͍X ɾΞΫηετʔΫϯΛൃߦ͢Δ ɾαʔϏεΠϯελϯεࣝผࢠऔಘ ɾ3FMFBTF,FZΛऔಘ͢Δ ɾδϣϒʢϩϘʣΛ࣮ߦ͢Δ

  17. 31"-5 ֎෦αʔϏεͱ࿈ܞ͢ΔͨΊʹඞཁͳ τʔΫϯ΍3FMFBTF,FZΛऔಘ͢Δ

  18. 31"-5 ΞΫηετʔΫϯΛൃߦ͢Δ IUUQTEPDTVJQBUIDPNPSDIFTUSBUPSWSFGFSFODFTFDUJPOHFUUJOHSFGSFTIUPLFO ֤छτʔΫϯΛϝϞ

  19. 31"-5 τʔΫϯͷ༗ޮ࣌ؒ͸ ࣌ؒͰ੾Ε·͢

  20. 31"-5 αʔϏεΠϯελϯεࣝผࢠΛऔಘ

  21. 31"-5 3FMBTF,FZΛऔಘ͢Δ IUUQTEPDTVJQBUIDPNPSDIFTUSBUPSWSFGFSFODFTFDUJPOSFUSJFWFBMMQSPDFTTFTBDDPSEJOHUPBOJOEJDBUFEFOWJSPONFOU

  22. 31"-5 δϣϒʢϩϘʣΛ࣮ߦ͢Δ IUUQTEPDTVJQBUIDPNPSDIFTUSBUPSWSFGFSFODFTFDUJPOTUBSUJOHBKPCXJUIDVTUPNWBMVFTGPSJOQVUQBSBNFUFST

  23. 31"-5 ͋ͱ͸ϓϩάϥϜ͔Β 1045͢Ε͹0,

  24. 31"-5 ·ͱΊ

  25. 31"-5 ɾ-*/&1BZ͸།Ұ։ൃ4%,͕ެ։͞Ε͍ͯΔ ɾ6J1BUIΦʔέετϨʔλʔͰ֎෦࿈ܞ͕Մೳ ɾ࡞ͬͨϩϘ͸ύϒϦογϡͯ͠ߋ৽ ɾ4UBSU+PCTؔ਺ͰϩϘΛ࣮ߦͰ͖Δ ɾൃߦͨ͠τʔΫϯͷ༗ޮ࣌ؒ͸࣌ؒ ɾແྉͰ͜͜·Ͱͷػೳ͕࢖͑Δʂ ɾ͍ΖΜͳ࿈ܞָ͍͠ʘ ?P? ʗ

  26. 31"-5 ͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠