How to perform Google Shopping Actions integration test on my shop?
Our connection interface between your PrestaShop and the Google Shopping Actions service allows you to perform tests to verify the proper functioning of the interactions between the Google API and your back office.
You can do the tests before or after publishing your products ("your storefront") on Google Shopping Actions. However, we advise you to do them before, in order to be sure of the functioning before you start receiving orders.
First of all, click on the "Go to dashboard" button in the "Google Shopping Actions" tab of the module:
Log in with the credentials used when creating your account (see this FAQ), if you're not already logged in.
Click on the "Set up" tab in the left menu:
The first step is to create on your shop the two "test products" defined by Google for the integration tests. Indeed, the tests can only be carried out on the basis of these two products made available by Google.
Of course these products will not be enabled so that they do not appear on your site. Do not modify them. You will be able to delete them at the end of the tests.
These products are:
- a "Google Chromecast" with reference: H2G2-42 and GTIN code: 0811571013579
- a "Nexus 9" with reference: 99HZF001-00 and GTIN code: 082179304268
Click on the "Create test products" button:
If the creation is successfull, a table is displayed summarizing the most important information about these test products. Click on "Close" :
Go to the back office of your shop to check the presence of these test products in your catalog:
Return to the test interface and click on "Next step".
The second step is to ask Google, via its API, to simulate a test order of these products and to check that this order is well synchronized on your shop.
The order is placed by a "test" customer (Pam Beesly) and contains 2 "Google Chromecast" and 1 "Nexus 9".
Click on the "Create test order" button:
If the operation is successful, a table is displayed summarizing the details of the test order. Click on "Close":
Go to your back office to check that it has been well detected and synchronized on your shop. It should have the "Google order pending shipment" status:
If it's ok, return to the test interface and click on "Next step". We're now going to verify the synchronization of status changes.
In the back office of your shop, change the order test status to "shipped":
Note: for tests it is not necessary to indicate a tracking number. However, when processing real Google orders, it is strongly recommended that you provide a tracking number so that your customers can track their packages.
Return to the test interface and click on the "Set order as shipped" button to send the status change information to Google:
If the test is successful you will see a table with the summary of the order shipped. If you have indicated a tracking number you will see it in the column "Tracking number". In the example, as this is a test order we have not indicated one. Click on "Close".
Click on "Next step".
In the back office of your shop, change the order test status to "delivered":
Return to the test interface and click on the "Set order as delivered" button to send the status change information to Google:
If the test is successful you will see a summary table:
Click on "Close" and then on "Close the test".
The tests are now complete. If you haven't yet published your storefront on Google Shopping Actions, do it through your online Google Merchant Center account. Google orders will automatically arrive on your shop. You'll just need to manage them in the same way you do other orders on your site. Order status changes are automatically synchronized with Google.