markdown Magento 2 - 结账

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Magento 2 - 结账相关的知识,希望对你有一定的参考价值。

# Checkout note

> `Magento\Checkout\Model\PaymentInformationManagement::savePaymentInformationAndPlaceOrder`

Endpoint for placing order, it performs:

1. validate the payment method
2. trigger payment method command 
    - authorize


# Payment Processing

`Magento\Payment\Gateway\Command\GatewayCommand::execute`

this method has 1 array parameter which contain:

- payment (Magento\Payment\Gateway\Data\PaymentDataObject)
    - order (Magento\Payment\Gateway\Data\Order\OrderAdapter)
    - payment (Magento\Sales\Model\Order\Payment)
- amount (int)

以上是关于markdown Magento 2 - 结账的主要内容,如果未能解决你的问题,请参考以下文章

magento中paypal express结账的ipn url是啥

php 从Magento的结账会议中获取最后的订单详细信息

PHP 从Magento的结账会议中获取最后的订单详细信息

贝宝快递结账 |错误的订单 ID:“x”

markdown Magento 2 Javascript笔记(感谢Alan Storm http://alanstorm.com/category/magento-2/)

markdown 目录促销在Magento 2