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

LINE PayとWinActorを連携してみた / rpalt_191025

A8396e87ec50cb61dbb9ab5b906b620c?s=47 gaomar
October 25, 2019

LINE PayとWinActorを連携してみた / rpalt_191025

RPA勉強会!RPALT特別編 in 福岡~ツールベンダー大集合~
登壇資料

A8396e87ec50cb61dbb9ab5b906b620c?s=128

gaomar

October 25, 2019
Tweet

Transcript

  1. 31"-5 -*/&1BZͱ8JO"DUPSΛ ࿈ܞͯ͠Έͨ

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

    !HBPNBS ͔ͨ͏·ɹͻΖͷΓ
  3. 31"-5 -*/&1BZܾࡁ ൿີͷจষ ඵޙʹফ໓

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

  5. 31"-5 IUUQTZPVUVCF$N[:DP0EX

  6. 31"-5 ΞʔΩςΫνϟ ʘ-*/&1BZܾࡁ͋Γ͕ͱ͏ʂʗ -*/&1BZ ܾࡁ (JU)VC

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

  8. 31"-5 3&45"1*͕ެ։͞Ε͍ͯͳ͍

  9. 31"-5 τϯωϦϯάπʔϧ OHSPL  Λ࢖͍࿈ܞͯ͠Έ·ͨ͠

  10. 31"-5 OHSPLͱ͸ ϩʔΧϧͰಈ͍͍ͯΔαʔόʔΛɺ -"/ͷ֎͔ΒΞΫηεͰ͖ΔΑ͏ʹͰ͖Δπʔϧ

  11. 31"-5 OHSPLͱ͸

  12. 31"-5 ࡞ͬͨϩϘΛγϣʔτΧοτ MOL  ͰىಈͰ͖Δػೳ͕͋Δ

  13. 31"-5 γϣʔτΧοτ MOL  ΛɹɹɹɹͰىಈͤ͞Δ

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

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

  16. 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 ܾࡁ༧໿
  17. 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 ܾࡁ֬ೝ
  18. 31"-5 ͋ͱ͸ϓϩάϥϜ͔Β 1045͢Ε͹0,

  19. 31"-5 (PPHMF)PNFͱ8JO"DUPS࿈ܞ͸2JJUBʹ౤ߘ͠·ͨ͠ IUUQTRJJUBDPNIUBLBVNBJUFNTGGCBFGGG

  20. 31"-5 ·ͱΊ

  21. 31"-5 ɾ-*/&1BZ͸།Ұ։ൃ4%,͕ެ։͞Ε͍ͯΔ ɾOHSPLͰϩʔΧϧ؀ڥ͔ΒΞΫηεՄೳ ɾ-*''Λ࢖ͬͯίϯςϯπΛදࣔͤ͞Α͏ ɾ8JO"DUPSͷγϣʔτΧοτΛ/PEFKTͰىಈͤ͞Α͏ ɾ͍ΖΜͳ࿈ܞָ͍͠ʘ ?P? ʗ

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