CrefoPay - Integration into a Project

This article provides step-by-step instructions on integrating the CrefoPay system into your project.

Prerequisites

Prior to integrating CrefoPay into your project, make sure you installed and configured the CrefoPay module.

Integrating CrefoPay into Your Project

To integrate CrefoPay, do the following:

  1. Add shipment step plugin, payment subform plugins and payment method handlers:
  2. Extend ShipmentStep to add payment methods filtering logic:

  3. Extend StepFactory for the project-level ShipmentStep usage:

  4. Extend CheckoutPageFactory for the project-level StepFactory usage:

  5. Extend checkout page layout to add jQuery:

  6. Extend payment twig to add CrefoPay payment methods:

  7. Add controller provider:

  8. Add checkout plugins:

  9. Add OMS commands and conditions:

  10. Extend PaymentDependencyProvider to add payment method filter plugin:

That's it. Now CrefoPay is integrated into your project.

 

Last review date: Jul 17, 2019