Installation and setup
Requirements
Section titled “Requirements”- CS-Cart, CS-Cart Ultimate, Multi-Vendor or Multi-Vendor Ultimate 4.17.2 or later.
- Administrator access to the store’s admin panel.
- An Uber Direct account with a dashboard: the Developer tab (Management section) shows the Customer ID, the Client ID and the Client Secret. The dashboard has a Test mode (a blue banner at the top) whose credentials create simulated deliveries; going live needs billing information and Uber’s approval for production deliveries.
- A cron job on your server (see step 7).
Install the add-on
Section titled “Install the add-on”- Download the
kv_uber_direct-<version>.zippackage from your Kavio Labs or CS-Cart Marketplace account. - In the admin panel, open Add-ons > Manage add-ons.
- Click the gear button and choose Manual installation, then upload the archive.
- Find Uber Direct Same-Day Delivery in the list and make sure its status is Active.
- Enter your license key under Settings > License (Kavio Labs downloads) and click Check now.
Connect Uber Direct
Section titled “Connect Uber Direct”- Open Orders > Uber Direct (the add-on page) and the Connection tab.
- Choose Test mode. Enter the test Client ID, Client secret and Customer ID from the Developer tab of your Uber Direct dashboard in Test mode. Save and click Test connection: a green message means the credentials work.
- Leave API host empty. Uber’s guide sends test deliveries to
https://api.uber.com(test credentials answer"live_mode": false). If your test account needs another host, enter it there (https, belowuber.com). - In the Uber Direct dashboard open the Developer tab and add a webhook: choose the Delivery Status and Courier Update events and enter the Webhook URL shown on the Connection page. Copy the webhook’s Signing Key (webhook menu > Edit) into the Webhook signing key field of the same mode and save. Without it, status changes are found by the scheduled check instead.
- Switch to Live mode and enter the live credentials, Customer ID and signing key only after a successful test; test again.
- Open Orders > Uber Direct > Pickup address and enter where the courier collects the goods (street, floor or unit, city, state, ZIP, country, a contact name or business name and a phone number).
- Open Administration > Shipping & taxes > Shipping methods, add a method, choose the carrier Uber Direct and the service Uber Direct same-day delivery.
- Add the cron job from the settings page (Cron section), every minute is fine. Overlapping runs are prevented.
Multi-Vendor
Section titled “Multi-Vendor”By default the marketplace owner connects one account for all vendors (Marketplace owner mode on). Switch it off to let each vendor connect their own Uber Direct account in the vendor panel (Connection tab). Every vendor saves their own Pickup address; the courier collects at the vendor’s address.
Update
Section titled “Update”- Upload the new package the same way. Your settings, credentials and data are kept.
- The add-on adds missing tables and settings by itself on the first request after the update.
See CHANGELOG for what changed in each version.
Uninstall
Section titled “Uninstall”Open Add-ons > Manage add-ons, click the add-on’s gear button and choose Uninstall. This removes the add-on’s settings, language variables, shipping service and database tables, including the stored credentials.