Installing PostFinance Module for OXID 6


#1

Hi guys,

I need to download, install and configure the ‘Post Finance Modul’ into OXID 6.
So, I found this repository:

But I faced problems while installing the module.
Tried these ways:

  1. Download as an archive, extract into the shop root directory and try with composer autoload:
  • composer require pfc/PostFinanceCheckout
  • composer require postfinancecheckout/oxid-6.0
  1. Without downloading the archicve, direclty executing composer require command into the root and source directories:
  • composer require pfc/PostFinanceCheckout
  • composer require postfinancecheckout/oxid-6.0

When I am executing composer require command, I am getting following error:

[InvalidArgumentException]
Could not find package postfinancecheckout/oxid-6.0 at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability

[InvalidArgumentException]
Could not find package pfc/PostFinanceCheckout at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability
Or when I am trying to unpack the archive into the root directory, the whole shop crashed.

Anyone who installed this module from this repository successfully to share his expirience?

Thank you very much in advance.


#2

Their installation manual seems to be outdated.
You need to add their git repository to your composer.json file, like described here: https://getcomposer.org/doc/articles/handling-private-packages-with-satis.md

Then composer should be able to find the package


#3

Thanks for your suggestion.
I installed the module successfully with adding this line into the composer.json file:

"repositories": [
      {
        "type": "vcs",
        "url": "https://github.com/pfpayments/oxid-6.0"
    }
  ]

Thanks again!