artfulrobot / uk.artfulrobot.civicrm.gocardless

A CiviCRM extension providing GoCardless integration to handle UK Direct Debits.
GNU Affero General Public License v3.0
5 stars 18 forks source link

vendor/autoload.php not loading #14

Closed Upperholme closed 7 years ago

Upperholme commented 7 years ago

when I try a transaction I'm just getting a white screen after the confirmation page, and in the logs I'm seeing that vendor/autoload.php isn't available, which then leads to a fatal error. Should Composer be pulling in this file? I've installed Composer in the extension directory according to the README file, so I'd sort of assumed that at some point it would download the GoCardlessPro PHP library?

Upperholme commented 7 years ago

OK. found the GoCardlessPro repo at https://github.com/gocardless/gocardless-pro-php and followed the instruction there to run the command: php composer.phar require gocardless/gocardless-pro That looks to have installed the GC library and associated stuff.

Onwards and upwards.

artfulrobot commented 7 years ago

I think it's the composer install part you might have been missing, after installing composer itself. Wll you did by the composer require command would have been to (possibly) alter the existing composer.lock file and then run composer install.

I've updated the README a bit, but when it's ready I'll use the Releases thing to make a downloadable zip file that includes all these and does not require the composer step. Then people will, once it's registered, be able to download from the CiviCRM extensions dir.