Open a command console, enter your project directory and execute:
$ composer require checkout/payment_sdk_bundle
Step 1: Download the Bundle
Step 1: Download the Bundle
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the ``app/AppKernel.php`` file of your project:
.. code-block:: php
<?php
// app/AppKernel.php
// ...
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
// ...
new Checkout\Bundle\PaymentBundle\CheckoutPaymentBundle(),
);
// ...
}
// ...
}
Step 2: Enable the Bundle
Step 3 : Configurations:
Add these in parameters.yml
checkout_sdk_env: sandbox
# checkout_sdk_env: live