Silverstripe-swipestrice签出错误

Silverstripe-swipestrice签出错误,silverstripe,swipestripe,Silverstripe,Swipestripe,我正在运行一个安装了swipestripe的本地silverstripe实例。我按照手动安装SwipestFound,但每次尝试转到签出时都会收到此错误。我已按照指示安装支票付款方法 [User Error] Method Cheque not defined in factory GET /checkout/ Line 50 in /Users/username/Sites/silverstripe/payment/code/PaymentProcessor.php Source 41

我正在运行一个安装了swipestripe的本地silverstripe实例。我按照手动安装SwipestFound,但每次尝试转到签出时都会收到此错误。我已按照指示安装支票付款方法

[User Error] Method Cheque not defined in factory
GET /checkout/
Line 50 in /Users/username/Sites/silverstripe/payment/code/PaymentProcessor.php

Source

41   * @return array
42   */
43  public static function get_supported_methods() {
44      $methodConfig = Config::inst()->get('PaymentProcessor', 'supported_methods');
45      $environment = PaymentGateway::get_environment();
46 
47      // Check if all methods are defined in factory
48      foreach ($methodConfig[$environment] as $method) {
49          if (! PaymentFactory::get_factory_config($method)) {
50              user_error("Method $method not defined in factory", E_USER_ERROR);
51          }
52      }
53      return $methodConfig[$environment];
54  }
55 
56  /**

我已经按照说明在Mysite.yaml中放置了正确的代码,但找不到纠正方法。非常感谢您的帮助:)

工厂尝试构建与支付相关的类。已经用json更新了您的composer

composer require frankmullenger/payment-cheque:dev-master
在壳上?或者从下载zip文件并将其解压缩到名为“付款支票”的文件夹中


我假设您更新了配置,然后运行/dev/build。如果您

您好,我是手动安装的,所以我没有使用composer。我更新了配置并运行了/dev/build谢谢我尝试了您建议的付款支票模块,它100%工作。安装页面上建议的版本一定有问题。谢谢