phpcommerce/payment-null

PHPCommerce Null Payment

dev-master 2015-06-15 14:03 UTC

This package is not auto-updated.

Last update: 2024-09-14 18:14:55 UTC


README

此捆绑包在PHPCommerce的PaymentGatewayConfigurationServiceProvider中注册了一个“空支付网关”配置。

空支付网关可用于测试目的。它将接受任何支付并标记为有效,而不会做其他任何事情。

用法

只需将其包含在您的AppKernel中,用于开发/测试环境

    public function registerBundles() {
        // ...
            $bundles[] = new PHPCommerce\NullPaymentBundle\PHPCommerceNullPaymentBundle();
    }