开发者

Transactions in the Magento order system

I just read this topic about the Magento payment flow. It handles about the role of Payment Methods and invoices in Magento. I am curious now though what the exact role of Transact开发者_运维问答ions are within Magento. There does not seem to exist a tutorial or information about this on the internet I can find.

As far as I understand it, they can be open or closed and can have children (also transactions). I assume open transactions are not completed/paid yet and closed transactions are? Also my company bought a payment extension which does not make use of transactions. Is this acceptable or this is a missing functionality of the extension?

Questions I have:

  1. What is the general role of transactions in Magento?
  2. Why would you not want to use transactions for your payment method?
  3. What is the concept of transactions with children?
  4. Can transactions be used to manage multiple subpayments to an order with possibly different payment methods?

Thanks in advance.


Transaction are meant for reoccurring billing profiles and they don't have a general role in your flow and are only important if you need to implement partial payments or reoccurring payments

  1. they don't have a general role in your flow and are only important if you need to implement partial payments or reoccurring payments
  2. you don't need them if you have only one payment to capture
  3. you can define the payments more flexibly
  4. its up to implementation. Nothing really is defined here and you can choose freely how to use this. I doubt that you can use multiple payment methods within one order and this would need your own payment "proxy" extension that would control that
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜