xcoreplatform / magento1-soapapi
This module extends the soap api of Magento1 and is needed for the usage of the xCore.
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 6
Forks: 4
Open Issues: 0
Type:magento-module
- 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-10-19 08:13:47 UTC
README
This module extends the soap api of Magento1 and is needed for the usage of the xCore. For more information or support see https://xcore.nl.
Payment fees
To add payment fees (for example surcharges) to the sales order api either use the backend interface or add an observer follow the steps below:
Backend Interface
You can add simple fee fields via the backend interface.
Navigate to System > Configuration > Dealer4Dealer xCore > Payment > Payment Method Fees
title
: The name given to the fee in the order data submittedbase amount
: The "sales_flat_order" table column to use for amounts in the installations base currencyamount
: The "sales_flat_order" table column to use for amounts in the shops currencytax rate
: The product class tax rate applied to the fee
Observer
- Listen for the event dealer4dealer_xcore_sales_order_payment_fee.
- Fetch the order object in your observer with $observer->getOrder();
- Create a new dealer4dealer_xcore/payment_fee object
- Add te payment object to the xcore_payment_fees field (array) on the order.
License
The MIT License (MIT)
Copyright (c) xCore
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.