RentADriver
Obtener clave API
Esta página solo está disponible en inglés por ahora.La referencia de la API, los textos legales y las guías extensas se mantienen en inglés.
← Integrations
Store platforms
Beta app

WooCommerce

A shipping method plugin for WordPress stores.

The WooCommerce plugin adds a live-quoted same-day method, books on 'processing', and posts tracking and proof back to the order.

How it works

  1. Install the plugin, paste your API key
  2. Enable the 'Same-day local delivery' shipping method and set your radius
  3. Orders inside the radius get a live quote at checkout
  4. Booking, tracking and proof are handled on the order screen

What flows back

  • order note with tracking link
  • status change on delivered
  • proof photo attached

Until the plugin ships: WP hook → REST

add_action('woocommerce_payment_complete', function ($order_id) {
  $o = wc_get_order($order_id);
  wp_remote_post('https://api.rentadriver.ai/v1/deliveries', [
    'headers' => ['x-api-key' => RD_KEY, 'Content-Type' => 'application/json'],
    'body' => wp_json_encode([
      'pickup' => ['address' => get_option('woocommerce_store_address') . ', ' . get_option('woocommerce_store_city')],
      'dropoffs' => [['address' => $o->get_formatted_shipping_address(), 'contact_name' => $o->get_formatted_shipping_full_name(), 'contact_phone' => $o->get_billing_phone()]],
      'items' => [['description' => 'Order #' . $o->get_order_number(), 'size_class' => 'M', 'category' => 'retail']],
      'external_ref' => (string) $o->get_order_number(),
    ]),
  ]);
});

Timeline: Plugin Q4 2026.