phpcommerce/payment-null

PHPCommerce Null Payment

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

This package is not auto-updated.

Last update: 2024-11-09 18:53:57 UTC


README

This bundle registers a "Null Payment Gateway" configuration in PHPCommerce's PaymentGatewayConfigurationServiceProvider.

The null payment gateway can be used for testing purposes. It will just accept any Payment and mark is as valid without

doing anything else.

Usage

Just include it in your AppKernel for your dev/test environment:

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