dsjgk330337 2016-01-25 09:38
浏览 48
已采纳

Symfony2 / Sylius不检测stripe / stripe-php库

I'm using Symfony 2.8 with Sylius 0.16.0-dev and despite of installing stripe-php library via composer composer require stripe/stripe-php this part of code throw an exception

if (!class_exists('Stripe')) {
            throw new \LogicException('You must install "stripe/stripe-php" library.');
}

Could you explain me why?

  • 写回答

2条回答 默认 最新

  • doyrte8419 2016-01-25 11:53
    关注

    As requested..

    If you are using version 1.1.4 of Payum there aren't a lot of changes since then to the master (https://github.com/Payum/Payum/compare/1.1.4...master). You could use the master version in place of the actual one "payum/payum": "dev-master as 1.1.4" until the latest version is released.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?