Skip to content

Plugin checkout solution for OXID

License

OSL-3.0, AFL-3.0 licenses found

Licenses found

OSL-3.0
LICENSE.txt
AFL-3.0
LICENSE_AFL.txt
Notifications You must be signed in to change notification settings

mondu-ai/bnpl-checkout-oxid

Repository files navigation

OXID eShop module for Mondu Payment

Installation

Manual installation
  1. Switch to the shop modules directory (<shop_directory>/source/modules)

  2. Create mondu/bnpl-checkout-oxid directory inside modules directory

  3. Download the latest plugin release zip file from Releases

  4. Copy unzipped content to <shop_directory>/source/modules/mondu/bnpl-checkout-oxid

    NOTE: After this step, you should be able to see all module code inside of this directory

  5. Navigate back to root directory of shop (shop_directory)

  6. Install module configuration using following command

vendor/bin/oe-console oe:module:install-configuration source/modules/mondu/bnpl-checkout-oxid
  1. Register module package in project composer.json (in root directory of shop)
composer config repositories.mondu/bnpl-checkout-oxid path source/modules/mondu/bnpl-checkout-oxid

composer require mondu/bnpl-checkout-oxid

Module configuration

  1. After successful installation, Mondu BNPL module should be visible in admin dashboard (Admin Dashboard -> Extensions -> Modules)

  2. Navigate to Mondu module

  3. In module overview tab, activate Mondu module.

    NOTE: Page in shop page/checkout/order.tpl should have smarty block checkout_order_btn_confirm_bottom that wraps up submission form with id orderConfirmAgbBottom. Module uses this block in order to load Mondu widget, that is responsible for order creation on Mondu side. Widget will be opened on orderConfirmAgbBottom form submit event.

    NOTE: On module activation, three new payment methods (Mondu Invoice, Mondu SEPA and Mondu Installment) are added and activated

  4. Navigate to Mondu module settings page (Extensions -> Modules -> Mondu -> Settings tab)

    1. Enter API key provided by Mondu
    2. Check 'Sandbox mode' checkbox for testing in sandbox environment
    3. Activate Mondu logging (if you want to allow logging of all errors to oemondu.log file, located inside your log directory)
  1. Save settings

    NOTE: In case any issues happen during module configuration, a proper error message will be shown.

  2. Assign desired countries to Mondu Payment methods (Admin Dashboard -> Shop Settings -> Payment Methods -> <desired Mondu payment method> -> Country -> Assign Countries)

NOTE: In case no country is assigned to payment method, it will not be visible in checkout flow

  1. Assign desired payment methods to Shop shipping methods (Admin Dashboard -> Shop Settings -> Shipping Methods -> <desired shipping method> -> Payment -> Assign Payment Methods)

NOTE: In case payment method is not assigned to any shipping method, it will not be visible in checkout flow