If using the Magento2 Integration, you can set up integrated quoting so that you may pass through your discounted rates to your Magento2 Shopping Cart.
Magento 2 Setup
To begin, click the link below and download the zip file:
Unzip "Magento2WebshipIntegratedQuoting-0.0.2.zip".
Login to your server via FTP.
Copy the RSIS directory into your Magento 2 app/code directory.
Login to your server's command line interface and run php bin/magento setup:upgrade.
Log in to your Magento 2 admin area and select Stores> Configuration.
In the left-hand menu click Sales and select Shipping Methods.
Find and expand Webship Integrated Quoting. You will need to obtain the URL and API Key from your Magento 2 Integrated Quoting settings in XPS Ship in the next step.
Open a new browser tab and log in to your XPS Ship account.
Click the Settings tab.
Under eCommerce select eCommerce Integrations.
Click to open your Magento2 Integration details.
Scroll down to the Magento 2 Integrated Quoting section. Copy the Integrated Quoting URL and API Key.
Return to the Magento 2 Webship Integrated Quoting tab in Magento. Paste the URL and API Key into the corresponding blank fields.
Click Save Config.
Set Up Integrated Quoting in XPS
Click the Settings tab.
Under eCommerce select Integrated Quoting.
Click Add Integrated Quoting Option.
Add the Name of your Shipping Service. For example, upon checkout, your customers may have options such as “Standard Shipping”, or “Expedited Shipping” this would be the name you enter here.
Select the Service Type that you would select upon booking the shipment. For example, if a customer selects “Standard Shipping” at checkout and you process all Standard Shipping orders as FedEx Home Delivery, you would select that service type here.
Continue to add additional services as necessary by clicking Add Integrated Quoting Option until all services have been added accordingly.
Click Save Changes when the Service Name and Type has been entered.
Markup Option
The second piece of the integrated quoting is the markup option. If you choose to pass through your rates with no markup, or maximum quote amount, you do not need to enter anything for these fields. However, if you choose to add a flat rate, percentage markup, a negative flat rate, or percentage markup, or maximum quote amount to your cost, continue with the instructions below.
Quote Charge Markup
Choose whether you would like your rate to be a Flat Rate Markup or a Percentage Markup.
Enter the markup amount with no dollar or percent symbols. For example, if you wanted to markup your rate by 5% on top of your cost, you would choose Percent Markup from the drop-down menu and enter “5” in the box to the right and click Save when finished. When entering less than a whole dollar amount you will need to use a leading 0, i.e. 0.75.
Negative Quote Charge Markup
If you choose to do a negative quote charge markup so that the shipping cost is less than your cost you can do so. For example, if you wanted to reduce the rate at checkout by $5.00 less than your cost, you would choose Flat Rate Markup from the drop-down menu and enter “-5” in the box to the right, and click Save when finished. The negative amount only applies to what your customer pays at checkout, it does not limit how much you would pay for the shipment.
Package Weight Markup
If you choose to include a Package Weight Markup, this would add the package weight plus the item weight to equal the total weight for the package being quoted. You could use this if you wanted to markup weight to account for the box and filler material on top of your item weight listed. For example, if you wanted to markup your weight by 1 pound in addition to the total weight of the products in the order, enter “1” in the box to the right, choose lb from the drop-down menu and click Save when finished. When entering less than a pound you will need to use a leading 0, i.e. 0.25
Maximum Quote Amount (Domestic Only)
If you choose to include a Maximum Quote Amount, this would limit your customers paying over the amount you set for shipping. The limit only applies to what your customer pays at checkout, it does not limit how much you would pay for the shipment. Enter the amount with no dollar or percent symbols and click Save when finished.