3. UPS Access Points for Magento 2
Prerequisites
- PHP Version Requirement: PHP 7.3 or higher
- Magento Version Requirement: Version 2.3.4, 2.3.7 or newer (Tested up to version 2.4.6p3, 2.4.6p4, 2.4.7)
- Magento 2 Core Plugin Installed
- firebase/php-jwt
- swaggerlib/iws-isa=dev-main
Installation Process:
- Open a Browser Tab and Register or Login to https://ups.dashboardlink.com
- Open another Tab in the same Browser and login to your Magento 2 Admin Backend
Manual Installation:
- Download the ZIP file of the UPS Access Point addon.
- Extract the contents into your Magento root directory under “app/code”.
- Follow the folder structure like : app/code/UPS/AP , If extract folder name UPS_AP then rename based on below structure.
- Install Core module : composer require ups/dashboard
- Install the “firebase/php-jwt” dependency by following the link: https://github.com/firebase/php-jwt
- Run the command:
composer require firebase/php-jwt
- Run the command:
composer require swaggerlib/iws-isa=dev-main
Execute Commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
Settings:
- Configuring UPS Access Points
- Navigate to: Admin> Store> Configuration> Magento UPS> Start Here> Choose the appropriate store view from the store scope.
Setting Proper Store Address:
- Go to: Admin> System> Settings> Configuration> General> Store Information.
- Ensure the store address is accurately set up.
Checkout Page – Shipping Methods:
Which shipping methods for UPS Access Points to be displayed is configurable in your eCommerce Shipping Dashboard on https://ups.dashboardlink.com . Navigate to Stores and click on “Configure” for the UPS Access Points connection. Here you can take certain configurations and enable also the Services you’d like to offer in your Checkout
Choose Locations in the checkout
By default the closes location to the entered customer shipping address is displayed when a UPS Access Point option is chose. The buyer has to confirm this location. If they want to chose another location, they have to click on the “Choose Location” button.
Clicking on the “Choose Location” button will redirect the customer to a UPS Access Point page. On this page the customer can select another UPS Access Points location. As soon as this has been chosen, the system redirects the customer to the Checkout and replaces the address.
Uninstallation Process
Manual Process:
- Navigate to the Magento root directory.
- Delete the “UPS/AP” directory manually from the “app/code” directory.
Command Line:
- Open your terminal or command prompt.
- Execute the following command:
bin/magento module:disable UPS_AP
- Execute the following command for Uninstall module:
bin/magento module:uninstall UPS_AP
- Then, execute the following commands:
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
Reconnection Process
In case of disconnection or reconnection, follow the Installation Process steps again.
Functionality of Activating/Deactivating the Plugin
- Deactivate Connection
- Navigate to: Admin > Store > Configuration > Magento UPS > Start Here.
- Click on “Deactivate Connection” to deactivate the plugin.
- Activate
- To activate the plugin, follow the Installation Process steps again.
Was this article helpful?
Have more questions? Submit a request