VerifyReceipt
2014-10-29 19:17:44 6 举报
VerifyReceipt是一个用于验证电子收据有效性的工具。它通过比对收据上的信息,如交易金额、购买商品或服务、商家名称等,与支付平台或银行的交易记录进行核对,以确保收据的真实性和准确性。VerifyReceipt可以帮助用户避免虚假收据、重复报销等问题,提高财务管理的效率和准确性。此外,它还可以帮助商家确保收款的准确性,防止因收据问题导致的财务损失。总之,VerifyReceipt是一个实用的工具,旨在为用户提供便捷、高效的收据验证服务。
作者其他创作
大纲/内容
if the request is valid
Decode the XML format verifyReceipt Request into VerifyReceipt Object
get the Unused receipt by orderId and serialNuber and update the receipt
YES
generate the response message as XML and return the response
create voucherDto and Send-journalVourcherSendBiz.send(voucherDto)
ReceiptOldServiceImpl
updateReceiptStatusToUsed(..) 1.createStatusChange(); 2.findReceiptNewByReceiptId(receiptId) 3.insertReceiptVerifyRecord(..) 4.updateReceiptVerifyRecordSuccess
End
NO
send message-receiptVerifyNotifyDTO to update downstream system
if update to Used Successfully?
Set the message to \"Request invalid\"
receiptOldService.updateReceiptStatusToUsed(..)
Start Verify Receipt
Validate the receipt request
getThirdPartyConfig(thirdPartyId)
if the thirdPartyConfig is null?
Set the response messge--\"Fail...\"
0 条评论
下一页