Connecting a WooCommerce store

WooCommerce runs on your own hosting, so there is no app to install. You create a key inside your store and paste it here. It takes about two minutes.

What BirunX reads from your store

The key you create gives BirunX access to your own WooCommerce data through the interface WooCommerce provides for it. BirunX reads your orders and your products, and writes nothing to your store except the two order notifications described below.

We do not store your customers' names, addresses or payment details. Where an email or phone number is needed at all, it is stored as a one-way hash that cannot be turned back into the original.

No cost or purchase price is ever read from WooCommerce. Your product costs come only from what you enter or upload in BirunX, so a plugin in your store can never overwrite a figure you typed yourself.

Creating the key inside your store

Set the permissions to Read/Write, not Read. BirunX has to create two order notifications inside your store, and that is a write. A read-only key connects and then never hears about a single order.
  1. In your WordPress dashboard open WooCommerce, then Settings, then Advanced, then REST API.
  2. Press Add key.
  3. Fill the three fields: any description you like, yourself as the user, and Permissions set to Read/Write.
  4. Press Generate API key. WooCommerce then shows one line beginning ck_ and one beginning cs_.
  5. Copy both lines before you leave the page.
The WordPress dashboard with WooCommerce, then Settings, then the Advanced tab, then REST API keys, then the Add key link, each marked in order.
The REST API keys screen inside WordPress, and starting a new key — the numbers drawn on the picture are the click order within it, not the step numbers above.
The new-key form showing the Description field, the User field, and the Permissions dropdown set to Read/Write, with the Generate API key button below.
The new-key form — Permissions must read Read/Write before you generate.
The key details screen after generating, showing the consumer key beginning ck_ and the consumer secret beginning cs_, each with a Copy button.
The two lines to copy once the key is generated, each with its own Copy button.
WooCommerce shows the second line — the consumer secret, beginning cs_ — once, at the moment it is created, and never again. If you leave that page before copying it, delete the key and create another one. Nothing is lost by doing that.

Connecting in BirunX

  1. In BirunX choose WooCommerce and enter your store address.
  2. Paste the ck_ line into Consumer key and the cs_ line into Consumer secret.
  3. Press Connect store.
The BirunX Stores screen with the store address field, the Consumer key field, the Consumer secret field, and the Connect store button, each marked in order.
The connect screen in BirunX — the numbers drawn on the picture are the order you fill it in, not the step numbers above.

The store address is the one your customers use. It must start with https:// and stop at the domain — no page after it, no question mark, and no username inside it. For example https://example.com

BirunX tests the key against your store before saving anything. If your store refuses it, nothing is stored and you are told which of the causes below it was.

If the connection is refused

What you are toldWhat to do
This key can read your store but not write to itOpen the key again in REST API and change Permissions from Read to Read/Write. Nothing else needs changing.
Your store refused this key pairCopy both lines again — the secret is long and easy to cut short — or create a new key and use that.
That address answered, but not as a WooCommerce storeCheck it is the address your customers use, and that WooCommerce is installed and active on it.
Your store did not answerOpen the address in a browser to be sure the site is up, then try again.
We could not read that as a store addressIt has to start with https:// and end at the domain.
This store is already connected to another BirunX storeDisconnect it there first. One order must never be counted twice.
If the key works but your host refuses the two order notifications, the connection is still saved and a yellow banner says so. Your store's own security plugins are the usual cause, and your host can allow them.

Disconnecting

Disconnecting in BirunX deletes the key from our side. Two things stay inside your own store, and BirunX cannot remove either one once it no longer holds the key:

  • The BirunX key itself, under WooCommerce, Settings, Advanced, REST API. It is still valid in your store, so delete it there.
  • The two BirunX notifications, under the Webhooks tab on that same screen.

Write to us at support@birunx.com if any of this does not match what your screen shows.

Connecting a WooCommerce store · BirunX