schmittjoh/JMSPaymentPaypalBundle — Issue #18: How to install the PaymentBundle
Author: dermythos
Created: 2012-01-14 11:58:57+00:00
State: open

Hi everyone,

I'm really stuck here.

I tried to install the PayPalBundle+CoreBundle.

What I've done right now:

Add lines to my Deps file:
[PaymentCore]
git=https://github.com/schmittjoh/JMSPaymentCoreBundle.git
target=/bundles/JMS/Payment/CoreBundle

[PayPalPayment]
git=https://github.com/schmittjoh/JMSPaymentCoreBundle.git
target=/bundles/JMS/Payment/PaypalBundle

Installed them via: php bin/vendors install

Added both to my AppKernel:
new JMS\Payment\CoreBundle\JMSPaymentCoreBundle(),
new JMS\Payment\PaypalBundle\JMSPaymentCoreBundle(),

Now I get the following Exception:
Fatal error: require(): Cannot redeclare class jms\payment\corebundle\jmspaymentcorebundle in /home/robin/Symfony/vendor/symfony/src/Symfony/Component/ClassLoader/DebugUniversalClassLoader.php on line 55

So I thought, perhaps I just need to declare the PayPalBundle but then I get the following Exception:
RuntimeException: The autoloader expected class "JMS\Payment\PaypalBundle\JMSPaymentCoreBundle" to be defined in file "/home/robin/Symfony/app/../vendor/bundles/JMS/Payment/PaypalBundle/JMSPaymentCoreBundle.php". The file was found but the class was not in it, the class name or namespace probably has a typo.

You guys see any mistakes on my side? How to get the Bundles work?

Best regards Robin