简体   繁体   English

生成信用卡交易授权码的准则

[英]Guidelines to generate Authorization Code for Credit Card transactions

I'm working on a module that will receive the messages in a custom format with all the information required to process the request (Purchase, Cash Disbursement, Balance Inquiry), so in order to compose the response, i have to generate the authorization code (Field 38 - ISO8583), only if the transaction was processed sucessfully. 我正在开发一个模块,该模块将以自定义格式接收消息,其中包含处理请求所需的所有信息(购买,现金支付,余额查询),因此为了撰写响应,我必须生成授权码(字段38-ISO8583),仅在成功处理了交易之后。

As i know, it doesn't have to be unique, but i don't know if any other values from the transaction must be used to generate it. 据我所知,它不必是唯一的,但我不知道是否必须使用交易中的任何其他值来生成它。

Any advice will be appreciated. 任何建议将被认真考虑。

I've only ever seen the provider generate the code, its then passed through the middleman (you in this case) and on to the consumer. 我只见过提供者生成代码,然后将其通过中间人(在本例中为您)传递给消费者。

I don't think this would be bad practice. 我认为这不是坏习惯。 It would be one number that you could use to identify the whole series of transactions. 您可以使用一个数字来识别整个交易系列。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM