如何写消息ISO 8583

发布于 2025-02-01 02:35:33 字数 132 浏览 3 评论 0 原文

我打算制作一个门户,正在研究ISO 8583,我有疑问,如何将信用卡转换为ISO消息?类似:ISO8583消息中的卡号,到期日期和CVC,另一个问题,如果网关确实这样做,它是将卡转换为ISO消息还是以另一种方式将卡转换为ISO消息?它如何工作,谢谢!

I'm planning to make a gateway, I'm studying iso 8583 I'm in doubt, how to transform a credit card into an iso message? something like: card number, expiry date and cvc in an iso8583 message, another question and if a gateway really does this, does it transform a card into an iso message or does it do it another way? how does it work, thanks!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

淡笑忘祈一世凡恋 2025-02-08 02:35:33

我是Golang ISO 8583软件包的维护者,我创建了一个项目,该项目显示了如何构建付款网关。

是项目存储库: https://github.com/alovak/alovak/cardflow-playground-playground

这 具有提交卡详细信息的API,然后有一个代码将卡数据和商户数据转换为ISO 8583消息,并将其发送给(假)发行人。

这是指向该代码的链接:

  1. 简 从付款提供商或卡网络中获取此类规格,
  2. 您必须创建可以存储请求数据的结构(例如,授权请求aka 0100消息),以及
  3. 您应该通过将数据编码到
  4. 您的 消息中来构建消息的响应消息并接收响应。在上面提到的操场项目中,我使用此Golang软件包来管理网络连接,发送和接收消息:

I’m the maintainer of the Golang iso 8583 packages and I created a project that shows how to build payment gateway.

Here is the project repository: https://github.com/alovak/cardflow-playground

It has API where card details are submitted and then there is a code that converts the card data and merchant data into iso 8583 message and sends it to the (fake) issuer.

Here is the link to that code: https://github.com/alovak/cardflow-playground/blob/main/acquirer/iso8583/client.go#L56

In short,

  1. You have to define the specification (how iso 8583 message fields are encoded) - usually you get such spec from the payment provider or a card network
  2. You have to create the structures that will store data for the request (let’s say authorisation request aka 0100 message) and the response
  3. You should build message by marshalling the data into the message
  4. You should send the message and receive the response. In the playground project I mentioned above I use this Golang package to manage network connections, sending and receiving messages: https://github.com/moov-io/iso8583-connection
却一份温柔 2025-02-08 02:35:33

您可以使用JAVA中的JPO或C#中的TRX中的JPO来编程编写ISO消息。

you can use jpos in java or trx in c# to write the iso message programatically.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文