{"version":3,"sources":["webpack:///./src/views/PaymentProcessing.vue?abaf","webpack:///src/views/PaymentProcessing.vue","webpack:///./src/views/PaymentProcessing.vue?3e97","webpack:///./src/views/PaymentProcessing.vue","webpack:///./src/services/paymentService.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","directives","name","rawName","value","isLoading","expression","attrs","success","_v","_s","paymentDto","portalCertOrderPaymentDto","modTypeString","certificateOrderId","numberOfItems","prettySubtotal","prettyFee","prettyProcessingFee","prettyTotal","hasError","staticStyle","_e","error","staticClass","on","returnToCert","staticRenderFns","data","hmacDto","timestamp","domain","sequence","username","sha256Hash","sha256String","expDateFormat","nameFormat","hmac_expdate_format","paymentId","tax","totalCost","subtotalCost","fees","paymentStatusDto","formatter","handleTransactionCalled","computed","format","paymentService","PaymentFee","created","$route","params","mounted","_mounted","_asyncToGenerator","regeneratorRuntime","mark","_callee","_this","wrap","_context","prev","next","sessionStorage","pFrameInitiated","removeItem","window","location","reload","abrupt","Intl","NumberFormat","style","currency","minimumFractionDigits","getHmacInfo","$http","then","response","fra","document","getElementById","setAttribute","paymentFrame","PaymentFrame","AppConfig","paymentframehost","paymentSubmittedCallback","setPaymentSubmittedCallback","code","cardTicket","ticket","handleTransaction","scrollTo","catch","status","verbiage","setItem","request","getPayment","$router","push","getPaymentStatus","portalPaymentStatusId","stop","apply","arguments","methods","certId","moduleType","validModTypes","routeName","includes","toLowerCase","updated","component","VCol","VContainer","VRow","path","MinimumFee","http","post","get","getPaymentByCert","modType","insertCertPayment","cardShieldTicket"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,cAAc,CAACE,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,OAAQT,EAAIU,UAAWC,WAAW,gBAAgB,CAACP,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACQ,MAA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B,kBAAmBA,EACnBlC,kBAAmBA,EACnBU,iBAAkBA,EAClBtD,WAAYA,EACZwE,WAAYA,EACZI,iBAAkBA","file":"js/chunk-dd8bdd12.6ebb8adf.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-container',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isLoading),expression:\"!isLoading\"}]},[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[(!_vm.success)?_c('h2',[_vm._v(\"Please enter your payment information\")]):_c('h2',[_vm._v(\"Payment submitted\")])])],1),_c('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('h3',[_vm._v(\"Your Order\")])]),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('h4',[_vm._v(_vm._s(_vm.paymentDto.portalCertOrderPaymentDto.modTypeString)+\" Certificate Order: \"+_vm._s(_vm.paymentDto.portalCertOrderPaymentDto.certificateOrderId))])]),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('b',[_vm._v(\"NUMBER OF Certificates and/or Affidavits:\")]),_vm._v(\" \"+_vm._s(_vm.paymentDto.numberOfItems)+\"\\n \")]),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('b',[_vm._v(\"SUBTOTAL:\")]),_vm._v(\" \"+_vm._s(_vm.prettySubtotal)+\"\\n \")]),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('b',[_vm._v(\"PROCESSING FEE (\"+_vm._s(_vm.prettyFee)+\"):\")]),_vm._v(\" \"+_vm._s(_vm.prettyProcessingFee)+\"\\n \")]),_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('b',[_vm._v(\"TOTAL CHARGE:\")]),_vm._v(\" \"+_vm._s(_vm.prettyTotal)+\"\\n \")]),_c('v-col',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.success && !_vm.hasError),expression:\"!success && !hasError\"}],attrs:{\"cols\":\"12\",\"justify\":\"center\"}},[_c('iframe',{staticStyle:{\"min-height\":\"330px\"},attrs:{\"id\":\"iFrame\",\"height\":\"100%\",\"width\":\"100%\"}})])],1),_c('v-row',[(_vm.success)?_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticStyle:{\"color\":\"green\",\"size\":\"large\"}},[_vm._v(\"\\n Payment has succeeded! Your order for a certificate has been received.\\n Your request will be verified by VSS. If verified, a certificate will be mailed to you within the next 2 weeks.\\n \")]),_c('div',{staticStyle:{\"color\":\"red\",\"size\":\"large\"}},[_vm._v(\"\\n You may be required to provide additional information or clarify details for your request to be processed.\\n If our department needs further information from the requestor to complete the certificate order, you will receive an email notification and you will need to to respond to the message in your Portal Inbox.\\n \")])]):_vm._e(),(_vm.hasError)?_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('div',{staticStyle:{\"color\":\"red\",\"size\":\"large\"}},[_vm._v(\"Payment failed. Your order was NOT submitted. Please see below for details:\")]),_c('div',{staticStyle:{\"color\":\"red\",\"size\":\"large\"}},[_vm._v(_vm._s(_vm.error))])]):_vm._e()],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('h4',{staticStyle:{\"text-align\":\"center\"}},[_vm._v(\"All certificate purchases ordered and paid for in the Wyoming VSS Portal system are final.\"),_c('br'),_c('b',{staticStyle:{\"color\":\"red\",\"font-size\":\"large\"}},[_vm._v(\"There will be no refunds issued for certificates purchased in the Wyoming VSS Portal.\")]),_c('br')])])],1),_c('v-row',{staticClass:\"mb-3\"},[_c('v-col',{attrs:{\"cols\":\"12\"}},[_c('button',{staticClass:\"text-only\",staticStyle:{\"color\":\"blue\",\"font-size\":\"large\"},on:{\"click\":_vm.returnToCert}},[_vm._v(\"Return to certificate order\")]),_c('br')])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentProcessing.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PaymentProcessing.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PaymentProcessing.vue?vue&type=template&id=54f271d4&\"\nimport script from \"./PaymentProcessing.vue?vue&type=script&lang=js&\"\nexport * from \"./PaymentProcessing.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VContainer,VRow})\n","var path = 'api/Portal/Payment/'\r\n\r\nconst PaymentFee = 0.024\r\n\r\nconst MinimumFee = 1.00\r\n\r\nfunction getHmacInfo (http) {\r\n return http.post(path + 'GetHmacInfo')\r\n}\r\n\r\nfunction getPayment (http, paymentId) {\r\n return http.get(path + 'GetPayment?paymentId=' + paymentId)\r\n}\r\n\r\nfunction getPaymentByCert (http, certId, modType) {\r\n return http.get(path + 'GetPaymentByCert?certId=' + certId + '&modType=' + modType)\r\n}\r\n\r\n// function insertPayment (http, paymentDto) {\r\n// return http.post(path + 'InsertPayment', paymentDto)\r\n// }\r\n\r\nfunction insertCertPayment (http, paymentDto) {\r\n return http.post(path + 'InsertCertPayment', paymentDto)\r\n}\r\n\r\nfunction handleTransaction (http, cardShieldTicket, paymentId) {\r\n return http.post(path + 'HandleTransaction', { cardShieldTicket: cardShieldTicket, paymentId: paymentId })\r\n}\r\n\r\nfunction getPaymentStatus (http, paymentId) {\r\n return http.post(path + 'GetPaymentStatus?paymentId=' + paymentId)\r\n}\r\n\r\nexport default {\r\n getHmacInfo: getHmacInfo,\r\n getPayment: getPayment,\r\n // insertPayment: insertPayment,\r\n insertCertPayment: insertCertPayment,\r\n handleTransaction: handleTransaction,\r\n getPaymentStatus: getPaymentStatus,\r\n PaymentFee: PaymentFee,\r\n MinimumFee: MinimumFee,\r\n getPaymentByCert: getPaymentByCert\r\n}\r\n"],"sourceRoot":""}