Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥

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

gaomar
October 25, 2019

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

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

gaomar

October 25, 2019
Tweet

More Decks by gaomar

Other Decks in Technology

Transcript

  1. 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 ܾࡁ༧໿
  2. 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 ܾࡁ֬ೝ