xcoreplatform / magento1-soapapi
此模块扩展了Magento1的SOAP API,并需要用于xCore的使用。
2.2.3
2023-03-13 13:03 UTC
- dev-master
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.5
- 2.1.4.1
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.0.1
- 2.0.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.4
- 1.4.3
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- 0.11.1
- 0.10.0
- 0.9.0
- 0.8.3
- 0.8.2
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.0
- 0.4.0
- 0.2.0
- 0.1.3
- 0.1.2
- 0.1.1
- dev-HenriNijborg-patch-1
- dev-add-user-agent
- dev-add-sales-order-item-base-price-incl-tax
- dev-fix-version
- dev-resolved-endpoint
- dev-sales-order-status
- dev-fix-2.0.0
- dev-merge-remove-custom-attributes
- dev-add_xcoreSalesOrderShipmentXcoreCreate_for_wsi
- dev-remove-custom-attributes
- dev-add-custom-attribute-options
- dev-1.7.1-fix-limits-on-calls
- dev-1.7.0-add-limits-to-new-calls
- dev-added-yourref-to-shipments
This package is auto-updated.
Last update: 2024-09-19 08:03:01 UTC
README
此模块扩展了Magento1的SOAP API,并需要用于xCore的使用。更多信息或支持请参阅 https://xcore.nl。
支付费用
要将支付费用(例如附加费)添加到销售订单API,您可以使用后端界面或添加观察者,按照以下步骤操作
后端界面
您可以通过后端界面添加简单的费用字段。导航到 系统 > 配置 > Dealer4Dealer xCore > 支付 > 支付方式费用
title
: 在提交的订单数据中给予费用的名称base amount
: 在安装的安装货币中用于金额的 "sales_flat_order" 表列amount
: 在商店货币中用于金额的 "sales_flat_order" 表列tax rate
: 应用到费用的产品类税率
观察者
- 监听 dealer4dealer_xcore_sales_order_payment_fee 事件。
- 在您的观察者中获取订单对象,使用 $observer->getOrder();
- 创建一个新的 dealer4dealer_xcore/payment_fee 对象
- 将支付对象添加到订单的 xcore_payment_fees 字段(数组)。
许可证
MIT许可证 (MIT)
版权所有 © xCore
特此授予任何获得本软件及其相关文档文件(“软件”)副本的任何人免费使用该软件的权利,不受任何限制,包括但不限于使用、复制、修改、合并、发布、分发、再许可和/或出售软件副本的权利,并允许向软件提供的人这样做,但受以下条件约束
上述版权声明和本许可声明应包含在软件的所有副本或主要部分中。
软件按“原样”提供,不提供任何明示或暗示的保证,包括但不限于适销性、适用于特定目的和无侵犯性的保证。在任何情况下,作者或版权所有者均不对任何索赔、损害或其他责任负责,无论是因合同、侵权或其他行为而产生的,无论与软件或其使用或其它方式有关。