If you think you found a bug, please create a ticket in the bug tracker.
If you take code quality seriously, try out the new continuous inspection service.
Install with composer:
composer require jms/payment-core-bundle
The configuration is as simple as setting an encryption key which will be used for encrypting data. You can generate a random key with the following command:
And then use it in your configuration:
secret or the
crypto provider, all encrypted data will become unreadable.
This bundle requires a few database tables, which you can create as follows.
If you?re not using database migrations:
Or, if you?re using migrations:
It?s assumed you have entity auto mapping enabled, which is usually the case. If you don?t, you need to either enable it:
Or explicitly register the configuration from this bundle:
In addition to setting up this bundle, you will also need to install a plugin for each payment backend you intend to support. Plugins are simply bundles you add to your application, as you would with any other Symfony bundle.
Using the Paypal plugin as an example, you would install it with composer:
composer require jms/payment-paypal-bundle
And configure it:
username: your api username
password: your api password
signature: your api signature