This article discusses how to troubleshoot the Checkout Beacon. To learn more about implementing the Checkout Beacon, click here.
This article contains the following sections:
Is the Checkout Beacon Working?
You can verify if the Checkout Beacon is working by following these steps:
1. Navigate to your website.
2. Add an item(s) to your cart.
3. Navigate to the checkout.
4. Go through your checkout process, but do not complete the submission of the order.
5. Right click on the page and open Developer Tools in your browser.
6. Submit your order.
7. Navigate to the Network panel of Developer Tools after the page finishes loading.
8. Filter or search for v1.gif?e=c in the Network panel.
9. Click v1.gif?e=c.
10. Navigate to the Query String Parameters under the Headers panel for v1.gif?e=c.
11. Verify that all Query String Parameters contain the right information. For more information about what parameters to look for, see Query String Parameters below.
Query String Parameters
Using the above screenshot example, you should verify the following query string parameters:
- mgid - Merchant Group Id
- mid - Merchant Id
- l - Locale
- muid - Merchant User Id
- ue - User Email
- uf - User First Name
- ul - User Last Name
- oid - Order ID
- os - Order Subtotal
- oi - Order Items
An oi (order item) entry would appear similar to this: page_id, page_id_variant, product_name, quantity, unit_price
An entry with multiple products would look the same, with the exception that a semicolon separates each line. It would appear similar to this: page_id, page_id_variant, product_name, quantity, unit_price;page_id, page_id_variant, product_name, quantity, unit_price
If any of these parameters are incorrect, update the Checkout Beacon code to include the right information. If this doesn't correct the issue, contact your Implementation Team or PowerReviews Technical Support.
- PowerReviews checkout() error - marketingOptIn value provided is not valid
- This means the value provided for marketingOptIn wasn't a boolean. Update this value to a boolean.
- PowerReviews checkout() error - [fields] provided is not valid
- This message appears if any of the following fields weren't provided: merchantGroupId, merchantId, locale, userEmail, userFirstName, userLastName, orderId. Ensure you provide the aforementioned fields.
- PowerReviews checkout() error - Order Item #[x] has invalid fields - [fields] || Order Item #[y] has invalid fields - [fields]
- This error message appears when the following required fields aren't present in the orderItem objects: page_id, quantity, unit_price. This error also occurs if quantity or unit price are not a number. Update the required fields and quantity or unit price, if necessary.
Checkout Beacon Upload History
PowerReviews processes orders submitted through the Checkout Beacon in batches every 15 minutes. These batches can be viewed in the PowerReviews Portal.
1. Log into the PowerReviews Portal.
2. Ensure that your correct Merchant Group is selected from the upper right dropdown.
3. Click +Setup in the left-hand navigation menu.
4. Click Order Feed Manager on the Products page.
5. Click on the Checkout Beacon tab.
6. If you have multiple submerchants, you may be required to choose the one you want to view from the upper left dropdown.
7. The page will display a tab that contains all the Checkout Beacon batches PowerReviews has processed, along with the following information:
- Date Uploaded - The date when the batch was processed
- File Name - The original batch name and ability to download
- Total Items - The total number of orders in the batch
- New Items - New orders found
- Items Failed - Orders that failed
- Duplicate Items - Orders that already existed in our system
- Status - Overall status of the order batch that was processed
The strings for product names must have URL encoded characters. Use this guide as a reference for how to properly encode characters in UTF-8.