[Skip to main content](#vessel-content)

#   DPD pickup project (for France relays)

##

- **[skorweb](/forum/user/35005-skorweb "View skorweb's Profile")**
- [![skorweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35005-skorweb "View skorweb's Profile") Topic Author
- [ Offline](/forum/user/35005-skorweb)

Less More

- Posts: 12
- Thank you received: 0
-
-

9 years 5 months ago [\#271345](#271345) by [skorweb](/forum/user/35005-skorweb "View skorweb's Profile")  *[DPD pickup project (for France relays)](/forum/28-shipping-methods/890599-dpd-pickup-project-for-france-relays#271345 "-- HikaShop version -- : 2.6.5 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : firefox 53.0.2 -- Error-message(debug-mod must be tuned on) -- : The order&#95;address&#95;id isn't overrided  Hello Hikashop team,  I' m developping a DPD's pickup plugin based on the custom fields model like modialrelay developped their own.  In my case, at the end of the checkout I test if the address id exists or not. If this address exists in the address table I set the user address&#95;shipping&#95; id with the existant id of my DPD's pickup like this : $app-&gt;setUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id', $this-&gt;addressExist($user&#95;id, $address&#95;type)); if not I insert a new address and set this new &quot;address&#95;shipping&#95;id&quot;. That part of code works well. But when I finish the order, this is not this &quot;address&#95;id&quot; which appear in the order table. My plug in have to override this &quot;address&#95;shipping&#95;id&quot; by the pickup address&#95;id selectedby the user at the checkout.  I need to know which datas with, the insertion is done in hikashop order table.  Is this send by a form with POST ot GET method to the next step ? How this value is stored while the checkout isn't finalized ? How could I be able to modifiy this ?  My plugin should be deal this address before the finalization of the order, and not override the shippment&#95;address&#95;id using any trigger afterOrder ...  What I imagine to do is : send the value of the address&#95;shipping&#95;id from method getUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id') to the current order. But I don't know how to do, even if it's possible or not.")* was created by *[skorweb](/forum/user/35005-skorweb "View skorweb's Profile")*

-- HikaShop version -- : 2.6.5
-- Joomla version -- : 3.7.2
-- PHP version -- : 7.0
-- Browser(s) name and version -- : firefox 53.0.2
-- Error-message(debug-mod must be tuned on) -- : The order_address_id isn't overrided

Hello Hikashop team,

I' m developping a DPD's pickup plugin based on the custom fields model like modialrelay developped their own.

In my case, at the end of the checkout I test if the address id exists or not.
If this address exists in the address table I set the user address_shipping_ id with the existant id of my DPD's pickup like this :
$app-&gt;setUserState(HIKASHOP_COMPONENT.'.shipping_id', $this-&gt;addressExist($user_id, $address_type));
if not I insert a new address and set this new "address_shipping_id".
That part of code works well. But when I finish the order, this is not this "address_id" which appear in the order table. My plug in have to override this "address_shipping_id" by the pickup address_id selectedby the user at the checkout.

I need to know which datas with, the insertion is done in hikashop order table.

Is this send by a form with POST ot GET method to the next step ?
How this value is stored while the checkout isn't finalized ?
How could I be able to modifiy this ?

My plugin should be deal this address before the finalization of the order, and not override the shippment_address_id using any trigger afterOrder ...

What I imagine to do is : send the value of the address_shipping_id from method getUserState(HIKASHOP_COMPONENT.'.shipping_id') to the current order. But I don't know how to do, even if it's possible or not.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODkwNTk5LWRwZC1waWNrdXAtcHJvamVjdC1mb3ItZnJhbmNlLXJlbGF5cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

9 years 5 months ago [\#271372](#271372) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[DPD pickup project (for France relays)](/forum/28-shipping-methods/890599-dpd-pickup-project-for-france-relays#271372 "-- HikaShop version -- : 2.6.5 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : firefox 53.0.2 -- Error-message(debug-mod must be tuned on) -- : The order&#95;address&#95;id isn't overrided  Hello Hikashop team,  I' m developping a DPD's pickup plugin based on the custom fields model like modialrelay developped their own.  In my case, at the end of the checkout I test if the address id exists or not. If this address exists in the address table I set the user address&#95;shipping&#95; id with the existant id of my DPD's pickup like this : $app-&gt;setUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id', $this-&gt;addressExist($user&#95;id, $address&#95;type)); if not I insert a new address and set this new &quot;address&#95;shipping&#95;id&quot;. That part of code works well. But when I finish the order, this is not this &quot;address&#95;id&quot; which appear in the order table. My plug in have to override this &quot;address&#95;shipping&#95;id&quot; by the pickup address&#95;id selectedby the user at the checkout.  I need to know which datas with, the insertion is done in hikashop order table.  Is this send by a form with POST ot GET method to the next step ? How this value is stored while the checkout isn't finalized ? How could I be able to modifiy this ?  My plugin should be deal this address before the finalization of the order, and not override the shippment&#95;address&#95;id using any trigger afterOrder ...  What I imagine to do is : send the value of the address&#95;shipping&#95;id from method getUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id') to the current order. But I don't know how to do, even if it's possible or not.")*

Hi,

I don't understand what you're doing.
The line:
$app-&gt;setUserState(HIKASHOP_COMPONENT.'.shipping_id', $this-&gt;addressExist($user_id, $address_type));
will set the value of $this-&gt;addressExist($user_id, $address_type) as id of the selected shipping method, and not as id of the selected shipping address.
So if you want to set the selected shipping address, you should replace the "shipping_id" in that code by "shipping_address".
In fact, you already use "shipping_address" to get the shipping address in the onAfterCheckoutStep function in your code, so I don't know if you made a mistake in your code or in what you wrote here.

In HikaShop 2.6.x the checkout takes the data of the cart/checkout and save it in an order in the function "after_confirm" of the file components/com_hikashop/controllers/checkout.php
In your plugin, you can actually use the trigger onBeforeOrderCreate to have access to the $order object just before it is being saved in the database and thus you can change the order_shipping_address_id if you want on the fly at that point.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODkwNTk5LWRwZC1waWNrdXAtcHJvamVjdC1mb3ItZnJhbmNlLXJlbGF5cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[skorweb](/forum/user/35005-skorweb "View skorweb's Profile")**
- [![skorweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35005-skorweb "View skorweb's Profile") Topic Author
- [ Offline](/forum/user/35005-skorweb)

Less More

- Posts: 12
- Thank you received: 0
-
-

9 years 5 months ago [\#271494](#271494) by [skorweb](/forum/user/35005-skorweb "View skorweb's Profile")  Replied by *[skorweb](/forum/user/35005-skorweb "View skorweb's Profile")* on topic *[DPD pickup project (for France relays)](/forum/28-shipping-methods/890599-dpd-pickup-project-for-france-relays#271494 "-- HikaShop version -- : 2.6.5 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : firefox 53.0.2 -- Error-message(debug-mod must be tuned on) -- : The order&#95;address&#95;id isn't overrided  Hello Hikashop team,  I' m developping a DPD's pickup plugin based on the custom fields model like modialrelay developped their own.  In my case, at the end of the checkout I test if the address id exists or not. If this address exists in the address table I set the user address&#95;shipping&#95; id with the existant id of my DPD's pickup like this : $app-&gt;setUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id', $this-&gt;addressExist($user&#95;id, $address&#95;type)); if not I insert a new address and set this new &quot;address&#95;shipping&#95;id&quot;. That part of code works well. But when I finish the order, this is not this &quot;address&#95;id&quot; which appear in the order table. My plug in have to override this &quot;address&#95;shipping&#95;id&quot; by the pickup address&#95;id selectedby the user at the checkout.  I need to know which datas with, the insertion is done in hikashop order table.  Is this send by a form with POST ot GET method to the next step ? How this value is stored while the checkout isn't finalized ? How could I be able to modifiy this ?  My plugin should be deal this address before the finalization of the order, and not override the shippment&#95;address&#95;id using any trigger afterOrder ...  What I imagine to do is : send the value of the address&#95;shipping&#95;id from method getUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id') to the current order. But I don't know how to do, even if it's possible or not.")*

Hello,

Thank you for your reply. I wanted to know if it is possible to continue our exchange in private, possibly by telephone on the morning of next Monday (19/06/2017), at the time that suits you. In this case, I would give you our phone number by private message. Note that I would be more favorable to an exchange in French if that does not cause you any worries.

Excellent end of day,

Sebastian

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODkwNTk5LWRwZC1waWNrdXAtcHJvamVjdC1mb3ItZnJhbmNlLXJlbGF5cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4080
-
- [](http://obsi.dev)
-

9 years 5 months ago [\#271497](#271497) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[DPD pickup project (for France relays)](/forum/28-shipping-methods/890599-dpd-pickup-project-for-france-relays#271497 "-- HikaShop version -- : 2.6.5 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : firefox 53.0.2 -- Error-message(debug-mod must be tuned on) -- : The order&#95;address&#95;id isn't overrided  Hello Hikashop team,  I' m developping a DPD's pickup plugin based on the custom fields model like modialrelay developped their own.  In my case, at the end of the checkout I test if the address id exists or not. If this address exists in the address table I set the user address&#95;shipping&#95; id with the existant id of my DPD's pickup like this : $app-&gt;setUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id', $this-&gt;addressExist($user&#95;id, $address&#95;type)); if not I insert a new address and set this new &quot;address&#95;shipping&#95;id&quot;. That part of code works well. But when I finish the order, this is not this &quot;address&#95;id&quot; which appear in the order table. My plug in have to override this &quot;address&#95;shipping&#95;id&quot; by the pickup address&#95;id selectedby the user at the checkout.  I need to know which datas with, the insertion is done in hikashop order table.  Is this send by a form with POST ot GET method to the next step ? How this value is stored while the checkout isn't finalized ? How could I be able to modifiy this ?  My plugin should be deal this address before the finalization of the order, and not override the shippment&#95;address&#95;id using any trigger afterOrder ...  What I imagine to do is : send the value of the address&#95;shipping&#95;id from method getUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id') to the current order. But I don't know how to do, even if it's possible or not.")*

Hello,

I'm sorry but it won't be possible to continue using telephone or else.
Support and communication is exclusively via the forum and by email.
Afterwards, French is not a problem for us.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODkwNTk5LWRwZC1waWNrdXAtcHJvamVjdC1mb3ItZnJhbmNlLXJlbGF5cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[skorweb](/forum/user/35005-skorweb "View skorweb's Profile")**
- [![skorweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35005-skorweb "View skorweb's Profile") Topic Author
- [ Offline](/forum/user/35005-skorweb)

Less More

- Posts: 12
- Thank you received: 0
-
-

9 years 5 months ago -  9 years 5 months ago [\#271655](#271655) by [skorweb](/forum/user/35005-skorweb "View skorweb's Profile")  Replied by *[skorweb](/forum/user/35005-skorweb "View skorweb's Profile")* on topic *[DPD pickup project (for France relays)](/forum/28-shipping-methods/890599-dpd-pickup-project-for-france-relays#271655 "-- HikaShop version -- : 2.6.5 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : firefox 53.0.2 -- Error-message(debug-mod must be tuned on) -- : The order&#95;address&#95;id isn't overrided  Hello Hikashop team,  I' m developping a DPD's pickup plugin based on the custom fields model like modialrelay developped their own.  In my case, at the end of the checkout I test if the address id exists or not. If this address exists in the address table I set the user address&#95;shipping&#95; id with the existant id of my DPD's pickup like this : $app-&gt;setUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id', $this-&gt;addressExist($user&#95;id, $address&#95;type)); if not I insert a new address and set this new &quot;address&#95;shipping&#95;id&quot;. That part of code works well. But when I finish the order, this is not this &quot;address&#95;id&quot; which appear in the order table. My plug in have to override this &quot;address&#95;shipping&#95;id&quot; by the pickup address&#95;id selectedby the user at the checkout.  I need to know which datas with, the insertion is done in hikashop order table.  Is this send by a form with POST ot GET method to the next step ? How this value is stored while the checkout isn't finalized ? How could I be able to modifiy this ?  My plugin should be deal this address before the finalization of the order, and not override the shippment&#95;address&#95;id using any trigger afterOrder ...  What I imagine to do is : send the value of the address&#95;shipping&#95;id from method getUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id') to the current order. But I don't know how to do, even if it's possible or not.")*

Bonjour,

Merci pour les conseils, j'ai changé la ligne :
$app-&gt;setUserState(HIKASHOP_COMPONENT.'.shipping_id', $this-&gt;addressExist($user_id, $address_type));
par
$app-&gt;setUserState(HIKASHOP_COMPONENT.'.shipping_id', $this-&gt;addressExist($user_id, $address_type));
$shipping_address = $app-&gt;getUserState(HIKASHOP_COMPONENT.'.shipping_id');

Et je retourne $shipping_address dans la fonction dans laquelle sont ces instructions, que j'utilise ensuite

Et ça fonctionne bien maintenant, j'arrive à insérer les données du point-relais dans les informations de livraison de la commande.
En revanche lorsque je clique sur facture dans le panneau de configuration d'une commande passée en point-relais, l'adresse de livraison ne s'affiche plus.

Note : Cette adresse de livraison n'est plus présente dans le mail de confirmation de commande non plus.

J'ai remarqué que dans la table "order", lors de l'insertion en base de donnée dans la colonne "order_shipping_id" il insère la valeur 0.
Comment pourrais-je insérer la même valeur que dans la colonne "order_shipping_address_id" ?

Est-ce que hikashop mets à disposition une documentation technique pour développeur plus précise que celle de la page : [ ](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html)[ www.hikashop.com/support/documentation/6...r-documentation.html](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.htmlhttps://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html) ?

Une documentation pour utiliser les méthodes des classes du composant hikashop me permettrait peut-être de comprendre plus rapidement, le fonctionnement global d'hikashop ![;)](/media/kunena/emoticons/24.png ";)")

Last edit: 9 years 5 months ago by [skorweb](/forum/user/35005-skorweb "View skorweb's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODkwNTk5LWRwZC1waWNrdXAtcHJvamVjdC1mb3ItZnJhbmNlLXJlbGF5cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86556
- Thank you received: 14304
-
-

9 years 5 months ago [\#271663](#271663) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[DPD pickup project (for France relays)](/forum/28-shipping-methods/890599-dpd-pickup-project-for-france-relays#271663 "-- HikaShop version -- : 2.6.5 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : firefox 53.0.2 -- Error-message(debug-mod must be tuned on) -- : The order&#95;address&#95;id isn't overrided  Hello Hikashop team,  I' m developping a DPD's pickup plugin based on the custom fields model like modialrelay developped their own.  In my case, at the end of the checkout I test if the address id exists or not. If this address exists in the address table I set the user address&#95;shipping&#95; id with the existant id of my DPD's pickup like this : $app-&gt;setUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id', $this-&gt;addressExist($user&#95;id, $address&#95;type)); if not I insert a new address and set this new &quot;address&#95;shipping&#95;id&quot;. That part of code works well. But when I finish the order, this is not this &quot;address&#95;id&quot; which appear in the order table. My plug in have to override this &quot;address&#95;shipping&#95;id&quot; by the pickup address&#95;id selectedby the user at the checkout.  I need to know which datas with, the insertion is done in hikashop order table.  Is this send by a form with POST ot GET method to the next step ? How this value is stored while the checkout isn't finalized ? How could I be able to modifiy this ?  My plugin should be deal this address before the finalization of the order, and not override the shippment&#95;address&#95;id using any trigger afterOrder ...  What I imagine to do is : send the value of the address&#95;shipping&#95;id from method getUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id') to the current order. But I don't know how to do, even if it's possible or not.")*

Bonjour,

Attention, order_shipping_id contient l'id de la méthode de livraison, alors que order_shipping_address_id contient l'id de l'adresse de livraison.
Mettre la même valeur dans ces deux colonnes n'a donc pas de sens.

Si order_shipping_id est à 0, cela indique qu'il n'y a pas de livraison. Dans ce cas, l'adresse de livraison n'est pas affichée.

Tout ceci est surement du au fait que vous utilisiez des variables pour une autre destination que celle prévu à la base.

Il n'y a pas de documentation plus précise que celle-ci. Maintenant, nous seront ravi de répondre à vos questions.
Aussi, les plugins existants sont également de bonnes sources d'inspiration.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODkwNTk5LWRwZC1waWNrdXAtcHJvamVjdC1mb3ItZnJhbmNlLXJlbGF5cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")**
- [![pulsarinformatique's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")
- [ Offline](/forum/user/4583-pulsarinformatique)

Less More

- Posts: 202
- Thank you received: 3
-
- [](https://www.pulsar-informatique.com/)
-

9 years 1 month ago [\#280025](#280025) by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")  Replied by *[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")* on topic *[DPD pickup project (for France relays)](/forum/28-shipping-methods/890599-dpd-pickup-project-for-france-relays#280025 "-- HikaShop version -- : 2.6.5 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : firefox 53.0.2 -- Error-message(debug-mod must be tuned on) -- : The order&#95;address&#95;id isn't overrided  Hello Hikashop team,  I' m developping a DPD's pickup plugin based on the custom fields model like modialrelay developped their own.  In my case, at the end of the checkout I test if the address id exists or not. If this address exists in the address table I set the user address&#95;shipping&#95; id with the existant id of my DPD's pickup like this : $app-&gt;setUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id', $this-&gt;addressExist($user&#95;id, $address&#95;type)); if not I insert a new address and set this new &quot;address&#95;shipping&#95;id&quot;. That part of code works well. But when I finish the order, this is not this &quot;address&#95;id&quot; which appear in the order table. My plug in have to override this &quot;address&#95;shipping&#95;id&quot; by the pickup address&#95;id selectedby the user at the checkout.  I need to know which datas with, the insertion is done in hikashop order table.  Is this send by a form with POST ot GET method to the next step ? How this value is stored while the checkout isn't finalized ? How could I be able to modifiy this ?  My plugin should be deal this address before the finalization of the order, and not override the shippment&#95;address&#95;id using any trigger afterOrder ...  What I imagine to do is : send the value of the address&#95;shipping&#95;id from method getUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id') to the current order. But I don't know how to do, even if it's possible or not.")*

Bonjour

ce plugin pour DPD est il aujourd'hui fonctionnel et achetable ?

merci

cyril

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODkwNTk5LWRwZC1waWNrdXAtcHJvamVjdC1mb3ItZnJhbmNlLXJlbGF5cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[skorweb](/forum/user/35005-skorweb "View skorweb's Profile")**
- [![skorweb's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35005-skorweb "View skorweb's Profile") Topic Author
- [ Offline](/forum/user/35005-skorweb)

Less More

- Posts: 12
- Thank you received: 0
-
-

9 years 1 month ago [\#280045](#280045) by [skorweb](/forum/user/35005-skorweb "View skorweb's Profile")  Replied by *[skorweb](/forum/user/35005-skorweb "View skorweb's Profile")* on topic *[DPD pickup project (for France relays)](/forum/28-shipping-methods/890599-dpd-pickup-project-for-france-relays#280045 "-- HikaShop version -- : 2.6.5 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : firefox 53.0.2 -- Error-message(debug-mod must be tuned on) -- : The order&#95;address&#95;id isn't overrided  Hello Hikashop team,  I' m developping a DPD's pickup plugin based on the custom fields model like modialrelay developped their own.  In my case, at the end of the checkout I test if the address id exists or not. If this address exists in the address table I set the user address&#95;shipping&#95; id with the existant id of my DPD's pickup like this : $app-&gt;setUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id', $this-&gt;addressExist($user&#95;id, $address&#95;type)); if not I insert a new address and set this new &quot;address&#95;shipping&#95;id&quot;. That part of code works well. But when I finish the order, this is not this &quot;address&#95;id&quot; which appear in the order table. My plug in have to override this &quot;address&#95;shipping&#95;id&quot; by the pickup address&#95;id selectedby the user at the checkout.  I need to know which datas with, the insertion is done in hikashop order table.  Is this send by a form with POST ot GET method to the next step ? How this value is stored while the checkout isn't finalized ? How could I be able to modifiy this ?  My plugin should be deal this address before the finalization of the order, and not override the shippment&#95;address&#95;id using any trigger afterOrder ...  What I imagine to do is : send the value of the address&#95;shipping&#95;id from method getUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id') to the current order. But I don't know how to do, even if it's possible or not.")*

Bonjour,

Oui notre Plugin DPD est opérationnel et en production depuis le mois de Juillet 2017. Nous l'avons intégrer avec une version pour Hikashop 2.6 et une autre en Hikashop 3 ! Nous proposons différente formule avec prestations d'intégration et / ou maintenance du module en fonction des évolutions Joomla / Hikashop.

Merci de prendre contact en MP si vous êtes intéressé par ce type de prestation.

Bonne journée,

Damien.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODkwNTk5LWRwZC1waWNrdXAtcHJvamVjdC1mb3ItZnJhbmNlLXJlbGF5cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")**
- [![pulsarinformatique's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")
- [ Offline](/forum/user/4583-pulsarinformatique)

Less More

- Posts: 202
- Thank you received: 3
-
- [](https://www.pulsar-informatique.com/)
-

9 years 3 weeks ago [\#280930](#280930) by [pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")  Replied by *[pulsarinformatique](/forum/user/4583-pulsarinformatique "View pulsarinformatique's Profile")* on topic *[DPD pickup project (for France relays)](/forum/28-shipping-methods/890599-dpd-pickup-project-for-france-relays#280930 "-- HikaShop version -- : 2.6.5 -- Joomla version -- : 3.7.2 -- PHP version -- : 7.0 -- Browser(s) name and version -- : firefox 53.0.2 -- Error-message(debug-mod must be tuned on) -- : The order&#95;address&#95;id isn't overrided  Hello Hikashop team,  I' m developping a DPD's pickup plugin based on the custom fields model like modialrelay developped their own.  In my case, at the end of the checkout I test if the address id exists or not. If this address exists in the address table I set the user address&#95;shipping&#95; id with the existant id of my DPD's pickup like this : $app-&gt;setUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id', $this-&gt;addressExist($user&#95;id, $address&#95;type)); if not I insert a new address and set this new &quot;address&#95;shipping&#95;id&quot;. That part of code works well. But when I finish the order, this is not this &quot;address&#95;id&quot; which appear in the order table. My plug in have to override this &quot;address&#95;shipping&#95;id&quot; by the pickup address&#95;id selectedby the user at the checkout.  I need to know which datas with, the insertion is done in hikashop order table.  Is this send by a form with POST ot GET method to the next step ? How this value is stored while the checkout isn't finalized ? How could I be able to modifiy this ?  My plugin should be deal this address before the finalization of the order, and not override the shippment&#95;address&#95;id using any trigger afterOrder ...  What I imagine to do is : send the value of the address&#95;shipping&#95;id from method getUserState(HIKASHOP&#95;COMPONENT.'.shipping&#95;id') to the current order. But I don't know how to do, even if it's possible or not.")*

bonjour

nous attendons toujours ta reponse à ma question en MP sur le sujet stp
merci
cyril

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI4LXNoaXBwaW5nLW1ldGhvZHMvODkwNTk5LWRwZC1waWNrdXAtcHJvamVjdC1mb3ItZnJhbmNlLXJlbGF5cz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.078 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
