{"version":3,"sources":["webpack:///./src/views/Interview/ConfirmationView.vue?a3ac","webpack:///./src/views/Interview/ConfirmationView.vue?4950","webpack:///./src/views/Interview/ConfirmationView.vue?b55b","webpack:///./src/views/Interview/ConfirmationView.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","directives","name","rawName","value","expression","isLoading","isDeclined","_v","_s","applicationNumber","paymentTransactionId","attrs","declinationErrorMessage","staticRenderFns","convergeDeclinationErrorMap","$store","getters","response","$route","query","confirmation","JSON","parse","ssl_result","sslResultMessage","ssl_result_message","ssl_txn_id","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,MAAM,CAACG,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,MAAOV,EAAa,UAAEW,WAAW,cAAcL,YAAY,mBAAmB,CAACF,EAAG,cAAc,GAAGA,EAAG,MAAM,CAACG,WAAW,CAAC,CAACC,KAAK,OAAOC,QAAQ,SAASC,OAAQV,EAAIY,YAAcZ,EAAIa,WAAYF,WAAW,8BAA8BL,YAAY,kBAAkB,CAACF,EAAG,MAAM,CAACE,YAAY,OAAO,CAACF,EAAG,MAAM,CAACE,YAAY,YAAY,CAACF,EAAG,KAAK,CAACJ,EAAIc,GAAG,kBAAkBV,EAAG,IAAI,CAACJ,EAAIc,GAAG,sEAAsEV,EAAG,IAAI,CAACJ,EAAIc,GAAG,kCAAkCd,EAAIe,GAAGf,EAAIgB,mBAAmB,MAAMZ,EAAG,MAAMJ,EAAIc,GAAG,uCAAuCd,EAAIe,GAAGf,EAAIiB,sBAAsB,QAAQb,EAAG,IAAI,CAACJ,EAAIc,GAAG,gEAAgEV,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,cAAc,CAACc,MAAM,CAAC,GAAK,eAAe,CAAClB,EAA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,YACVC,EAAmBJ,EAAaK,mBAEtC/B,KAAKkB,wBAA2BlB,KAAKoB,4BAA4BU,GAE9D9B,KAAKoB,4BAA4BU,GADjC,0BAGH9B,KAAKY,YAAa,GAGlBZ,KAAKgB,qBAAuBU,EAAaM,WAG1ChC,KAAKW,WAAY,EAjBX,gDA9CR,8DAA8C,cAAzB,EAAgB,gBAHpC,eAAU,CACVJ,KAAM,sBAEc,WC9CwY,I,YCOzZ0B,EAAY,eACd,EACAnC,EACAqB,GACA,EACA,KACA,KACA,MAIa,aAAAc,E","file":"js/chunk-2d0abcc8.54ebfb99.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\" container\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isLoading),expression:\"isLoading\"}],staticClass:\"text-center m-5\"},[_c('b-spinner')],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isLoading && !_vm.isDeclined),expression:\"!isLoading && !isDeclined\"}],staticClass:\"container my-4\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col mx-2\"},[_c('h1',[_vm._v(\"Confirmation\")]),_c('p',[_vm._v(\"Thank you for filing your Right of Publicity Claim registration.\")]),_c('p',[_vm._v(\" Your claim registration ID is \"+_vm._s(_vm.applicationNumber)+\". \"),_c('br'),_vm._v(\" Your credit card transaction ID is \"+_vm._s(_vm.paymentTransactionId)+\". \")]),_c('p',[_vm._v(\"Please refer to this registration ID for future inquiries.\")]),_c('div',{staticClass:\"my-4\"},[_c('router-link',{attrs:{\"to\":\"/Dashboard\"}},[_vm._v(\"Return to Home Page\")])],1)])])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isDeclined),expression:\"isDeclined\"}],staticClass:\"my-4\"},[_c('h2',[_vm._v(\"There was an error with your payment\")]),_c('h4',[_vm._v(_vm._s(_vm.declinationErrorMessage))]),_c('p',{staticClass:\"my-4\"},[_vm._v(\" You can go back to \"),_c('router-link',{attrs:{\"to\":\"/Dashboard\"}},[_vm._v(\"Your Dashboard\")]),_vm._v(\" to check the status of your application(s) and to view or print your application(s)/certificate(s). \")],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\nimport Component from 'vue-class-component';\r\nimport Application from '@/store/models/Application';\r\n\r\n@Component({\r\n\tname: 'ConfirmationView',\r\n})\r\nexport default class ConfirmationView extends Vue {\r\n\tprivate isLoading: boolean = true;\r\n\tprivate isDeclined: boolean = false;\r\n\tprivate declinationErrorMessage: string = '';\r\n\tprivate paymentTransactionId: string = '';\r\n\r\n\tprivate convergeDeclinationErrorMap: any = {\r\n\t\t'APPROVAL': 'Approved',\r\n\t\t'APPROBAT': 'Approved (French)',\r\n\t\t'PARTIAL APPROVAL': 'Approved for a Partial Amount',\r\n\t\t'DECLINE CVV2': 'Do not honor due to CVV2 mismatch\\failure',\r\n\t\t'PICK UP CARD': 'Pick up card',\r\n\t\t'AMOUNT ERROR': 'Tran Amount Error',\r\n\t\t'AMT OVER SVC LMT': 'Amount is more than established service limit',\r\n\t\t'APPL TYPE ERROR': 'Call support for help with this error',\r\n\t\t'CANNOT CONVERT': 'Check is ok, but cannot convert. Do Not Honor',\r\n\t\t'DECLINED': 'Do Not Honor',\r\n\t\t'DECLINED T4': 'Do Not Honor. Failed negative check, unpaid items',\r\n\t\t'DECLINED-HELP 9999': 'System Error',\r\n\t\t'DUP CHECK NBR': 'Duplicate Check Number',\r\n\t\t'EXPIRED CARD': 'Expired Card',\r\n\t\t'INCORRECT PIN': 'Invalid PIN',\r\n\t\t'INVALID CARD': 'Invalid Card',\r\n\t\t'INVALID CAVV': 'Invalid Cardholder Authentication Verification Value',\r\n\t\t'INVALID TERM ID': 'Invalid Terminal ID',\r\n\t\t'INVLD R/T NBR': 'Invalid Routing/Transit Number',\r\n\t\t'INVLD TERM ID 1': 'Invalid Merchant Number',\r\n\t\t'INVLD TERM ID 2': 'Invalid SE Number. Note: AMEX Only',\r\n\t\t'INVLD VOID DATA': 'Invalid Data Submitted for Void Transaction',\r\n\t\t'MAX MONTHLY VOL': 'This transaction would go over the maximum monthly volume',\r\n\t\t'MICR ERROR': 'MICR Read Error',\r\n\t\t'MUST SETTLE MMDD': 'Must settle, open batch is over 7 days old. Note: Best Practice is to settle within 24 hours. Batch will be Auto Settled after 10 days',\r\n\t\t'NETWORK ERROR': 'General System Error',\r\n\t\t'PLEASE RETRY': 'Please Retry/Reenter Transaction',\r\n\t\t'RECORD NOT FOUND': 'Record not on the network',\r\n\t\t'REQ. EXCEEDS BAL.': 'Req. exceeds balance',\r\n\t\t'SEQ ERR PLS CALL': 'Call support for help with this error',\r\n\t\t'SERV NOT ALLOWED': 'Invalid request',\r\n\t\t'TOO MANY CHECKS': 'Too many checks (Over Limit)',\r\n\t\t'CALL AUTH CENTER': 'Refer to Issuer',\r\n\t\t'SUCCESS': 'For successfully added, updated, deleted recurring or installment transactions',\r\n\t\t'ERROR': 'Recurring or installment transactions could not update.',\r\n\t};\r\n\r\n\tpublic get applicationNumber(): string { return this.$store.getters['InterviewModule/applicationNumber'] }\r\n\r\n\tpublic async created() {\r\n\t\tconst response = this.$route.query['response'] as string;\r\n\t\tconst confirmation = !!response ? JSON.parse(response) : {};\r\n\r\n\t\tif (confirmation.ssl_result != '0') { // Declined payment\r\n\t\t\tconst sslResultMessage = confirmation.ssl_result_message as string;\r\n\r\n\t\t\tthis.declinationErrorMessage = !this.convergeDeclinationErrorMap[sslResultMessage]\r\n\t\t\t\t? 'The payment is declined'\r\n\t\t\t\t: this.convergeDeclinationErrorMap[sslResultMessage];\r\n\r\n\t\t\tthis.isDeclined = true;\r\n\t\t}\r\n\t\telse { // Successful payment\r\n\t\t\tthis.paymentTransactionId = confirmation.ssl_txn_id;\r\n\t\t}\r\n\r\n\t\tthis.isLoading = false;\r\n\t}\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfirmationView.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConfirmationView.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ConfirmationView.vue?vue&type=template&id=1d85761b&\"\nimport script from \"./ConfirmationView.vue?vue&type=script&lang=ts&\"\nexport * from \"./ConfirmationView.vue?vue&type=script&lang=ts&\"\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"],"sourceRoot":""}