provedbuy

WooCommerce

Collect verified customer reviews on a WooCommerce store

A WooCommerce extension can be downloaded from your merchant space. It sends your completed orders and places the stars, the reviews and the badge. Without it, the badge goes in with an HTML block and your orders come in through a file or a few lines of PHP.

A merchant's website
This site uses ProvedBuy4.6128 reviews, all proven by a purchaseEvery review matches a purchase verified by ProvedBuy. The merchant cannot delete or hide any of them.
Example with a fictional merchant.
01

Install the WooCommerce extension

The extension is free. It sends each completed order to ProvedBuy, which invites the customer to leave a review, and it shows the reviews on your store.

  1. In your ProvedBuy account, on the Settings page, download the WooCommerce extension and create an extension key.
  2. In WordPress, open Plugins, Add New, then upload the file and activate the extension.
  3. Open WooCommerce then ProvedBuy, paste the key, save and click Test the connection.
  4. Tick what you want to show: the stars under the product title, the Verified reviews tab on product pages, the badge at the bottom of the page. Nothing appears on your store until you tick a box.
02

Add the badge without the extension

The badge code is in your ProvedBuy account, on the "Badge and widgets" page. It holds the badge and a link to your reviews page.

  1. In WordPress, open Appearance then Editor (or Widgets if your theme does not use the site editor).
  2. Add a "Custom HTML" block to the footer.
  3. Paste the code and save.
  4. To show it on product pages too, add the same block to the "Single Product" template, under the add to cart button.

Code HTML

<iframe src="https://provedbuy.com/encart/your-store.com?lang=en" title="Reviews verified by ProvedBuy" loading="lazy" style="border:0;width:100%;max-width:324px;height:168px"></iframe>
<p style="margin:6px 0 0;font:13px/1.4 system-ui,sans-serif"><a href="https://provedbuy.com/en/reviews/your-store.com" target="_blank" rel="noopener">Reviews verified by ProvedBuy</a></p>
ProvedBuy badge on a store: rating out of 5, number of reviews and the proven reviews label
The badge as it appears on a store. Example with a fictional merchant.
03

Send your orders without touching code

Export your orders as CSV with the export tool you already use, then keep three columns only: customer name, email address and order number. Import that file on the "Invitations" page of your account. One import takes up to 500 rows.

An order already imported is recognised by its number. You can re-import the whole month every week without inviting anyone twice.

04

Send every order through the API

The extension is enough in most cases. If you prefer your own code, the Pro plan opens the API: your store passes the order on as soon as payment is confirmed. Add this code to the functions.php file of your child theme or to a small plugin of your own, and define your key in wp-config.php as PROVEDBUY_API_KEY.

Before going live, add 'test' => true to the array you send. Nothing reaches the customer and you receive a preview of the invitation.

Code WooCommerce

add_action('woocommerce_payment_complete', function ($order_id) {
    $order = wc_get_order($order_id);
    wp_remote_post('https://provedbuy.com/api/v1/integration/invitations', [
        'timeout' => 10,
        'headers' => [
            'X-Api-Key' => PROVEDBUY_API_KEY,
            'Content-Type' => 'application/json',
        ],
        'body' => wp_json_encode([
            'items' => [[
                'customerName' => $order->get_billing_first_name() . ' ' . $order->get_billing_last_name(),
                'customerEmail' => $order->get_billing_email(),
                'orderReference' => $order->get_order_number(),
            ]],
        ]),
    ]);
});
05

When the customer gets the invitation

Seven days after the order by default. You can set the delay from 0 to 30 days in your settings. Base it on your delivery times: the customer should have received the parcel and tried the product before being asked.

Invitation email sent to the customer after an order, with the review button
The invitation the customer receives. Example with a fictional merchant.

Frequently asked questions

Is there a ProvedBuy plugin for WooCommerce?
Yes. It is free and can be downloaded from the Settings page of your ProvedBuy account. It sends your completed orders and shows the stars, the reviews and the badge.
Are reviews about my products or about my store?
Both. The customer rates the order, which makes your store rating, and can review each product bought. The stars and the tab on the product page show the reviews of that product.
Does the badge slow my site down?
It loads in a separate frame, and only as it nears the screen. It does not hold up the rest of your page.
Can I choose which customers are invited?
No. The rules ask you to invite all your customers, happy or not. That is what gives your rating its value.

Try it on your store

Signing up takes two minutes. Invitations are free and unlimited.

Read next