1

Download the Plugin

You can download the latest plugin version from here

2

Upload plugin

Once you have downloaded the plugin you need to unzip the archive and put the plugin at the following location:

/wp-content/plugins/orderprotection
3

Get your OrderProtection credentials

Go to your OrderProtection Dashboard

You will then need to go to Settings -> API Keys and generate a new API key.

Make sure to copy the value of this API Key as you will not see it again.

4

Activate the plugin

In your Wordpress admin you can go to your plugins page. You should see the OrderProtection plugin if step 2 was completed successfully. At this point you can click on Activate to activate the OrderProtection plugin.

5

Add Webhook

Go back to your settings tab in your OrderProtection dashboard and click on the Webhooks tab.

Click on the Create Webhook button and add the following details:

Payload URL:

This is the URL for your store, but you will need to append 1 of the following. If your REST endpoints are available through your Wordpress configuration you can do

${YOUR_STORE_URL}/wp-json/order-protection/v1/claim-resolution

If they are not publicly available or you do not have your redirects setup you can do the following:

${YOUR_STORE_URL}/index.php?rest_route=/order-protection/v1/claim-resolution

Webhook Secret

You will need to create a secure secret to make sure that OrderProtection is the one sending the Claim Resolution payload. You can use any value but if you’d like to generate a unique and secure value you can use:

openssl rand -hex 24

Keep this webhook secret safe.

Events Click on Let me select individual events

Choose the following:

  • Claims -> Approved

You only need this one event for the OrderProtection Plugin to work correctly.

Click Create

It should look something like this:

6

Add OrderProtection credentials

In your WooCommerce settings you will now see an OrderProtection tab. In this tab you’ll need to enter your store URL. This should match what was given to you from the OrderProtection team.

You will also add in API Key that you generated in the previous steps.

You will also need to add in your Webhook Secret from the previous step.