Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

General description

The IDS-Connect interface of the company ITEK makes it possible to transfer shopping carts bidirectionally between the software systems of the craftsmen and the online store systems.

the interface automatically logs the craftsman into the online store. The craftsman can then compile his goods in the store and transfer them back to his system, for example, to create an offer. After the craftsman's customer has accepted the offer, the order for the selected goods in the online store can be triggered directly from the craftsman software. The order data is then transferred back to the craftsman's system.

A craftsman can

  • view products in the store in his system
    (Craftsman → Shop)

  • create offers in his system for his customers from the store
    (Shopping cart: Shop → Craftsman)

  • execute orders in the store from his system
    (shopping cart: craftsman → store)

Flowchart

Interface functions

The following functions are implemented by the store:

  • Automatic login to the store

  • Deep link to the product

  • Store sends shopping cart to craftsman

  • Craftsman sends shopping cart to the store

Automatic login in the store

The craftsman system adds the craftsman's store login data (e-mail address or customer number and password) in the store call. The craftsman is then automatically logged into the store.

The prerequisite is that the craftsman already has his own customer account in the online store and the store is called up via SSL (https://...), otherwise the login is rejected by the store.

Example store call with e-mail address

https://www.shopdomain.de/?name_kunde=<E-Mail>&pw_kunde=<Passwort>

Example store call with customer number

https://www.shopdomain.de/?kndnr=<Kundennummer>&pw_kunde=<Passwort>

Example store call with e-mail address and customer number

https://www.shopdomain.de/?name_kunde=<E-Mail>&kndnr=<Kundennummer>&pw_kunde=<Passwort>

Article deep link to a product

The craftsman system links to a product in the store. The login data can be transferred as well.

Example store call with action parameter ADL and product number

https://www.shopdomain.de/?name_kunde=<E-Mail>&pw_kunde=<Passwort>&action=ADL&ghnummer=<Produktnummer>

Store sends shopping cart to the craftsman system

The craftsman system calls the store (in addition to the parameters for automatic login) with the action parameter and the value WKE (shopping cart received) and with the hookurl parameter.

Example store call with action parameter WKE and hook-URL

https://www.shopdomain.de/?name_kunde=<E-Mail>&pw_kunde=<Passwort>&action=WKE&hookurl=<Hook-URL>

In the store, the craftsman selects one or more products and adds them to his shopping cart. In the checkout process, the craftsperson can specify a different delivery address if necessary and select the payment and shipping method.

On the order overview page (ws_place_order.htm), another button "Send shopping cart to craftsman system via IDS" is offered next to the "Order subject to payment" button. When you click on this button, the shopping cart is sent to the craftsman system via the HOOK URL previously transferred in the store call-up URL.

The following data is sent via POST from the store to the hook URL:

<?xml version="1.0" encoding="ISO-8859-1"?>
<Warenkorb xmlns="http://www.itek.de/Shop-Anbindung/Warenkorb/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.itek.de/Shop-Anbindung/Warenkorb/
  http://www.itek.de/Shop-Anbindung/Warenkorb/warenkorb_empfangen.xsd" ... >
  <WarenkorbInfo>
    <Date>2009-10-29</Date>                         <!-- Datum -->
    <Time>17:00:29</Time>                           <!-- Uhrzeit -->
    <Version>2.3</Version>                          <!-- Unterstützte IDS-Version -->           
  </WarenkorbInfo>
  <Order>
    <OrderInfo>
      <ModeOfShipment>Lieferung</ModeOfShipment>    <!-- Lieferung oder Abholung, abhängig von der gewählten Zustellung im Checkout-->
      <Cur>EUR</Cur>                                <!-- Währung -->
    </OrderInfo>
    <SupplierInfo>                                  <!-- Adressdaten vom Shopbeteiber -->
      <Address>
        <Name1>Firma & Co. KG</Name1>               <!-- Firma -->
        <Street>Musterweg 6</Street>                <!-- Strasse und Hausnummer -->
        <PCode>58706</PCode>                        <!-- PLZ -->
        <City>Menden</City>                         <!-- Ort -->
        <Country>Deutschland</Country>              <!-- Land -->
        <Phone>(0049) 02373-9296-0</Phone>          <!-- Telefon -->                           
        <Email>info@shopdomain.de</Email>           <!-- E-Mail -->
      </Address>
    </SupplierInfo>
    <CustomerInfo>                                  <!-- Rechnungsadresse -->
      <IDNo>12345</IDNo>                            <!-- Kundennummer -->
    </CustomerInfo>
    <DeliveryPlaceInfo>                             <!-- Lieferadresse, falls abweichend von der Rechnungsadresse -->
      <Address>
        <Name1>Musterfirma GmbH</Name1>             <!-- Firma -->
        <Name2></Name2>                             <!-- Firmenzusatz 1 -->
        <Name3></Name3>                             <!-- Firmenzusatz 2 -->
        <Street>Musterstrasse 1</Street>            <!-- Strasse mit Hausnummer -->
        <PCode>12345</PCode>                        <!-- PLZ -->
        <City>Musterhausen</City>                   <!-- Ort -->
        <Country>Deutschland</Country>              <!-- Land -->
      </Address>
    </DeliveryPlaceInfo>
    <OrderItem>                                     <!-- Warenkorbposition -->
      <EAN>1234567890128</EAN>                      <!-- EAN, falls vorhanden -->
      <ArtNo>4711</ArtNo>                           <!-- Produktnummer -->
      <Qty>5</Qty>                                  <!-- Bestellmenge als Integer -->
      <QU>PCE</QU>                                  <!-- Mengeneinheit, ist immer Stück "PCE" -->
      <Kurztext>...</Kurztext>                      <!-- Produktname -->
      <Langtext>...</Langtext>                      <!-- Produktbeschreibung (max. 1000 Zeichen) -->
      <OfferPrice>119.00</OfferPrice>               <!-- Brutto-Preis, bezogen auf die Bestellmenge -->
      <NetPrice>100.00</NetPrice>                   <!-- Netto-Preis, bezogen auf die Bestellmenge -->
      <PriceBasis>5</PriceBasis>                    <!-- Preis-Basis, bezogen auf die Bestellmenge -->
      <VAT>19.00</VAT>                              <!-- MwSt -->
    </OrderItem>
    <OrderItem>                                     <!-- Nächste Warenkorbposition -->
      ...                                                       
    </OrderItem>
    <OrderItem>                                     <!-- Nächste Warenkorbposition -->
      ...                                                       
    </OrderItem>
    ...
  </Order>
</Warenkorb>

Craftsman system sends shopping cart to the store

A shopping cart stored in the craftsman system can be sent to the online store via POST and thus trigger an order.

Example store call with action parameter WKS, hook URL and the shopping cart data

https://www.shopdomain.de/?name_kunde=<E-Mail>&pw_kunde=<Passwort>&action=WKS&hookurl=<Hook-URL>&warenkorb=<XML-Warenkorbdaten>

The hookurl parameter must be sent in any case, because only then a retransmission is possible.

The following XML shopping cart data is processed by the store:

<?xml version="1.0" encoding="UTF-8"?>
<Warenkorb xmlns="http://www.itek.de/Shop-Anbindung/Warenkorb/"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://www.itek.de/Shop-Anbindung/Warenkorb/ 
  http://www.itek.de/Shop-Anbindung/Warenkorb/warenkorb_senden.xsd" ... >
  <Order>
    <OrderItem>                 <!-- Warenkorbposition -->
      <ArtNo>471211</ArtNo>     <!-- Produktnummer -->
      <Qty>1</Qty>              <!-- Bestellmenge, als Integer -->
    </OrderItem>
    <OrderItem>                 <!-- Nächste Warenkorbposition -->
      ...
    </OrderItem>
    <OrderItem>                 <!-- Nächste Warenkorbposition -->
      ...
    </OrderItem>
    ...
  </Order>
</Warenkorb>

  • No labels