********************************************************************************************
*  module "Unzer" for Prestashop version 1.7                                           *
*  version 1.2.0 (2021-06-22)                                                              *
*  (C) D³ Data Development                                                                 *
********************************************************************************************
*  For questions, critics or problems, please feel free to contact us:                     *
*                                                                                          *
*  D³ Data Development                                                                     *
*  Herr Thomas Dartsch                                                                     *
*  Stollberger Straße 23                                                                   *
*  09380, Thalheim                                                                         *
*  Germany                                                                                 *
*  https://unzer-presta.shopmodule.com/                                                *
*  Support: support@shopmodule.com                                                         *
********************************************************************************************

requirements:
    - PrestaShop version 1.7.5.0 or higher
    - Unzer distributor contract

notice:
- the default settings (sender-id, login, password) in the module are testdata from Unzer. They only work in inactive [Live-Mode]
- to use push notification for prepayment, you have to tell Unzer the notify URL. This url may differ from shop to
  shop. for example: www.shop.de/module/heidelpay/notify oder auch www.shop.de/en/module/heidelpay/notify

installation
1.
1.  method a) copy the folder /heidelpay/ into {ShopRootFolder}/modules/
    method b) login into admin-panel [Modules] -> [Module Manager] -> [upload a module] and drag the module zip package into the pop-up window
2. login into admin-panel and search in [Modules and Services] the term "Unzer"
3. click on [install]
4. activate the module via [active] switch and click on [save]

configuration
1. login into admin-panel, search in [Payment] -> [Payments] the term "Unzer" and click on [settings]
2. Enter [Sender-ID], [Login] and [Password]. You get those from Unzer.
3. De/activate the payment methods as needed and set the [Channel's]. You get those from Unzer.
4. set the [Transfertype] per payment method:
   - "Betrag nur reservieren": means "pre-authorisation": the ordered value will be reserved and you have to debit afterwards (via HIP)
   - "Betrag sofort buchen": means "debit": the ordered value will be directly debited
5. click on [save]

Check the installation
1. Open the frontend, fill the basket and go to payment step.
2. You should see now your activated payment methods
3. With a click on a Unzer payment method, you will be redirected to the payment provider (sofortueberweisung) or a shop internal form is opened.
