gpt4 book ai didi

magento - magento的事务区 "IS CLOSED"列的作用是什么?

转载 作者:行者123 更新时间:2023-12-04 02:15:08 24 4
gpt4 key购买 nike

我可以看到捕获已成功处理:
order info screen

但随后在“交易”屏幕上,“已关闭”列在捕获旁边说“不”。我想我只是不明白这个专栏的作用。有人可以帮我解释一下吗?
transaction screen

最佳答案

信用卡支付交易流程的一些背景知识有助于理解这一点。这些是交易生命周期的基本流程操作:

  • 授权
  • 捕获
  • 结算

  • 这些流操作被分解为可以针对支付网关调用的更具体的操作。以下是一些相关的基本内容:

    Authorize (AUTH_ONLY):

    Run the card for a given amount and obtain a unique authorization code. The amount will be put on hold and you are guaranteed these funds as long as you use the authorization code in a Capture transaction within 30 days. (How long before an authorization code expires varies by company. Check with your payment gateway)

    Customers don't see the authorization as a charge on their statement, but they will see their available funds decrease by the amount you ran the authorization for.

    If you don't use the authorization code in a follow-up Capture transaction, the authorization is "dropped", funds returned to the customer's balance and you can no longer use it.

    Capture (PRIOR_AUTH_CAPTURE):

    Use a previously obtained authorization code to complete the transaction.

    The amount captured can be lower than the originally obtained authorization amount (this is useful in cases like our example where you don't know the total order amount ahead of time).


    来源: http://www.softwareprojects.com/resources/conversion-traffic-to-cash/t-processing-payments-authorize-vs-capture-vs-settle-2030.html

    Settlement: This is the process merchants must complete ... to be paid for their transactions.

    The product or service must be delivered or performed before settlement can take place. In the case of mail order/telephone order, this specifically means the goods must be shipped before the settlement process is performed.


    来源: http://www.shift4.com/insight/glossary/
    在 Magento 中, is_closed标志表示交易已结算,不能对其执行其他操作。交易在结算前保持开放状态的原因是,您可以分批装运 cargo (多次进货),以及取消交易或退款。
    使用 Magento 的 Mage_Authorizenet_Model_Directpost例如, capture()操作使当前事务保持打开状态,而 void()_refund()操作关闭它。

    关于magento - magento的事务区 "IS CLOSED"列的作用是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24494648/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com