Uber Direct Integration for WooCommerce Documentation





WooCommerce Uber Integration Documentation




Overview

WooCommerce Uber Integration is a delivery management plugin that integrates with Uber Direct to streamline order fulfillment. It automatically generates delivery quotes and creates deliveries when customers choose Uber Direct during checkout. Furthermore, it provides real-time updates so that your customers can track their shipments, and it improves operational efficiency by automating delivery processes. In short, our plugin boosts your woocommerce uber integration capabilities while enhancing the customer experience.

Requirements

To use WooCommerce Uber Integration, you must obtain the following credentials from Uber:

  1. Customer ID
  2. Client ID
  3. Client Secret

For more details, please visit the Uber Developer Documentation.

Installation & Configuration

Step 1: Install the Plugin

  1. Open the WooCommerce > Settings > Integrations > Uber Direct tab.
  2. Enter your Uber credentials: Customer ID, Client ID, and Client Secret.
  3. Provide your store phone number (required).
  4. Click Save Changes.

You should now see a confirmation notice in the Uber Direct settings tab.

Step 2: Set Up a Webhook

  1. Log into your Uber account.
  2. Go to the Developer tab and create a webhook using your store URL.
  3. Append wp-json/uberdirect/v1/status to your store URL. For example: https://yourstore.com/wp-json/uberdirect/v1/status.
  4. Select all event types and click Save.

Step 3: Configure Your Store Address

  1. Go to WooCommerce > Settings > General.
  2. Enter your store’s address, city, state/country, and postcode/ZIP code.
  3. Click Save Settings.

Step 4: Disable ModSecurity

If you have cPanel access, disable ModSecurity for your site. This step is crucial because it allows the Uber API to update order statuses automatically (for example, changing Pending to Completed). If you do not have direct access, contact your hosting provider.

Adding Uber Direct as a Shipping Method

  1. Open WooCommerce > Shipping Zones in your dashboard.
  2. Follow the instructions in the WooCommerce Shipping Documentation to add Uber Direct as a shipping method.
  3. Click Save Changes.

Set Your Phone Number Field as Mandatory

  1. Access the Theme Customizer:

    • Go to Appearance > Themes in your WordPress admin.
    • Click Customize under the active theme.
  2. Select the Checkout Template:

    • In the Customizer, select Template.
    • Choose WooCommerce > Page: Checkout.
  3. Edit Shipping Address Fields:

    • Click Shipping address fields in the template editor.
  4. Set the Phone Number as Required:

    • Locate the Phone number field and mark it as Required.
  5. Publish:

    • Click Publish to save your changes.

Testing in Development Mode

  1. Obtain Testing Credentials from the Uber Developers tab in your Uber account.
  2. Add a product to your cart and proceed to the checkout page.
  3. Fill in your Shipping/Billing address and mobile number.
  4. Uber calculates the delivery rate from your store address to the customer’s address. It displays the rate as shown below:

If you do not see any rates, then:

  • Check the debug log in WooCommerce > Status > Logs (search for woober-api).
  • Ensure all required parameters, like the phone number, are correct.

Once you see the rates in checkout, the API works correctly, and you can place your order. The Uber details then appear on the order edit screen as shown:

Tracking & Notifications

  1. After order placement, Uber details appear on the Edit Order screen.
  2. Customers receive a WhatsApp notification with a tracking link for real-time updates.
  3. When delivery completes successfully, the order status automatically updates to Completed (provided ModSecurity is disabled).

Moreover, when the order is delivered, it updates to “Completed” automatically if ModSecurity remains disabled.

Switching to Production Mode

Once testing is complete, update your credentials to Production Credentials so that real-time delivery is enabled for your customers.

Questions and Support

If you have any questions or require further assistance with woocommerce uber integration, please Contact our Support.