Skip to content

Instantly share code, notes, and snippets.

@thevuuranusls
Created December 30, 2020 05:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thevuuranusls/9b5f562ad00d1d537f2e8000898e1551 to your computer and use it in GitHub Desktop.
Save thevuuranusls/9b5f562ad00d1d537f2e8000898e1551 to your computer and use it in GitHub Desktop.
{"STEP_1":"h.AutoPayment","STEP_2":"getListCPSAgreementWithStatus","STEP_3":"h.QueryBill","Time":"2020-12-30T12:00:05+07:00","level":"info","msg":"done","queryBillResp":"{\"returnCode\":1,\"returnMessage\":\"Giao dịch thành công.\",\"data\":{\"appid\":821,\"supplierid\":701,\"customercode\":\"1500020009502248\",\"totalamount\":34009468,\"paymentrule\":2,\"billlist\":[{\"appid\":821,\"customercode\":\"1500020009502248\",\"supplierid\":701,\"month\":202101,\"monthstr\":\"01/2021\",\"billid\":\"1500020009502248:1:2021\",\"billtype\":1,\"amount\":34009468,\"querydate\":20201230,\"querytime\":1609304405769,\"providercode\":\"FECREDIT\",\"customername\":\"VŨ ĐỨC HÙNG\",\"customeraddress\":\"\",\"serviceid\":\"\",\"suppliercode\":\"\",\"paymentrange\":\"\",\"paymentfee\":0,\"expireddate\":\"\",\"isprepaid\":false,\"zlppaymentid\":\"FCCARD\",\"exinfo\":\"{\\\"customercode\\\":\\\"1500020009502248\\\",\\\"customername\\\":\\\"VŨ ĐỨC HÙNG\\\",\\\"companyname\\\":\\\"FC\\\",\\\"address\\\":\\\"***7305\\\",\\\"totaldebt\\\":34009468,\\\"data\\\":\\\"[{\\\\\\\"duedate\\\\\\\":\\\\\\\"04/01/2021\\\\\\\",\\\\\\\"month\\\\\\\":\\\\\\\"01/2021\\\\\\\",\\\\\\\"amount\\\\\\\":34009468,\\\\\\\"minamount\\\\\\\":2924290}]\\\"}\"}]}}","request":"{\"clientid\":1,\"sig\":\"b2e257363a0951e5cef0de22da0d621421f17b6a793767bd49785bf9d81f0d0b\",\"data\":\"{\\\"customercode\\\":\\\"1500020009502248\\\",\\\"supplierid\\\":\\\"701\\\"}\",\"reqdate\":1609304405675}","response:":"{\"returnCode\":1,\"returnMessage\":\"Giao dịch thành công.\",\"data\":\"{\\\"appid\\\":821,\\\"supplierid\\\":701,\\\"customercode\\\":\\\"1500020009502248\\\",\\\"customername\\\":\\\"VŨ ĐỨC HÙNG\\\",\\\"address\\\":\\\"***7305\\\",\\\"totalamount\\\":34009468,\\\"paymentrule\\\":2,\\\"totaldebt\\\":34009468,\\\"identitynumber\\\":\\\"***7305\\\",\\\"billlist\\\":[{\\\"appid\\\":821,\\\"customercode\\\":\\\"1500020009502248\\\",\\\"supplierid\\\":701,\\\"month\\\":202101,\\\"monthstr\\\":\\\"01/2021\\\",\\\"cycletype\\\":1,\\\"cyclevalue\\\":\\\"202101\\\",\\\"billid\\\":\\\"1500020009502248:1:2021\\\",\\\"amount\\\":34009468,\\\"billtype\\\":1,\\\"querydate\\\":20201230,\\\"querytime\\\":1609304405769,\\\"providercode\\\":\\\"FECREDIT\\\",\\\"customername\\\":\\\"VŨ ĐỨC HÙNG\\\",\\\"customeraddress\\\":\\\"\\\",\\\"serviceid\\\":\\\"\\\",\\\"suppliercode\\\":\\\"\\\",\\\"paymentrange\\\":\\\"\\\",\\\"paymentfee\\\":0,\\\"expireddate\\\":\\\"\\\",\\\"isprepaid\\\":false,\\\"zlppaymentid\\\":\\\"FCCARD\\\",\\\"exinfo\\\":\\\"{\\\\\\\"customercode\\\\\\\":\\\\\\\"1500020009502248\\\\\\\",\\\\\\\"customername\\\\\\\":\\\\\\\"VŨ ĐỨC HÙNG\\\\\\\",\\\\\\\"companyname\\\\\\\":\\\\\\\"FC\\\\\\\",\\\\\\\"address\\\\\\\":\\\\\\\"***7305\\\\\\\",\\\\\\\"totaldebt\\\\\\\":34009468,\\\\\\\"data\\\\\\\":\\\\\\\"[{\\\\\\\\\\\\\\\"duedate\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"04/01/2021\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"month\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\"01/2021\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\"amount\\\\\\\\\\\\\\\":34009468,\\\\\\\\\\\\\\\"minamount\\\\\\\\\\\\\\\":2924290}]\\\\\\\"}\\\",\\\"pkg\\\":\\\"Nợ kỳ 01/2021\\\"}]}\"}","time":"2020-12-30T12:00:05+07:00","user agreement from DB":"{\"token\":\"897a41b24da8f2debe63e8eea7bf6f02\",\"zalopayId\":\"200727000012001\",\"mcIdentifier\":\"200727000012001\",\"bindingType\":\"WALLET\",\"maxAmount\":\"0\",\"dueDate\":\"0001-01-01T00:00:00Z\",\"data\":\"{\\\"customer_code\\\":\\\"1500020009502248\\\",\\\"supplier_id\\\":\\\"701\\\",\\\"payment_method\\\":\\\"WALLET\\\",\\\"bill_name\\\":\\\"VŨ ĐỨC HÙNG\\\",\\\"bill_address\\\":\\\"***7305\\\",\\\"term\\\":\\\"Default term\\\",\\\"due_date\\\":0,\\\"max_amount\\\":0,\\\"opts\\\":\\\"{\\\\\\\"app_logo_url\\\\\\\":\\\\\\\"https://stccps.zpapps.vn/input/logo/cf_fecredit@3x.png\\\\\\\",\\\\\\\"app_name\\\\\\\":\\\\\\\"FE Credit\\\\\\\"}\\\"}\",\"createdTime\":\"2020-12-30T11:18:17+07:00\",\"updatedTime\":\"2020-12-30T11:18:17+07:00\",\"orderId\":\"2012300111006\",\"zpTransId\":\"\",\"appId\":797,\"orderTime\":1609301823777,\"status\":1,\"step\":\"\",\"stepResult\":\"\",\"exception\":\"\",\"bindingId\":\"20123000000421\",\"customerCode\":\"1500020009502248\",\"supplierId\":\"701\",\"lastPaidTime\":\"\"}"}
{"STEP_1":"h.AutoPayment","STEP_10":"doSendZlpNoti","STEP_11":"PayOneBill","STEP_12":"CreateOrderForBill","STEP_13":"PayByToken","STEP_14":"NotiPayment","STEP_15":"notifyPaymentSuccess","STEP_16":"notify_client payment Success","STEP_17":"doSendZlpNoti","STEP_2":"getListCPSAgreementWithStatus","STEP_3":"h.QueryBill","STEP_4":"PayOneBill","STEP_5":"CreateOrderForBill","STEP_6":"PayByToken","STEP_7":"NotiPayment","STEP_8":"notifyPaymentSuccess","STEP_9":"notify_client payment Success","Time":"2020-12-30T12:00:05+07:00","createOrderResp":"{\"returnCode\":1,\"returnMessage\":\"Giao dịch thành công\",\"data\":{\"return_code\":1,\"return_message\":\"Giao dịch thành công\",\"sub_return_code\":1,\"sub_return_message\":\"Giao dịch thành công\",\"zp_trans_token\":\"8XnlKqkdHmOEBRfAA8FC26iglwyx2KxMi1B3N7ZBBBMBnR-RNWM50hbuGSJltTT8WKCDJeVJBiqlo9iiPRUt-nLI9RTB6jsP2Z92jbMV_KOqCHioyQs5NODUUhPlbX_o\",\"order_url\":\"https://stggateway.zalopay.vn/openinapp?order=eyJ6cHRyYW5zdG9rZW4iOiIyMDEyMzAwMDAwNDgwODlsODkxZTlUIiwiYXBwaWQiOjM3Mn0\",\"amount\":31379}}","level":"info","msg":"done","payResponse":"{\"returnCode\":1,\"returnMessage\":\"deliver\",\"data\":{\"zptransid\":\"201230000048090\",\"apptransid\":\"2012300118007\",\"description\":\"Thanh toán tự động Tiền Điện EVN HCM kỳ 12/2020\"}}","queryBillResp":"{\"returnCode\":1,\"returnMessage\":\"Giao dịch thành công.\",\"data\":{\"appid\":372,\"supplierid\":4,\"customercode\":\"PE09000160892\",\"totalamount\":38762,\"paymentrule\":2,\"billlist\":[{\"appid\":372,\"customercode\":\"PE09000160892\",\"supplierid\":4,\"month\":202011,\"monthstr\":\"11/2020\",\"billid\":\"201210\",\"billtype\":1,\"amount\":7383,\"querydate\":20201230,\"querytime\":1609302341536,\"providercode\":\"EVNGATEWAY\",\"customername\":\"PHAN THANH TAM\",\"customeraddress\":\"TINH LO 9, AP 1, XA BINH MY, HUYEN CU CHI\",\"serviceid\":\"DIEN\",\"suppliercode\":\"EVNHOCHIMINH\",\"paymentrange\":\"\",\"paymentfee\":0,\"expireddate\":\"\",\"isprepaid\":false,\"zlppaymentid\":\"\",\"exinfo\":\"{\\\"data\\\":\\\";PE09000160892;201210:7383:TD;\\\",\\\"customername\\\":\\\"PHAN THANH TAM\\\",\\\"routecode\\\":\\\"\\\",\\\"customercode\\\":\\\"PE09000160892\\\",\\\"billid\\\":\\\"201210\\\",\\\"merchanttype\\\":28,\\\"supplierid\\\":4,\\\"source\\\":\\\"\\\"}\"},{\"appid\":372,\"customercode\":\"PE09000160892\",\"supplierid\":4,\"month\":202012,\"monthstr\":\"12/2020\",\"billid\":\"210110\",\"billtype\":1,\"amount\":31379,\"querydate\":20201230,\"querytime\":1609302341536,\"providercode\":\"EVNGATEWAY\",\"customername\":\"PHAN THANH TAM\",\"customeraddress\":\"TINH LO 9, AP 1, XA BINH MY, HUYEN CU CHI\",\"serviceid\":\"DIEN\",\"suppliercode\":\"EVNHOCHIMINH\",\"paymentrange\":\"\",\"paymentfee\":0,\"expireddate\":\"\",\"isprepaid\":false,\"zlppaymentid\":\"\",\"exinfo\":\"{\\\"data\\\":\\\";PE09000160892;210110:31379:TD;\\\",\\\"customername\\\":\\\"PHAN THANH TAM\\\",\\\"routecode\\\":\\\"\\\",\\\"customercode\\\":\\\"PE09000160892\\\",\\\"billid\\\":\\\"210110\\\",\\\"merchanttype\\\":28,\\\"supplierid\\\":4,\\\"source\\\":\\\"\\\"}\"}]}}","request":"{\"clientid\":1,\"sig\":\"89da5af18e3f30e734e9f93133f79eb53213d26f7a80d1313d056bdccd664a05\",\"data\":\"{\\\"appid\\\":372,\\\"zalopayid\\\":\\\"180605000010002\\\",\\\"zptranstoken\\\":\\\"8XnlKqkdHmOEBRfAA8FC26iglwyx2KxMi1B3N7ZBBBMBnR-RNWM50hbuGSJltTT8WKCDJeVJBiqlo9iiPRUt-nLI9RTB6jsP2Z92jbMV_KOqCHioyQs5NODUUhPlbX_o\\\",\\\"paytoken\\\":\\\"f481493a721a7a101d19a9efa83a6437\\\",\\\"amount\\\":31379}\",\"reqdate\":1609304410659}","response PayByToken ":"{\"returnCode\":1,\"returnMessage\":\"deliver\",\"data\":\"{\\\"zptransid\\\":\\\"201230000048090\\\",\\\"apptransid\\\":\\\"2012300118007\\\",\\\"description\\\":\\\"Thanh toán tự động Tiền Điện EVN HCM kỳ 12/2020\\\"}\"}","response createOrderForBill":"{\"returnCode\":1,\"returnMessage\":\"Giao dịch thành công\",\"data\":\"{\\\"return_code\\\":1,\\\"return_message\\\":\\\"Giao dịch thành công\\\",\\\"sub_return_code\\\":1,\\\"sub_return_message\\\":\\\"Giao dịch thành công\\\",\\\"zp_trans_token\\\":\\\"8XnlKqkdHmOEBRfAA8FC26iglwyx2KxMi1B3N7ZBBBMBnR-RNWM50hbuGSJltTT8WKCDJeVJBiqlo9iiPRUt-nLI9RTB6jsP2Z92jbMV_KOqCHioyQs5NODUUhPlbX_o\\\",\\\"order_url\\\":\\\"https://stggateway.zalopay.vn/openinapp?order=eyJ6cHRyYW5zdG9rZW4iOiIyMDEyMzAwMDAwNDgwODlsODkxZTlUIiwiYXBwaWQiOjM3Mn0\\\",\\\"amount\\\":31379}\"}","response:":"{\"returnCode\":1,\"returnMessage\":\"Giao dịch thành công.\",\"data\":\"{\\\"appid\\\":372,\\\"supplierid\\\":4,\\\"customercode\\\":\\\"PE09000160892\\\",\\\"customername\\\":\\\"PHAN THANH TAM\\\",\\\"address\\\":\\\"TINH LO 9, AP 1, XA BINH MY, HUYEN CU CHI\\\",\\\"totalamount\\\":38762,\\\"paymentrule\\\":2,\\\"totaldebt\\\":0,\\\"billlist\\\":[{\\\"appid\\\":372,\\\"customercode\\\":\\\"PE09000160892\\\",\\\"supplierid\\\":4,\\\"month\\\":202011,\\\"monthstr\\\":\\\"11/2020\\\",\\\"cycletype\\\":1,\\\"cyclevalue\\\":\\\"202011\\\",\\\"billid\\\":\\\"201210\\\",\\\"amount\\\":7383,\\\"billtype\\\":1,\\\"querydate\\\":20201230,\\\"querytime\\\":1609302341536,\\\"providercode\\\":\\\"EVNGATEWAY\\\",\\\"customername\\\":\\\"PHAN THANH TAM\\\",\\\"customeraddress\\\":\\\"TINH LO 9, AP 1, XA BINH MY, HUYEN CU CHI\\\",\\\"serviceid\\\":\\\"DIEN\\\",\\\"suppliercode\\\":\\\"EVNHOCHIMINH\\\",\\\"paymentrange\\\":\\\"\\\",\\\"paymentfee\\\":0,\\\"expireddate\\\":\\\"\\\",\\\"isprepaid\\\":false,\\\"zlppaymentid\\\":\\\"\\\",\\\"exinfo\\\":\\\"{\\\\\\\"data\\\\\\\":\\\\\\\";PE09000160892;201210:7383:TD;\\\\\\\",\\\\\\\"customername\\\\\\\":\\\\\\\"PHAN THANH TAM\\\\\\\",\\\\\\\"routecode\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"customercode\\\\\\\":\\\\\\\"PE09000160892\\\\\\\",\\\\\\\"billid\\\\\\\":\\\\\\\"201210\\\\\\\",\\\\\\\"merchanttype\\\\\\\":28,\\\\\\\"supplierid\\\\\\\":4,\\\\\\\"source\\\\\\\":\\\\\\\"\\\\\\\"}\\\",\\\"pkg\\\":\\\"Nợ kỳ 11/2020\\\"},{\\\"appid\\\":372,\\\"customercode\\\":\\\"PE09000160892\\\",\\\"supplierid\\\":4,\\\"month\\\":202012,\\\"monthstr\\\":\\\"12/2020\\\",\\\"cycletype\\\":1,\\\"cyclevalue\\\":\\\"202012\\\",\\\"billid\\\":\\\"210110\\\",\\\"amount\\\":31379,\\\"billtype\\\":1,\\\"querydate\\\":20201230,\\\"querytime\\\":1609302341536,\\\"providercode\\\":\\\"EVNGATEWAY\\\",\\\"customername\\\":\\\"PHAN THANH TAM\\\",\\\"customeraddress\\\":\\\"TINH LO 9, AP 1, XA BINH MY, HUYEN CU CHI\\\",\\\"serviceid\\\":\\\"DIEN\\\",\\\"suppliercode\\\":\\\"EVNHOCHIMINH\\\",\\\"paymentrange\\\":\\\"\\\",\\\"paymentfee\\\":0,\\\"expireddate\\\":\\\"\\\",\\\"isprepaid\\\":false,\\\"zlppaymentid\\\":\\\"\\\",\\\"exinfo\\\":\\\"{\\\\\\\"data\\\\\\\":\\\\\\\";PE09000160892;210110:31379:TD;\\\\\\\",\\\\\\\"customername\\\\\\\":\\\\\\\"PHAN THANH TAM\\\\\\\",\\\\\\\"routecode\\\\\\\":\\\\\\\"\\\\\\\",\\\\\\\"customercode\\\\\\\":\\\\\\\"PE09000160892\\\\\\\",\\\\\\\"billid\\\\\\\":\\\\\\\"210110\\\\\\\",\\\\\\\"merchanttype\\\\\\\":28,\\\\\\\"supplierid\\\\\\\":4,\\\\\\\"source\\\\\\\":\\\\\\\"\\\\\\\"}\\\",\\\"pkg\\\":\\\"Nợ kỳ 12/2020\\\"}]}\"}","send notify_client msg":"{\"userid\":\"180605000010002\",\"title\":\"Hóa đơn PE09000160892, số tiền 31.379đ giao dịch thành công\",\"message\":\"Hóa đơn PE09000160892, số tiền 31.379đ giao dịch thành công\",\"notificationtype\":139,\"appid\":17,\"area\":11,\"timestamp\":1609304411684,\"embeddata\":{\"zptransid\":\"201230000048090\",\"apptransid\":\"2012300118007\",\"view\":\"history\",\"boldtitle\":\"Thanh toán tự động\"},\"shoulddropdown\":true}","send notify_client resp: ":"{\"errorcode\":52,\"msg\":\"SUCCESS\",\"msgid\":6749911930493730816}","time":"2020-12-30T12:00:13+07:00","title":"Hóa đơn PE09000160892, số tiền 31.379đ giao dịch thành công","user agreement from DB":"{\"token\":\"f481493a721a7a101d19a9efa83a6437\",\"zalopayId\":\"180605000010002\",\"mcIdentifier\":\"180605000010002\",\"bindingType\":\"WALLET\",\"maxAmount\":\"0\",\"dueDate\":\"0001-01-01T00:00:00Z\",\"data\":\"{\\\"customer_code\\\":\\\"PE09000160892\\\",\\\"supplier_id\\\":\\\"4\\\",\\\"payment_method\\\":\\\"WALLET\\\",\\\"bill_name\\\":\\\"PHAN THANH TAM\\\",\\\"bill_address\\\":\\\"TINH LO 9, AP 1, XA BINH MY, HUYEN CU CHI\\\",\\\"term\\\":\\\"Default term\\\",\\\"due_date\\\":0,\\\"max_amount\\\":0,\\\"opts\\\":\\\"{\\\\\\\"app_logo_url\\\\\\\":\\\\\\\"https://stccps.zpapps.vn/input/logo/dl_HCM@3x.png\\\\\\\",\\\\\\\"app_name\\\\\\\":\\\\\\\"EVN Hồ Chí Minh\\\\\\\"}\\\"}\",\"createdTime\":\"2020-12-30T11:26:59+07:00\",\"updatedTime\":\"2020-12-30T11:26:59+07:00\",\"orderId\":\"2012300118005\",\"zpTransId\":\"\",\"appId\":17,\"orderTime\":1609302407500,\"status\":1,\"step\":\"\",\"stepResult\":\"\",\"exception\":\"\",\"bindingId\":\"20123000000422\",\"customerCode\":\"PE09000160892\",\"supplierId\":\"4\",\"lastPaidTime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment