Integrating WooCommerce with Traccar

With this guide, you will be able to integrate your WooCommerce Store with Traccar.

When a WooCommerce subscription sale is made, using php+curl an account is created on Traccar using Traccar API commands.

We need the following:

Requirements

  • WordPress Website
  • WooCommerce Plugin
  • WooCommerce Subscriptions Plugin
  • Traccar Server

The code

Github repository

Explanation of the files

device.jpg

index.php

style.css

traccarApi.php

wooTraccar.php

Installation

Leave a Reply