linwor/fortis-pay-common

Fortis Pay common classes for modules

v1.0.3 2024-07-16 08:08 UTC

This package is auto-updated.

Last update: 2024-09-16 08:26:18 UTC


README

This is the common library interface to the Fortis Pay API for PHP projects.

FortisApi.php

This is the actual interface to the Fortis Pay API, and is common across all frameworks.

FortisFrameworkApi.php

This is an example of a framework specific (here, the CS Cart framework) that needs to be adapted for any particular framework.

This file should be copied to the src directory at the same level as the vendor directory, amended as required for the framework and included in the repository for the framework. If amended in the vendor directory it will be over-written by subsequent composer installs.

Directory structure

The resulting directory structure for a framework specific Fortis Pay plugin should then look like this:

fortis-plugin
    src
        FortisFrameworkApi.php
    vendor
        composer
        fortispay
            fortis-pay-common
                examples
                    FortisFrameworkApi.php
                src
                    FortisApi.php
            composer.json
            README.md
    composer.json