Prestashop - Relay point import

Prestashop - Relay point import

Overview


Relay point ID are imported from Prestashop to select the relay point during the shipping label generation. 

Note : to import relay / pickup point from Prestashop, you need to install the Connect module for Prestashop

In Connect, you can see / edit the relay point in the order view :





Relay point import priority


To retrieve the relay point from Prestashop during order import, Connect makes several attempts, in this order. The first successfull attempt is used to get the relay point ID: 
  1. Check in "other" field in shipping address, value length must be below 15 characters
  2. If the BoostMyShop Connect module is installed on prestashop, it performs additionnals checks : 
    1. If boxtal module is installed on prestashop, retrieve relay point from table emc_points::point_ep
    2. If common service / Mondial relay module is installed, retrieve from table mr_selected::MR_Selected_Num
    3. If common service / Colissimo module is installed, retrieve from table colissimo_delivery_info::prid
    4. If Bepost module is installed, retrieve from table cart_bpost::service_point_id
    5. If Socolissimo module is installed, retrieve from table socolissimo_delivery_info::prid
    6. If Chronopost module is installed, retrieve from table chrono_cart_relais::id_pr
    7. If DPD module is installed, retrieve from table dpdfrance_shipping::relay_id
    8. If colissimo point relay by agencya, retrieve from table colissimo_pickup::id_point_pickup

How to debug ?

If you experience problems with imported relay points in Boostmyshop, you can manually run the url called by Boostmyshop to download relay points.

Url is : https://www.website.com/modules/boostmyshopagent/webservice/relayPoint.php?&api_key=APIKEY&order_id=ORDER_ID
In the url above, replace codes with the correct value : 
  1. Replace website.com by your website URL
  2. Replace APIKEY with the prestashop api key (visible in the prestashop integration in Boostmyshop)
  3. Replace ORDER_ID by the prestashop order ID (not the reference)
Here is an example of the response : 

{
  • order_id"68763",
  • relay_code"9568U",
  • errorfalse,
  • msg"",
  • source"chronopost"
}




    • Related Articles

    • Prestashop - Boostmyshop additional module

      Connect provides a prestashop Module to improve the communication between Pretashop and Connect. Main features :  Show stock details in the Prestashop product view Show fulfilment progress in the Pretashop order view Support relay codes for specific ...
    • This call to Prestashop Web Services failed and returned an HTTP status of 401. That means: Unauthorized

      Overview You encountered a problem when using the wizard to integrate your prestashop and you get the answer shown in the screenshot below. This article explains what the problem is and how to fix it because it is possible that the issue comes from ...
    • Order import settings

      For every integrations you can find a specific section to import orders depending of their order status : Menu > Integrations > Manage Integrations > Your integration > Configuration > Order import settings Example ;  Order states There are 2 ...
    • Mondial Relay

      This article explains how to configure and test your Mondial Relay account in Connect. 1. Configure your account Select menu "Settings" on the left and go in tab "Shipping". Then, scroll down until the "Mondial Relay" section :  Enter the following ...
    • Suppliers Import

      Suppliers import 1. How to access To access the supplier import screen, simply go into menu : Purchasing >> Suppliers There, you will find located at the bottom right corner an "Import" button, allowing you to access the Import screen. 2. Process ...